Ignore:
Timestamp:
12/06/10 04:52:04 (9 years ago)
Author:
technomage
Message:

Patch by Technomage

  • Patched the dialogue files and renamed the (increase|decrease|set)_quest_value DialogueAction? keywords to (increase|decrease|set)_quest_variable. I updated the dialogueactions.py module a few patches ago, but forgot to update the dialogue files!
  • Fixed a bug in the YamlDialogueParser? class in the dialogueparsers.py module that prevented DialogueActions? with a single argument from being correctly parsed; the "keyword: argument" form for declaring DialogueActions? should now be correctly parsed.
File:
1 edited

Legend:

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

    r668 r683  
    3737           \ quest['beer'].isGoalValue('farmer_beer_convinced')" 
    3838        ACTIONS: 
    39         -   set_quest_value: &id001 
     39        -   set_quest_variable: &id001 
    4040                quest: beer 
    4141                value: 1 
     
    8282    -   REPLY: "Because Jacob is the only guy here grumpier than you!" 
    8383        ACTIONS: 
    84         -   set_quest_value: *id001 
     84        -   set_quest_variable: *id001 
    8585        GOTO: help_beer 
    8686         
     
    9797        -   take_stuff: 
    9898            - Grain 
    99         -   set_quest_value: 
     99        -   set_quest_variable: 
    100100                quest: beer 
    101101                value: 0 
Note: See TracChangeset for help on using the changeset viewer.