view data/npcs/monk.json @ 287:f512e874b2e7

Add monk and kumiko missions to game.json and to monk and kumiko.
author Simon Cross <hodgestar@gmail.com>
date Fri, 08 Apr 2011 21:17:30 +0200
parents 8cac6ff88a9d
children 22d71135e497
line wrap: on
line source

{
    "start" : {
        "text" : "Oh poor thing, a tailless fox! What happened to you, little one?",
        "choices" : [
            { "text": "Yip!" },
            { "text": "Grrrr...", "next": "state.unfortunate" }
        ]
    },
    "unfortunate" : {
        "text" : "Unfortunate, I’m sure. That’s why I keep my lucky fox tail handy.",
        "choices" : [
            { "text": "Yip yip!", "next": "state.you_dont_speak" }
        ]
    },
    "you_dont_speak" : {
        "text" : "You don’t speak, of course. Forgive a silly old man. I lose my senses when I haven’t had my tea! Mmm, a fine brew of oolong! But there’s a demon in the attic and I’m too scared to fetch the tea leaves. Pity you don’t understand me, or you could get me a cup!",
        "auto_next": "state.no_tea"
    },
    "no_tea" : {
        "text" : "Oh, what I wouldn’t do for a cup of tea.",
        "events" : [
            { "matches" : "world.fox.item == 'tea'", "next": "state.got_tea" }
        ]
    },
    "got_tea" : {
        "text" : "My tea! Oh, heavenly! Such aroma, what a taste... Just what I need. Mmm...",
        "auto_next": "state.distracted",
        "on_exit" : "world.missions.monk_tea = True"
    },
    "distracted" : {
    }
}