comparison data/npcs/kitsune.json @ 215:4ac8ef4b44c3

boss fight dialog
author Adrianna Pińska <adrianna.pinska@gmail.com>
date Thu, 07 Apr 2011 00:38:47 +0200
parents
children 2d5dfec4cd11
comparison
equal deleted inserted replaced
214:6e7faba82c21 215:4ac8ef4b44c3
1 {
2 "start" : {
3 "on_entry" : "world.haiku_losses = 0; world.haiku_wins = 0",
4 "text" : "I’ve been watching you for a time but I never thought you would get this far! You have been very wily and devious.",
5 "auto_next": "state.onlyone"
6 },
7 "onlyone" : {
8 "text" : "There can only be one kitsune in this world at a time. I did not think someone the likes of you would ever challenge me.",
9 "auto_next": "state.here"
10 },
11 "here" : {
12 "text" : "But now we are here, face to face. How could you ever hope to defeat me?",
13 "choices" : [
14 { "text": "In battle!", "next": "state.battle_start" },
15 { "text": "In a haiku competition.", "next": "state.haiku_start" }
16 ]
17 },
18 "battle_start" : {
19 "text" : "Take your best shot!",
20 "auto_next": "state.battle"
21 },
22 "haiku_start" : {
23 "text" : "What? Play me at my own game? You can certainly try! You must beat me at two out of three challenges. Tell me which line is missing.",
24 "auto_next": "state.haiku1"
25 },
26 "battle" : {
27 "events" : [
28 { "matches" : "world.battle_lost", "next": "state.lost" },
29 { "matches" : "world.battle_won", "next": "state.won" },
30 ]
31 },
32 "haiku1" : {
33 "text" : "Over the wintry\nforest, winds howl in rage\n...?",
34 "choices" : [
35 { "text": "remaining in it?", "next": "state.haiku_wrong" },
36 { "text": "the end of autumn.", "next": "state.haiku_wrong" },
37 { "text": "with no leaves to blow.", "next": "state.haiku_right" },
38 { "text": "the Galaxy.", "next": "state.haiku_wrong" },
39 { "text": "and it passes by.", "next": "state.haiku_wrong" }
40 ]
41 },
42 "haiku2" : {
43 "text" : "A dead chrysanthemum\nand yet - isn't there still something\n...?",
44 "choices" : [
45 { "text": "remaining in it?", "next": "state.haiku_right" },
46 { "text": "the end of autumn.", "next": "state.haiku_wrong" },
47 { "text": "with no leaves to blow.", "next": "state.haiku_wrong" },
48 { "text": "the Galaxy.", "next": "state.haiku_wrong" },
49 { "text": "and it passes by.", "next": "state.haiku_wrong" }
50 ]
51 },
52 "haiku3" : {
53 "text" : "First day of spring--\nI keep thinking about\n...?",
54 "choices" : [
55 { "text": "remaining in it?", "next": "state.haiku_wrong" },
56 { "text": "the end of autumn.", "next": "state.haiku_right" },
57 { "text": "with no leaves to blow.", "next": "state.haiku_wrong" },
58 { "text": "the Galaxy.", "next": "state.haiku_wrong" },
59 { "text": "and it passes by.", "next": "state.haiku_wrong" }
60 ]
61 },
62 "haiku_right" : {
63 "on_entry" : "world.haiku_wins += 1",
64 "events" : [
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" },
67 { "matches" : "world.haiku_wins == 2", "next": "state.haiku_2wins" },
68 ]
69 },
70 "haiku_1win_0loss" : {
71 "text" : "Correct. Hmm, let’s try a harder one.",
72 "auto_next": "state.haiku2"
73 },
74 "haiku_1win_1loss" : {
75 "text" : "That’s right! Who would have thought? One more try...",
76 "auto_next": "state.haiku3"
77 },
78 "haiku_2wins" : {
79 "text" : "Yes – that’s correct! How could this be?",
80 "auto_next": "state.won"
81 },
82 "haiku_wrong" : {
83 "on_entry" : "world.haiku_losses += 1",
84 "text" : "Ha, that’s wrong! One point to me.",
85 "events" : [
86 { "matches" : "world.haiku_losses == 1 and world.haiku_wins == 0", "next": "state.haiku2" },
87 { "matches" : "world.haiku_losses == 1 and world.haiku_wins == 1", "next": "state.haiku3" },
88 { "matches" : "world.haiku_losses == 2", "next": "state.lost" }
89 ]
90 },
91 "lost" : {
92 "text" : "Haha! Nobody can withstand the might and wit of the kitsune! You are defeated, fox. Out of my sight.",
93 "auto_next": "state.start"
94 },
95 "won" : {
96 "text" : "What? How? No! This is impossible – how could you defeat me? My power... slipping... my tails! Gone! Noooo...",
97 "auto_next": "state.defeated"
98 },
99 "defeated" : {
100 }
101 }