-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstory.json
117 lines (117 loc) · 4.04 KB
/
story.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
{
"metadata": {
"title": "Demo",
"author": "RPG Adventure",
"version": "0.1"
},
"story": {
"beginning": {
"heading": "An adventure begins...?",
"text": "You have a splitting headache. You don't remember how you got here, but you are laying in a warm bed. You look around and see a small room with a window, a door, and a small table with a lamp. As you sit up, you notice yourself in the mirror. What do you look like?",
"options": {
"human": {
"text": "I'm a human",
"action": ["set-race: human", "goto: beginning II"]
},
"elf": {
"text": "I'm an elf",
"action": ["set-race: elf", "goto: beginning II"]
},
"orc": {
"text": "I'm an orc",
"action": ["set-race: orc", "goto: beginning II"]
}
},
"theme": "default"
},
"beginning II": {
"heading": "An adventure begins?",
"text": "Your headache persists, but you feel a little better. Questions rush through your mind; Who are you? Why are you here? Maybe these questions will be answered in time... As you look in the mirror, you realize you don't even remember your name. But one thing is clear, you are a...",
"options": {
"female": {
"text": "female {{race}}",
"action": ["set-sex: female", "goto: beginning III"]
},
"male": {
"text": "male {{race}}",
"action": ["set-sex: male", "goto: beginning III"]
},
"non-binary": {
"text": "non-binary {{race}}",
"action": ["set-sex: non-binary", "goto: beginning III"]
},
"none": {
"text": "{{race}}",
"action": ["set-sex: none", "goto: beginning III"]
}
},
"theme": "default"
},
"beginning III": {
"heading": "An adventure begins...",
"text": "You look around the room and see a small chest at the foot of the bed. You open it and find <b>a small bag of coins, a dagger, and a note.</b> The note reads, <i>'You are in the town of Oakwood. You were found unconcious in the woods. You are welcome to stay here as long as you need. If you are looking for work, talk to the innkeeper.'</i> What do you do?",
"options": {
"get-up": {
"text": "Get up and explore the town",
"action": ["goto: beginning IV"]
},
"stay-in-bed": {
"text": "Stay in bed and rest",
"action": ["goto: bedroom idle"]
}
},
"theme": "default"
},
"bedroom idle": {
"heading": "An adventure begins???",
"text": "You lay back down and rest. You wake up feeling refreshed and ready to explore the town.",
"options": {
"get-up": {
"text": "Get up and explore the town",
"action": ["goto: beginning IV"]
}
},
"theme": "dark"
},
"beginning IV": {
"heading": "An adventure begins!",
"text": "You leave the room and find yourself in a small inn. The innkeeper greets you and offers you a meal. You eat and then ask about work. The innkeeper tells you that the town has been having trouble with bandits and that the town guard could use some help. You decide to help the town guard and head to the town square.",
"options": {
"goto-town-square": {
"text": "Go to the town square",
"action": ["goto: town square"]
},
"rush-to-help": {
"text": "Rush to help the town guard",
"action": ["goto: bandit attack", "set-quest: bandit attack"],
"requirements": {
"race": ["orc", "human"]
}
}
},
"theme": "default"
},
"town square": {
"heading": "End of Demo",
"text": "This is the end of the demo. Thank you for playing! We are planning to make a full game with more story, characters, and choices. If you would like to support us, please consider contributing to our github repository.",
"options": {
"end": {
"text": "End",
"action": ["end"]
}
},
"theme": "default"
},
"bandit attack": {
"heading": "Bandit Attack",
"text": "You rush to the town square and see a group of bandits attacking the town guard. You draw your weapon and rush to help. This is the end of the demo. Thank you for playing!",
"options": {
"end": {
"text": "End",
"action": ["end"]
}
},
"theme": "default"
}
}
}