view data/npcs/monk.json @ 284:8cac6ff88a9d

Rename the void level to _limbo. Add teacupfull to _limbo. Change monk state change check to world.fox.item == 'teacupfull'.
author Simon Cross <hodgestar@gmail.com>
date Fri, 08 Apr 2011 20:41:05 +0200
parents 4e7ca5cf57fa
children f512e874b2e7
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"
    },
    "distracted" : {
    }
}