Mercurial > skaapsteker
view data/npcs/kumiko.json @ 586:30893ffec6f7
Fix duplicate condition
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Sun, 10 Apr 2011 17:02:45 +0200 |
parents | c4b14a517500 |
children |
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.complaining" } ] }, "complaining" : { "events" : [ { "matches" : "world.missions.kumikos_kimono_torn and world.items.vase.broken and world.missions.fish_in_room", "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*" } }