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/quests/beer.yaml

    r504 r570  
    1717    beer_quality: 
    1818        value: 0 
     19        reset_value: 0 
    1920        goal_value: 5 
    2021        # 0 = no beer, -1 = poison beer, >=1 quality of beer 
Note: See TracChangeset for help on using the changeset viewer.