Ignore:
Timestamp:
06/29/10 17:09:38 (9 years ago)
Author:
beliar
Message:

Patch by Beliar.

  • Quest files are now read in and parsed at the start of the game. and the Quests stored in the quests property of quest_engine. This allows quest variables to be set even when the quest is not active.
  • replaced addQuest with activateQuest which now only accepts the quest_id as a parameter.
  • Removed deleteQuest and added failQuest instead
  • Added a function to restart a quest, this will reset quest_variables that have a "reset_value" property to this value.
  • Modified Dialogue and Quest files to work with the changes
  • Added "QuestsDirectory?" setting to the settings file. Please delete your old settings.xml and let the game recreate it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/dialogue/leader.yaml

    r504 r570  
    4040              - "Have you seen Pekko around?" 
    4141              - pekko_missing 
    42               - quest.hasQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko') 
     42              - quest.hasActiveQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko') 
    4343            - 
    4444              - "Your brother is dead.  I think he was murdered." 
     
    137137              - "Tell me about your brother, Pekko." 
    138138              - explain_pekko 
    139               - quest.hasQuest('fedex') 
     139              - quest.hasActiveQuest('fedex') 
    140140            -  
    141141              - "Tell me about Jacob." 
     
    243243              - "Actually, I am trying to find your Brother, have you seen him?" 
    244244              - pekko_missing 
    245               - quest.hasQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko') 
     245              - quest.hasActiveQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko') 
    246246 
    247247     argue_migration: 
     
    300300              - "You do know he's missing, right?" 
    301301              - pekko_missing 
    302               - quest.hasQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko') 
     302              - quest.hasActiveQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko') 
    303303            - 
    304304              - "What if he's right about the weather?  That's it's getting worse?  You can't stay here." 
Note: See TracChangeset for help on using the changeset viewer.