Mercurial > skaapsteker
comparison data/npcs/monk.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 | 704d23022f09 |
children | 8cac6ff88a9d |
comparison
equal
deleted
inserted
replaced
197:6696ffd51ac2 | 198:4e7ca5cf57fa |
---|---|
17 "auto_next": "state.no_tea" | 17 "auto_next": "state.no_tea" |
18 }, | 18 }, |
19 "no_tea" : { | 19 "no_tea" : { |
20 "text" : "Oh, what I wouldn’t do for a cup of tea.", | 20 "text" : "Oh, what I wouldn’t do for a cup of tea.", |
21 "events" : [ | 21 "events" : [ |
22 { "matches" : "world.fox_has_tea()", "next": "state.got_tea" } | 22 { "matches" : "world.fox_has_tea", "next": "state.got_tea" } |
23 ] | 23 ] |
24 }, | 24 }, |
25 "got_tea" : { | 25 "got_tea" : { |
26 "text" : "My tea! Oh, heavenly! Such aroma, what a taste... Just what I need. Mmm...", | 26 "text" : "My tea! Oh, heavenly! Such aroma, what a taste... Just what I need. Mmm...", |
27 "auto_next": "state.distracted" | 27 "auto_next": "state.distracted" |