view data/game.json @ 286:0dbb50d07764

Poke the current state before checking to see if there is text in case the world has changed and it is time for the state machine to move on.
author Simon Cross <hodgestar@gmail.com>
date Fri, 08 Apr 2011 20:58:12 +0200
parents 8cac6ff88a9d
children f512e874b2e7
line wrap: on
line source

{
    "fox": {
        "item": null,
        "tails" : [],
        "cur_health" : 40,
        "max_health" : 40
    },
    "missions": {
        "monk_tea": {}
    },
    "items": {
        "tealeaf": { "type": "TeaLeaf", "level": "temple", "pos": [1, 7] },
        "teacup": { "type": "TeaCup", "level": "temple", "pos": [18, 10] },
        "teapot": { "type": "TeaPot", "level": "temple", "pos": [13, 2] },
        "teacupfull": { "type": "TeaCupFull", "level": "_limbo", "pos": [0, 0] },
        "vase": { "type": "Vase", "level": "geisha_room", "pos": [1, 3], "broken": false }
    },
    "npcs": {
        "monk": { "type": "Monk", "level": "temple", "pos": [15, 16], "dsm": "npcs/monk.json", "state": "start" },
        "guard": { "type": "Guard", "level": "temple_grounds", "pos": [10, 3], "dsm": "npcs/guard.json", "state": "start" },
        "hattori": { "type": "Hattori", "level": "road", "pos": [10, 3], "dsm": "npcs/hattori.json", "state": "start" },
        "ichiro": { "type": "Ichiro", "level": "road", "pos": [11, 3], "dsm": "npcs/ichiro.json", "state": "start" },
        "kaneda": { "type": "Kaneda", "level": "tea_house", "pos": [10, 3], "dsm": "npcs/kaneda.json", "state": "start" },
        "kumiko": { "type": "Kumiko", "level": "geisha_room", "pos": [11, 3], "dsm": "npcs/kumiko.json", "state": "start" },
        "actor": { "type": "Actor", "level": "theatre", "pos": [8, 3], "dsm": "npcs/actor.json", "state": "start" },
        "sasuke": { "type": "Sasuke", "level": "road", "pos": [9, 3], "dsm": "npcs/sasuke.json", "state": "start" },
        "kitsune": { "type": "Kitsune", "level": "celestial_plane", "pos": [10, 3], "dsm": "npcs/kitsune.json", "state": "start" }
    },
    "levels": {
        "celestial_plane" : "celestial_plane",
        "fishmonger_house" : "fishmonger_house",
        "geisha_room" : "geisha_room",
        "market" : "market",
        "road" : "road",
        "tea_house" : "tea_house",
        "temple_grounds" : "temple_grounds",
        "temple" : "temple",
        "theatre" : "theatre",
        "town" : "town"
    },
    "player": {"level": "temple", "doorway": "starting"}
}