Advertisement
Demonicskyers

Ukończone questy

Jul 13th, 2013
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 4.34 KB | None | 0 0
  1. #==============================================================================
  2. # ** Game_Quest2
  3. #------------------------------------------------------------------------------
  4. #  This class handles all the data for the  quests.  If you want to add a new
  5. #  set of quests, it is entered here.  To add another list, you need to add
  6. #  a different class name, such as Game_Quest2/3/4/5/6/etc...
  7. #==============================================================================
  8.  
  9. class Game_Quest2
  10.   #--------------------------------------------------------------------------
  11.   # * Public Instance Variables
  12.   #--------------------------------------------------------------------------
  13.   attr_accessor :name,  :useoutlines,   :backpicture,
  14.                 :goals, :incompoutline, :incomptext,  :compoutline,   :comptext,    
  15.                 :desc,  :descoutline,   :desctext,    :menuoutline,   :menutext
  16.   #--------------------------------------------------------------------------
  17.   # * Object Initialization
  18.   #--------------------------------------------------------------------------
  19.   def initialize
  20.     @name, @desc, @goals = [], [], []
  21.     for i in 0...JABERWOCKY::Quest_Max
  22.       @desc[i], @goals[i]     = [], []
  23.     end
  24.    
  25.     #------------------------------------------------------------------------
  26.     # * Editables:
  27.     #------------------------------------------------------------------------
  28.  
  29.     # Quest Menu Background Picture
  30.     # Stored in the Graphics/Pictures folder.
  31.       @backpicture = "skonczone"
  32.  
  33.     # Outline On/Off Switch ((set to false if you don't want outlines
  34.       @useoutlines    = true
  35.      
  36.      
  37.     #-------------------------------------------------------------------------
  38.     # Text Color Settings (outline color and interior/regular text color)  
  39.     # - Command Menu settings:
  40.       @menuoutline    = Color.new(0, 0, 0, 255)
  41.       @menutext       = Color.new(255, 255, 255, 255)
  42.     # - Description settings:
  43.       @descoutline    = Color.new (0, 0, 0, 255)
  44.       @desctext       = Color.new (255, 255, 255, 255)
  45.     # - Incomplete goal settings:
  46.       @incompoutline  = Color.new(0, 0, 0, 255)
  47.       @incomptext     = Color.new(255, 0, 0, 255)
  48.     # - Completed goal settings:
  49.       @compoutline    = Color.new(0, 0, 0, 255)
  50.       @comptext       = Color.new(0, 255, 0, 255)
  51.    
  52.      
  53.     #-------------------------------------------------------------------------
  54.     # Empty Quest Data
  55.     # - Text shown in the command and description window when there are
  56.     #   no quests to perform.
  57.     #   The format for your description text is as follows:
  58.     #   @desc[quest#] = ["line 1", "line 2", "line 3", "etc..."]
  59.     @name[0]  = "No Quests"
  60.     @desc[0]  = ["I have not completed any quests."]
  61.  
  62.    
  63.     #-------------------------------------------------------------------------
  64.     # Quest Data
  65.     # - Text shown for each quest:  The name, description and goals
  66.     #   The format for descriptions are as follows:
  67.     #   @desc[quest#] = ["line 1", "line 2", "line 3", "etc..."]
  68.     #   Note:  If you have too many lines of description you can run out of
  69.     #          room for goals to show
  70.     #   The format for @goals (if any) are the same as for descriptions.
  71.    
  72.     # QUEST #1
  73.     @name[1]  =  "Got some rest!"
  74.     @desc[1]  = ["Even with 2 years of training,",
  75.                  "I was unable to best Pengzoda...",
  76.                  "Why has he shown himself after all this time?",
  77.                  "What are these 'things at work' he spoke of?",
  78.                  "Why did he spare my life a second time?",
  79.                  "...Not that I'm complaining about that one...", " ",
  80.                  "These are questions for another time.",
  81.                  "Right now I need to make it back to my house",
  82.                  "and rest so I can recover from this injury."]
  83.     @goals[1] = ["-Make it back to your house",
  84.                  "-Rest so that your wound can recover"]
  85.                      
  86.     @name[2]  =  "Zbroja!"
  87.     @desc[2]  = ["Opis zadania"]
  88.     @goals[2] = ["-Pierwszy goal",
  89.                  "-Drugi goal"]
  90.                  
  91.      @name[3]  =  "Zbroja!"
  92.      @desc[3]  = ["Opis zadania"]
  93.     #------------------------------------------------------------------------
  94.     # * End of Editables
  95.     #------------------------------------------------------------------------
  96.    
  97.   end
  98. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement