-
Notifications
You must be signed in to change notification settings - Fork 0
/
map2.json
77 lines (76 loc) · 1.69 KB
/
map2.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
{
"rooms":[
{
"id":"room1",
"desc":"There is a door to the east.",
"exits":{"east":"room2"}
},
{
"id":"room2",
"desc":"There is a door to the north and a door to the west.",
"exits":{"west":"room1","north":"room3"}
},
{
"id":"room3",
"desc":"There is a door to the north and a door to the south.",
"exits":{"south":"room2","north":"room4"}
},
{
"id":"room4",
"desc":"",
"exits":{"south":"room3"}
}
],
"objects":[
{
"id":"gun",
"desc":"It looks like you can use it to shoot and kill things.",
"initialroom":"room1"
},
{
"id":"bullet",
"desc":"These are bullets that can be used with the gun.",
"initialroom":"room2"
},
{
"id":"apple",
"desc":"It is just an ordinary apple.",
"initialroom":"room2"
},
{
"id":"silver bullet",
"desc":"They are a different kind of bullets. You remember reading somewhere that they can kill special monsters.",
"initialroom":"room3"
}
],
"enemies":[
{
"id":"ant",
"desc":"It's a normal ant. It doesn't look like it can cause harm.",
"aggressiveness":0,
"initialroom":"room2",
"killedby":[]
},
{
"id":"zombie",
"desc":"The zombie can only move very slowly.",
"aggressiveness":20,
"initialroom":"room3",
"killedby":["gun","bullet"]
},
{
"id":"werewolf",
"desc":"The werewolf looks like it wants to attack you.",
"aggressiveness":100,
"initialroom":"room4",
"killedby":["gun","silver bullet"]
}
],
"player":{
"initialroom":"room1"
},
"objective":{
"type":"kill",
"what":["zombie","werewolf"]
}
}