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

    r668 r683  
    4949        CONDITION: "quest['fedex'].getValue('accused_of_murder')" 
    5050        ACTIONS: 
    51         -   set_quest_value: &id001 
     51        -   set_quest_variable: &id001 
    5252                quest: fedex 
    5353                value: true 
     
    207207           \ quest['fedex'].getValue('murder_reported_to_kimmmo')" 
    208208        ACTIONS: 
    209         -   set_quest_value: &id002 
     209        -   set_quest_variable: &id002 
    210210                quest: fedex 
    211211                value: matti 
     
    366366    -   REPLY: "I mean, no one seems to know where I can find him." 
    367367        ACTIONS: 
    368         -   set_quest_value: 
     368        -   set_quest_variable: 
    369369                quest: fedex 
    370370                value: true 
     
    434434    -   REPLY: "Yes.  I am sure that Bart killed your brother." 
    435435        ACTIONS: 
    436         -   set_quest_value: 
     436        -   set_quest_variable: 
    437437                quest: fedex 
    438438                value: true 
     
    455455    -   REPLY: "I found his body in the cistern." 
    456456        ACTIONS: 
    457         -   set_quest_value: *id001 
     457        -   set_quest_variable: *id001 
    458458        GOTO: pekko_murdered 
    459459         
     
    484484    -   REPLY: "I think it must be Matti, the snow shoveler." 
    485485        ACTIONS: 
    486         -   set_quest_value: *id002 
     486        -   set_quest_variable: *id002 
    487487        GOTO: accuse_matti 
    488488         
Note: See TracChangeset for help on using the changeset viewer.