Changeset 198:4e7ca5cf57fa


Ignore:
Timestamp:
04/06/11 20:15:44 (12 years ago)
Author:
Adrianna Pińska <adrianna.pinska@…>
Branch:
default
Phase:
public
Message:

syntax fix for accessing world properties

Location:
data/npcs
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • data/npcs/actor.json

    r185 r198  
    77        "text" : "“Upon a thousand heights had gathered the inexplicable cloud. Swept by, uh... the rain, the moon is just come to light the high house. A clean and... and...” Oh bother, this is hard.",
    88        "events" : [
    9             { "matches" : "world.masks_destroyed()", "next": "state.no" }
     9            { "matches" : "world.masks_destroyed", "next": "state.no" }
    1010        ]
    1111    },
  • data/npcs/guard.json

    r171 r198  
    33        "text" : "Shoo, filthy fox! How did you get in here?",
    44        "events" : [
    5             { "matches" : "world.fox_is_shapeshifted()", "next": "state.shapeshifted" },
    6             { "matches" : "world.fox_is_disguised()", "next": "state.disguised" }
     5            { "matches" : "world.fox_is_shapeshifted", "next": "state.shapeshifted" },
     6            { "matches" : "world.fox_is_disguised", "next": "state.disguised" }
    77        ]
    88    },
     
    1515        ],
    1616        "events" : [
    17             { "matches" : "world.fox_is_disguised()", "next": "state.disguised" }
     17            { "matches" : "world.fox_is_disguised", "next": "state.disguised" }
    1818        ]
    1919    },
     
    3535        "text" : "The gate is locked, and it’s staying locked.",
    3636        "events" : [
    37             { "matches" : "world.fox_is_disguised()", "next": "state.disguised" }
     37            { "matches" : "world.fox_is_disguised", "next": "state.disguised" }
    3838        ]
    3939    },
  • data/npcs/monk.json

    r153 r198  
    2020        "text" : "Oh, what I wouldn’t do for a cup of tea.",
    2121        "events" : [
    22             { "matches" : "world.fox_has_tea()", "next": "state.got_tea" }
     22            { "matches" : "world.fox_has_tea", "next": "state.got_tea" }
    2323        ]
    2424    },
  • data/npcs/sasuke.json

    r197 r198  
    66    "napping" : {
    77        "events" : [
    8             { "matches" : "world.cannon_destroyed()", "next": "state.huh" }
     8            { "matches" : "world.cannon_destroyed", "next": "state.huh" }
    99        ]
    1010    },
Note: See TracChangeset for help on using the changeset viewer.