# HG changeset patch # User Adrianna Pińska # Date 1302120944 -7200 # Node ID 4e7ca5cf57fad1bd264d00ba6b37a4dd69f0283e # Parent 6696ffd51ac2bc2cd00eb3d15a573fd33218451b syntax fix for accessing world properties diff -r 6696ffd51ac2 -r 4e7ca5cf57fa data/npcs/actor.json --- a/data/npcs/actor.json Wed Apr 06 22:07:00 2011 +0200 +++ b/data/npcs/actor.json Wed Apr 06 22:15:44 2011 +0200 @@ -6,7 +6,7 @@ "bother" : { "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.", "events" : [ - { "matches" : "world.masks_destroyed()", "next": "state.no" } + { "matches" : "world.masks_destroyed", "next": "state.no" } ] }, "no" : { diff -r 6696ffd51ac2 -r 4e7ca5cf57fa data/npcs/guard.json --- 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" : { diff -r 6696ffd51ac2 -r 4e7ca5cf57fa data/npcs/monk.json --- a/data/npcs/monk.json Wed Apr 06 22:07:00 2011 +0200 +++ b/data/npcs/monk.json Wed Apr 06 22:15:44 2011 +0200 @@ -19,7 +19,7 @@ "no_tea" : { "text" : "Oh, what I wouldn’t do for a cup of tea.", "events" : [ - { "matches" : "world.fox_has_tea()", "next": "state.got_tea" } + { "matches" : "world.fox_has_tea", "next": "state.got_tea" } ] }, "got_tea" : { diff -r 6696ffd51ac2 -r 4e7ca5cf57fa data/npcs/sasuke.json --- a/data/npcs/sasuke.json Wed Apr 06 22:07:00 2011 +0200 +++ b/data/npcs/sasuke.json Wed Apr 06 22:15:44 2011 +0200 @@ -5,7 +5,7 @@ }, "napping" : { "events" : [ - { "matches" : "world.cannon_destroyed()", "next": "state.huh" } + { "matches" : "world.cannon_destroyed", "next": "state.huh" } ] }, "huh" : {