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

    r668 r683  
    8686    -   REPLY: "You got a problem?  Hit in the head during the war?" 
    8787        ACTIONS: 
    88         -   set_quest_value: &id001 
     88        -   set_quest_variable: &id001 
    8989                quest: beer 
    9090                value: 0 
     
    141141    -   REPLY: "You are totally insane." 
    142142        ACTIONS: 
    143         -   set_quest_value: *id001 
     143        -   set_quest_variable: *id001 
    144144        GOTO: permanent_failure 
    145145         
     
    174174        -   take_stuff: 
    175175            - Yeast 
    176         -   set_quest_value: 
     176        -   set_quest_variable: 
    177177                quest: beer 
    178178                value: 0 
     
    192192    -   REPLY: "1000 years?" 
    193193        ACTIONS: 
    194         -   set_quest_value: *id001 
     194        -   set_quest_variable: *id001 
    195195        GOTO: permanent_failure 
    196196         
Note: See TracChangeset for help on using the changeset viewer.