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/bouncer.yaml

    r504 r570  
    2929             - "I'm looking for stuff to make beer with." 
    3030             - help_beer 
    31              - quest.hasQuest('beer') and not quest.hasFinishedQuest('beer') and quest['beer'].isGoalValue('beer_instructions') 
     31             - quest.hasActiveQuest('beer') and not quest.hasFinishedQuest('beer') and quest['beer'].isGoalValue('beer_instructions') 
    3232           - 
    3333             - "Do you know Jacob?" 
     
    6161             - "I'm looking for Pekko, you seen him?" 
    6262             - help_fedex 
    63              - quest.hasQuest('fedex') and not quest.hasFinishedQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko') 
     63             - quest.hasActiveQuest('fedex') and not quest.hasFinishedQuest('fedex') and not quest['fedex'].isGoalValue('found_pekko') 
    6464           - 
    6565             - "Hey, back off.  Just making small talk." 
Note: See TracChangeset for help on using the changeset viewer.