forked from Slickness/TextAdventure
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.json
More file actions
40 lines (39 loc) · 1.53 KB
/
game.json
File metadata and controls
40 lines (39 loc) · 1.53 KB
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
{
"block": [{
"ident": "F1",
"name": "Starting area",
"description": "This is where you start. Obvious exits are North.",
"neighbours": {
"n": {"ident": "F2",
"keyrequired": "No"}
},
"items": {"key": ["key1", 10],
"armour":[10,10]}
},
{
"ident": "F2",
"name": "Forest",
"description": "You are walking on a forrest path. To your left and right are tall pines which are home to many creatures. Obvious exits are North and South.",
"neighbours": {"s": {"ident": "F1",
"keyrequired": "No"},
"n": {"ident": "F3",
"keyrequired": "Yes",
"key": "key1"}}},
{
"ident": "F3",
"name": "GARDEN",
"description": "You entered the garden, to your left are rows of orange tulips. On your right the babble of a small fountain provides a sense of tranquility.",
"neighbours": {"s": {"ident": "F2",
"keyrequired": "Yes",
"key": "key1"}},
"hasEnemy": "True",
"enemy": "cricket"
}],
"player": [{"name": "Jimmy",
"hp": 100,
"items": {}}],
"enemy": [{"name": "cricket",
"hp": 4,
"attack": 1,
"points": 50}]
}