Mercurial > skaapsteker
comparison data/npcs/kitsune.json @ 220:2d5dfec4cd11
Fix kitsune JSON.
author | Simon Cross <hodgestar@gmail.com> |
---|---|
date | Thu, 07 Apr 2011 01:11:50 +0200 |
parents | 4ac8ef4b44c3 |
children | 74c875f7b1f5 |
comparison
equal
deleted
inserted
replaced
217:fcc5eca8eaca | 220:2d5dfec4cd11 |
---|---|
24 "auto_next": "state.haiku1" | 24 "auto_next": "state.haiku1" |
25 }, | 25 }, |
26 "battle" : { | 26 "battle" : { |
27 "events" : [ | 27 "events" : [ |
28 { "matches" : "world.battle_lost", "next": "state.lost" }, | 28 { "matches" : "world.battle_lost", "next": "state.lost" }, |
29 { "matches" : "world.battle_won", "next": "state.won" }, | 29 { "matches" : "world.battle_won", "next": "state.won" } |
30 ] | 30 ] |
31 }, | 31 }, |
32 "haiku1" : { | 32 "haiku1" : { |
33 "text" : "Over the wintry\nforest, winds howl in rage\n...?", | 33 "text" : "Over the wintry\nforest, winds howl in rage\n...?", |
34 "choices" : [ | 34 "choices" : [ |
62 "haiku_right" : { | 62 "haiku_right" : { |
63 "on_entry" : "world.haiku_wins += 1", | 63 "on_entry" : "world.haiku_wins += 1", |
64 "events" : [ | 64 "events" : [ |
65 { "matches" : "world.haiku_wins == 1 and world.haiku_losses == 0", "next": "state.haiku_1win_0loss" }, | 65 { "matches" : "world.haiku_wins == 1 and world.haiku_losses == 0", "next": "state.haiku_1win_0loss" }, |
66 { "matches" : "world.haiku_wins == 1 and world.haiku_losses == 1", "next": "state.haiku_1win_1loss" }, | 66 { "matches" : "world.haiku_wins == 1 and world.haiku_losses == 1", "next": "state.haiku_1win_1loss" }, |
67 { "matches" : "world.haiku_wins == 2", "next": "state.haiku_2wins" }, | 67 { "matches" : "world.haiku_wins == 2", "next": "state.haiku_2wins" } |
68 ] | 68 ] |
69 }, | 69 }, |
70 "haiku_1win_0loss" : { | 70 "haiku_1win_0loss" : { |
71 "text" : "Correct. Hmm, let’s try a harder one.", | 71 "text" : "Correct. Hmm, let’s try a harder one.", |
72 "auto_next": "state.haiku2" | 72 "auto_next": "state.haiku2" |