-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.json
executable file
·224 lines (219 loc) · 5.34 KB
/
example.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
{
"rooms": [
{
"name": "template",
"initDesc": "",
"desc": "",
"actors": [
{
"name": "",
"desc": "",
"initDesc": "",
"dialogues": [
{
"topic": "nothing",
"text": "",
"whitelist": [
""
],
"blacklist": [
""
],
"key": [
""
],
"unkey": [
""
]
}
]
}
],
"items": [
{
"name":"template",
"initDesc": "",
"invDesc": "",
"desc": "",
"weight": 0,
"smell": "",
"taste": "",
"pickupable": false,
"pickupKey": ""
}
],
"events": [
{
"text": "",
"type": "onEnter",
"whitelist": [
""
],
"blacklist": [
""
],
"key": [
""
],
"unkey": [
""
],
"makeVisible": [
{
"name": "",
"class": ""
}
]
}
],
"links": [
{
"roomName": "template",
"direction": "up"
}
]
},
{
"name": "park bench",
"initDesc": "You find yourself sitting in a forest clearing on a bench next to a tree. you are unsure of how you got here",
"desc": "a nice park bench, painted black. beside is a tree, a path leading north and south extends in front",
"startLocation": true,
"actors": [
{
"name": "jeb",
"desc": "just an upside down dude",
"initDesc": "you see a strange man looking at a picture book of birds, but stranger still is that he is upside down",
"dialogues": [
{
"topic": "updown",
"text": "what do you mean I am upside down? I believe you have it all wrong, it is you that is upside down",
"whitelist": [
"alive"
],
"blacklist": [
"jebUpsideDownAnswered"
],
"key": [
"jebBook",
"jebUpsideDownAnswered"
],
"unkey": []
},
{
"topic": "book",
"text": "oh this old text? im bird watching, trying to figure out what that thing is. (he points towards the finch)",
"whitelist": [
"jebBook"
],
"blacklist": [],
"key": [
"finch"
],
"unkey": []
}
]
}
],
"items": [
{
"name":"fork",
"initDesc": "a fork sitting on the ground",
"invDesc": "a fork that stabs you when you stick your hands in your pockets too fast",
"desc": "you left a fork here",
"weight": 0,
"pickupable": true,
"pickupKey": "fork"
},
{
"name":"apple",
"initDesc": "an apple that sits on the ground below a tree",
"invDesc": "an apple that is too hard to eat",
"desc": "you left an apple here",
"weight": 0,
"pickupable": true,
"pickupKey": "food"
},
{
"name":"finch",
"initDesc": "a finch, in the tree",
"invDesc": "still alive despite being stuffed into your pockets...",
"desc": "jeb was right, there it is, a bird. who would have guessed",
"hidden": "",
"weight": 0,
"pickupable": false
}
],
"events": [
{
"text": "jeb leaves",
"type": "active",
"whitelist": [
"finch"
],
"blacklist": [
"jebGone"
],
"key": [
"jebGone"
],
"unkey": [],
"makeVisible": [
{
"name": "finch",
"class": "item"
}
],
"makeInvisible": [
{
"name": "jeb",
"class": "actor"
}
]
}
],
"links": [
{
"roomName": "a cabin",
"direction": "north"
}
]
},
{
"name": "a cabin",
"initDesc": "The sight of an abandoned cabin comes into view as you climb up the hill. it is balanced precariously on the cliff overlooking the sea.",
"desc": "a cabin rests on a cliff in front of the sea.",
"items": [],
"events": [
{
"text": "a ghost suddenly appears before your eyes! \n ghost: gimme dat apple, i wanna eat it\n the ghost suddenly and violently kills you.",
"type": "onEnter",
"whitelist": [
"fork",
"food"
],
"blacklist": [],
"key": [
"win"
],
"unkey": []
}
],
"links": [
{
"roomName": "park bench",
"direction": "south"
}
]
}
],
"startingKeys":[
"alive"
],
"weights":[
0.5108727962369497 ,
0.22050487773893268 ,
0.4063116402238053 ,
0.7135334203933531 ,
0.08517401851066053
]
}