Mercurial > skaapsteker
diff data/npcs/guard.json @ 198:4e7ca5cf57fa
syntax fix for accessing world properties
author | Adrianna Pińska <adrianna.pinska@gmail.com> |
---|---|
date | Wed, 06 Apr 2011 22:15:44 +0200 |
parents | 13e10b877f6c |
children | 16ffe6f5dbb8 |
line wrap: on
line diff
--- a/data/npcs/guard.json Wed Apr 06 22:07:00 2011 +0200 +++ b/data/npcs/guard.json Wed Apr 06 22:15:44 2011 +0200 @@ -2,8 +2,8 @@ "start" : { "text" : "Shoo, filthy fox! How did you get in here?", "events" : [ - { "matches" : "world.fox_is_shapeshifted()", "next": "state.shapeshifted" }, - { "matches" : "world.fox_is_disguised()", "next": "state.disguised" } + { "matches" : "world.fox_is_shapeshifted", "next": "state.shapeshifted" }, + { "matches" : "world.fox_is_disguised", "next": "state.disguised" } ] }, "shapeshifted" : { @@ -14,7 +14,7 @@ { "text": "Sayonara.", "next": "state.secondtry" } ], "events" : [ - { "matches" : "world.fox_is_disguised()", "next": "state.disguised" } + { "matches" : "world.fox_is_disguised", "next": "state.disguised" } ] }, "monks" : { @@ -34,7 +34,7 @@ "secondtry" : { "text" : "The gate is locked, and it’s staying locked.", "events" : [ - { "matches" : "world.fox_is_disguised()", "next": "state.disguised" } + { "matches" : "world.fox_is_disguised", "next": "state.disguised" } ] }, "disguised" : {