-
Notifications
You must be signed in to change notification settings - Fork 12
/
db.json
91 lines (91 loc) · 1.77 KB
/
db.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
{
"steps": [
{
"id": 1,
"name": "Entrée du donjon",
"start": true,
"description": "Bienvenue",
"actions": [
{
"type": "go",
"name": "Entrez",
"params": {
"step": 2
}
}
]
},
{
"id": 2,
"name": "Salle des gardes",
"description": "Une salle sombre. À la faible lumière d'une bougie vous apercevez deux portes",
"actions": [
{
"type": "go",
"name": "Passer la 1ere porte",
"params": {
"step": 3
}
},
{
"type": "go",
"name": "Passer la 2nd porte",
"params": {
"step": 4
}
}
]
},
{
"id": 3,
"name": "Trésor",
"description": "Un coffre ! Allez-vous osez l'ouvrir ?",
"actions": [
{
"type": "chest",
"name": "Ouvrez le coffre",
"params": {
"life": 0,
"gold": 100
}
},
{
"type": "go",
"name": "Sortez",
"params": {
"step": 2
}
}
]
},
{
"id": 4,
"name": "Dragon",
"description": "Un dragon ! Combattez-le et prenez son trésor ou tel un pleutre, fuyez.",
"actions": [
{
"type": "fight",
"name": "Combattez le dragon",
"params": {
"gold": 10,
"life": -10
}
},
{
"type": "go",
"name": "Sortez",
"params": {
"step": 2
}
}
]
},
{
"name": "test11",
"description": "test test sdsds",
"start": false,
"actions": [],
"id": 5
}
]
}