-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path1756047620.json
More file actions
218 lines (218 loc) · 6.12 KB
/
1756047620.json
File metadata and controls
218 lines (218 loc) · 6.12 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
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
{
"player_initial_stats": { "hp": 100, "max_hp": 100, "attack": 10, "defense": 5, "gold": 0, "exp": 0, "level": 1 },
"items": [
{
"id": "potion",
"name": "Potion",
"description": "Restores 50 HP.",
"type": "consumable",
"price": 10,
"effect": { "hp_restore": 50 }
},
{
"id": "sword",
"name": "Bronze Sword",
"description": "Attack +5.",
"type": "weapon",
"price": 50,
"effect": { "attack_boost": 5 }
},
{
"id": "hi_potion",
"name": "Hi-Potion",
"description": "Restores 100 HP.",
"type": "consumable",
"price": 30,
"effect": { "hp_restore": 100 }
},
{
"id": "shiny_stone",
"name": "Shiny Stone",
"description": "A mysterious stone that seems to fetch a good price. Cannot be used in battle.",
"type": "sellable_only",
"price": 100,
"effect": {}
},
{
"id": "ancient_coin",
"name": "Ancient Coin",
"description": "A very old coin, probably worth something to a collector.",
"type": "sellable_only",
"price": 75,
"effect": {}
}
],
"enemies": [
{
"id": "goblin",
"name": "Goblin",
"hp": 30,
"attack": 8,
"defense": 2,
"reward_exp": 10,
"reward_gold": 5,
"drop_items": [
{ "item_id": "potion", "quantity": 1, "drop_chance": 30 },
{ "item_id": "shiny_stone", "quantity": 1, "drop_chance": 10 }
]
},
{
"id": "slime",
"name": "Slime",
"hp": 20,
"attack": 5,
"defense": 1,
"reward_exp": 5,
"reward_gold": 2,
"drop_items": [{ "item_id": "potion", "quantity": 1, "drop_chance": 20 }]
},
{
"id": "wolf",
"name": "Wolf",
"hp": 40,
"attack": 12,
"defense": 3,
"reward_exp": 15,
"reward_gold": 8,
"drop_items": [
{ "item_id": "potion", "quantity": 1, "drop_chance": 50 },
{ "item_id": "hi_potion", "quantity": 1, "drop_chance": 20 }
]
},
{
"id": "big_slime",
"name": "Big Slime",
"hp": 35,
"attack": 7,
"defense": 2,
"reward_exp": 8,
"reward_gold": 4,
"drop_items": [{ "item_id": "hi_potion", "quantity": 1, "drop_chance": 30 }]
},
{
"id": "goblin_king",
"name": "Goblin King",
"hp": 100,
"attack": 20,
"defense": 10,
"reward_exp": 100,
"reward_gold": 50
}
],
"events": [
{
"id": "start_game",
"type": "message",
"message": "A new adventure has begun.",
"next_event": "town_return"
},
{
"id": "forest_dungeon_initializer",
"type": "dungeon_initializer",
"message": "Arrived at the entrance of a deep forest.",
"dungeon_id": "forest_dungeon",
"initial_distance": 7,
"boss_event_id": "battle_goblin_king",
"normal_enemies": ["goblin", "slime", "wolf", "big_slime"],
"dungeon_items": ["potion", "hi_potion", "shiny_stone", "ancient_coin"],
"on_win_dungeon": "forest_cleared_message",
"on_lose_dungeon": "game_over",
"next_event": "forest_dungeon_explore_choice"
},
{
"id": "forest_dungeon_explore_choice",
"type": "choice",
"message": "Proceed deeper into the forest? Or turn back?",
"choices": [
{ "text": "Proceed", "outcome": { "next_event": "dungeon_progress" } },
{ "text": "Back", "outcome": { "next_event": "dungeon_retreat_logic" } }
]
},
{
"id": "dungeon_progress",
"type": "dungeon_progress",
"message": "Proceeded further into the depths."
},
{
"id": "dungeon_random_battle",
"type": "battle",
"message": "An enemy attacked!",
"enemy_id": "temp_placeholder",
"on_win": { "next_event": "forest_dungeon_explore_choice" },
"on_lose": { "next_event": "game_over" }
},
{
"id": "battle_goblin_king",
"type": "battle",
"enemy_id": "goblin_king",
"message": "The battle against the Goblin King has begun!",
"on_win": { "next_event": "game_clear_event" },
"on_lose": { "next_event": "game_over" }
},
{
"id": "forest_cleared_message",
"type": "message",
"message": "Defeated the Goblin King deep in the forest! Peace has returned to the forest.",
"next_event": "town_return"
},
{
"id": "town_return",
"type": "choice",
"message": "Returned to town. What will you do?",
"choices": [
{ "text": "Go to the forest", "outcome": { "next_event": "forest_dungeon_initializer" } },
{ "text": "Go to the shop", "outcome": { "next_event": "shop_entrance" } },
{ "text": "View status", "outcome": { "next_event": "view_status" } }
]
},
{ "id": "view_status", "type": "status", "message": "Current status:", "next_event": "town_return" },
{
"id": "game_over",
"type": "message",
"message": "You have fallen. Game Over.",
"next_event": "final_game_over_event"
},
{
"id": "final_game_over_event",
"type": "game_over_final_state"
},
{
"id": "dungeon_retreat_logic",
"type": "dungeon_retreat_logic",
"message": "Took a step back."
},
{
"id": "shop_entrance",
"type": "choice",
"message": "Welcome! What would you like?",
"choices": [
{ "text": "Buy Items", "outcome": { "next_event": "shop_buy_menu" } },
{ "text": "Sell Items", "outcome": { "next_event": "shop_sell_menu" } },
{ "text": "Leave Shop", "outcome": { "next_event": "town_return" } }
]
},
{
"id": "shop_buy_menu",
"type": "shop_buy_menu",
"message": "Which item would you like to buy?"
},
{
"id": "shop_transaction",
"type": "shop_transaction"
},
{
"id": "shop_sell_menu",
"type": "shop_sell_menu",
"message": "Which item would you like to sell?"
},
{
"id": "sell_item",
"type": "shop_sell_transaction"
},
{
"id": "game_clear_event",
"type": "game_clear_final_state",
"message": "You have defeated the Goblin King and saved the forest! Game Clear!"
}
]
}