Changeset 287:f512e874b2e7


Ignore:
Timestamp:
04/08/11 19:17:30 (12 years ago)
Author:
Simon Cross <hodgestar@…>
Branch:
default
Phase:
public
Message:

Add monk and kumiko missions to game.json and to monk and kumiko.

Location:
data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • data/game.json

    r284 r287  
    77    },
    88    "missions": {
    9         "monk_tea": {}
     9        "monk_tea": false,
     10        "fish_in_room": false,
     11        "kumikos_kimono_torn": false,
     12        "kumiko_disgraced": false
    1013    },
    1114    "items": {
  • data/npcs/kumiko.json

    r237 r287  
    1313        "text" : "Oh no, my beautiful vase! What will the businessman think to see it broken on the floor?",
    1414        "events" : [
    15             { "matches" : "world.fish_in_house", "next": "state.badsmell" }
     15            { "matches" : "world.missions.fish_in_room", "next": "state.badsmell" }
    1616        ]
    1717    },
     
    1919        "text" : "Oh my, what is that terrible smell? Rotten fish? Oh, this won’t do at all!",
    2020        "events" : [
    21             { "matches" : "world.torn_kimono", "next": "state.torn" }
     21            { "matches" : "world.missions.kumikos_kimono_torn", "next": "state.torn" }
    2222        ]
    2323    },
     
    6565    },
    6666    "curse" : {
    67         "text" : "Curse you, fox! I’ll be doomed to a peasant life forever!"
     67        "text" : "Curse you, fox! I’ll be doomed to a peasant life forever!",
     68        "on_exit": "world.missions.kumiko_disgraced = True"
    6869    }
    6970}
  • data/npcs/monk.json

    r284 r287  
    2525    "got_tea" : {
    2626        "text" : "My tea! Oh, heavenly! Such aroma, what a taste... Just what I need. Mmm...",
    27         "auto_next": "state.distracted"
     27        "auto_next": "state.distracted",
     28        "on_exit" : "world.missions.monk_tea = True"
    2829    },
    2930    "distracted" : {
Note: See TracChangeset for help on using the changeset viewer.