view data/npcs/kumiko.json @ 551:40a104ca0a69

Tear kimono
author Neil Muller <drnlmuller@gmail.com>
date Sun, 10 Apr 2011 01:28:03 +0200
parents e1436dacca69
children c4b14a517500
line wrap: on
line source

{
    "start" : {
        "text" : "I’m so pretty, oh so pretty! Who could ever resist my charms? My delicate grace! My sharp wit! And today, the richest businessman in Edo is coming to our town. If I can impress him – and I am so fabulous, I have no doubt I will – I will marry him and live in a giant palace and have hundreds of servants. Oh, nothing can go wrong today!",
        "auto_next": "state.temptingfate"
    },
    "temptingfate" : {
        "text" : "The room smells fresh, I have my best kimono on and I’ve set out my most magnificent vase. Everything is perfect (just like me)!",
        "events" : [
            { "matches" : "world.items.vase.broken", "next": "state.broken" }
        ]
    },
    "broken" : {
        "text" : "Oh no, my beautiful vase! What will the businessman think to see it broken on the floor?",
        "events" : [
            { "matches" : "world.missions.fish_in_room", "next": "state.badsmell" }
        ]
    },
    "badsmell" : {
        "text" : "Oh my, what is that terrible smell? Rotten fish? Oh, this won’t do at all!",
        "events" : [
            { "matches" : "world.missions.kumikos_kimono_torn", "next": "state.torn" }
        ]
    },
    "torn" : {
        "text" : "What will the businessman think of a ragged dress like this?",
        "events" : [
            { "matches" : "npcs.kaneda.state == 'kumiko'", "next": "state.kaneda" }
        ]
    },
    "kaneda" : {
        "text" : "Kaneda-san! I have been waiting for you.",
        "auto_next" : "state.jumped",
        "on_exit" : "switch_to('kaneda')"
    },
    "jumped" : {
        "text" : "Oh, Kaneda-san, a dirty little fox jumped on me just as you were approaching and ripped my kimono.",
        "auto_next": "state.fallen",
        "on_exit" : "switch_to('kaneda')"
    },
    "fallen" : {
        "text" : "I am sorry, Kaneda-san, it must just have fallen over. It was probably pushed by that mean-spirited fox.",
        "auto_next": "state.shallwe",
        "on_exit" : "switch_to('kaneda')"
    },
    "shallwe" : {
        "text" : "Shall we- go on?",
        "auto_next": "state.dropped",
        "on_exit" : "switch_to('kaneda')"
    },
    "dropped" : {
        "text" : "I- A fox came in and dropped an old fish?",
        "auto_next": "state.but",
        "on_exit" : "switch_to('kaneda')"
    },
    "but" : {
        "text" : "But-",
        "auto_next": "state.curse",
        "on_exit" : "switch_to('kaneda')"
    },
    "curse" : {
        "text" : "Curse you, fox! I’ll be doomed to a peasant life forever!",
        "auto_next": "state.sob",
        "on_exit": "world.missions.kumiko_disgraced = True"
    },
    "sob" : {
        "on_entry": "drop_item('tail_flight')",
        "text" : "*sob*"
    }
}