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

    r668 r683  
    166166           \ the snow melts?" 
    167167        ACTIONS: 
    168         -   set_quest_value: 
     168        -   set_quest_variable: 
    169169                quest: fedex 
    170170                value: 1 
     
    276276           \ know why." 
    277277        ACTIONS: 
    278         -   set_quest_value: &id001 
     278        -   set_quest_variable: &id001 
    279279                quest: fedex 
    280280                value: bart 
     
    296296    -   REPLY: "I don't think so, I think it was you.  The question is, why?" 
    297297        ACTIONS: 
    298         -   set_quest_value: *id001 
     298        -   set_quest_variable: *id001 
    299299        GOTO: accuse_bart 
    300300         
     
    322322        CONDITION: "not quest['fedex'].isGoalValue('got_drunkards_coat')" 
    323323        ACTIONS: 
    324         -   set_quest_value: 
     324        -   set_quest_variable: 
    325325                quest: fedex 
    326326                value: 1 
     
    410410    -   REPLY: "Alright.. What she doesn't know can't hurt her." 
    411411        ACTIONS: 
    412         -   set_quest_value: &id002 
     412        -   set_quest_variable: &id002 
    413413                quest: fedex 
    414414                value: true 
     
    425425           \ tell what really happened." 
    426426        ACTIONS: 
    427         -   set_quest_value: *id002 
     427        -   set_quest_variable: *id002 
    428428        GOTO: bart_confess 
    429429         
Note: See TracChangeset for help on using the changeset viewer.