From 5514b5912143fd96d57eb71525663c630ce57bb3 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sat, 2 Sep 2023 23:10:07 +0200 Subject: fix areas missing items array --- db/_generated/areas/candy-town.json | 2 +- db/_generated/areas/cotton-town.json | 2 +- db/_generated/areas/dryads-grove.json | 2 +- db/_generated/areas/flower-city.json | 2 +- db/_generated/areas/hospital-floor-1.json | 2 +- db/_generated/areas/hospital-floor-2.json | 2 +- db/_generated/areas/hospital-floor-3.json | 2 +- db/_generated/areas/hospital.json | 2 +- db/_generated/areas/leather-town.json | 2 +- db/_generated/areas/paper-town.json | 2 +- db/_generated/areas/sphalian-town.json | 2 +- db/_generated/areas/timber-town.json | 2 +- db/areas.php | 5 +++++ 13 files changed, 17 insertions(+), 12 deletions(-) diff --git a/db/_generated/areas/candy-town.json b/db/_generated/areas/candy-town.json index 271f1ff..204c9da 100644 --- a/db/_generated/areas/candy-town.json +++ b/db/_generated/areas/candy-town.json @@ -1 +1 @@ -{"locations":{"scoop_store":{"type":"shop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10},{"item_name":"super_potion","price":40}],"modules\/tuxemon.economy":"spyder_candy_scoop"}},"connections":{"route6":{"conditions":[],"modules\/tuxemon.slug":"route6"},"sea-route-c":{"conditions":[],"modules\/tuxemon.slug":"routec"}},"modules\/tuxemon.slug":"candy_town","encounters":[],"requiredEncounters":0,"trainers":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file +{"locations":{"scoop_store":{"type":"shop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10},{"item_name":"super_potion","price":40}],"modules\/tuxemon.economy":"spyder_candy_scoop"}},"connections":{"route6":{"conditions":[],"modules\/tuxemon.slug":"route6"},"sea-route-c":{"conditions":[],"modules\/tuxemon.slug":"routec"}},"modules\/tuxemon.slug":"candy_town","encounters":[],"requiredEncounters":0,"trainers":[],"items":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/cotton-town.json b/db/_generated/areas/cotton-town.json index ebaf7ac..ef0d82b 100644 --- a/db/_generated/areas/cotton-town.json +++ b/db/_generated/areas/cotton-town.json @@ -1 +1 @@ -{"locations":{"healing_center":{"type":"healingCenter","price":10},"cotton_scoop":{"type":"shop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10}],"modules\/tuxemon.economy":"cotton_scoop"}},"connections":{"route1":{"conditions":[],"modules\/tuxemon.slug":"route1"},"route2":{"conditions":[],"modules\/tuxemon.slug":"route2"},"dryads-grove":{"conditions":["area.hospital-floor-3.complete"],"modules\/tuxemon.slug":"dryadsgrove"},"cotton-tunnel":{"conditions":["area.cotton-tunnel.complete"],"modules\/tuxemon.slug":"cotton_tunnel"}},"modules\/tuxemon.slug":"cotton_town","encounters":[],"requiredEncounters":0,"trainers":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file +{"locations":{"healing_center":{"type":"healingCenter","price":10},"cotton_scoop":{"type":"shop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10}],"modules\/tuxemon.economy":"cotton_scoop"}},"connections":{"route1":{"conditions":[],"modules\/tuxemon.slug":"route1"},"route2":{"conditions":[],"modules\/tuxemon.slug":"route2"},"dryads-grove":{"conditions":["area.hospital-floor-3.complete"],"modules\/tuxemon.slug":"dryadsgrove"},"cotton-tunnel":{"conditions":["area.cotton-tunnel.complete"],"modules\/tuxemon.slug":"cotton_tunnel"}},"modules\/tuxemon.slug":"cotton_town","encounters":[],"requiredEncounters":0,"trainers":[],"items":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/dryads-grove.json b/db/_generated/areas/dryads-grove.json index 7220998..e06c359 100644 --- a/db/_generated/areas/dryads-grove.json +++ b/db/_generated/areas/dryads-grove.json @@ -1 +1 @@ -{"trainers":[{"name":"Water Nymph","sprite":"waternymph.png","monsters":[{"slug":"noctalo","level":50},{"slug":"nudimind","level":50},{"slug":"vivisource","level":50}]},{"name":"Fire Nymph","sprite":"firenymph.png","monsters":[{"slug":"criniotherme","level":50},{"slug":"masknake","level":50},{"slug":"vivicinder","level":50}]},{"name":"Earth Nymph","sprite":"earthnymph.png","monsters":[{"slug":"exapode","level":50},{"slug":"sumchon","level":50},{"slug":"vividactil","level":50}]},{"name":"Metal Nymph","sprite":"metalnymph.png","monsters":[{"slug":"araignee","level":50},{"slug":"allagon","level":50},{"slug":"viviteel","level":50}]},{"name":"Wood Nymph","sprite":"woodnymph.png","monsters":[{"slug":"narcileaf","level":50},{"slug":"dandylion","level":50},{"slug":"viviphyta","level":50}]}],"connections":{"cotton-town":{"conditions":[],"modules\/tuxemon.slug":"cotton_town"}},"modules\/tuxemon.slug":"dryadsgrove","modules\/tuxemon.encounter":"dryadsgrove","modules\/tuxemon.environment":"forest","encounters":[{"monster":"coleorus","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[25,28],"encounter_percent":8},{"monster":"tourbidi","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[20,25],"encounter_percent":8},{"monster":"shybulb","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[25,28],"encounter_percent":25},{"monster":"narcileaf","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[25,28],"encounter_percent":25},{"monster":"sapsnap","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[28,30],"encounter_percent":25},{"monster":"lambert","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[25,28],"encounter_percent":8}],"encounter_percent_total":99,"requiredEncounters":0,"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"\/modules\/tuxemon\/mods\/tuxemon\/gfx\/ui\/combat\/forest_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n\n \n<\/svg>\n","locations":[]} \ No newline at end of file +{"trainers":[{"name":"Water Nymph","sprite":"waternymph.png","monsters":[{"slug":"noctalo","level":50},{"slug":"nudimind","level":50},{"slug":"vivisource","level":50}]},{"name":"Fire Nymph","sprite":"firenymph.png","monsters":[{"slug":"criniotherme","level":50},{"slug":"masknake","level":50},{"slug":"vivicinder","level":50}]},{"name":"Earth Nymph","sprite":"earthnymph.png","monsters":[{"slug":"exapode","level":50},{"slug":"sumchon","level":50},{"slug":"vividactil","level":50}]},{"name":"Metal Nymph","sprite":"metalnymph.png","monsters":[{"slug":"araignee","level":50},{"slug":"allagon","level":50},{"slug":"viviteel","level":50}]},{"name":"Wood Nymph","sprite":"woodnymph.png","monsters":[{"slug":"narcileaf","level":50},{"slug":"dandylion","level":50},{"slug":"viviphyta","level":50}]}],"connections":{"cotton-town":{"conditions":[],"modules\/tuxemon.slug":"cotton_town"}},"modules\/tuxemon.slug":"dryadsgrove","modules\/tuxemon.encounter":"dryadsgrove","modules\/tuxemon.environment":"forest","encounters":[{"monster":"coleorus","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[25,28],"encounter_percent":8},{"monster":"tourbidi","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[20,25],"encounter_percent":8},{"monster":"shybulb","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[25,28],"encounter_percent":25},{"monster":"narcileaf","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[25,28],"encounter_percent":25},{"monster":"sapsnap","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[28,30],"encounter_percent":25},{"monster":"lambert","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[25,28],"encounter_percent":8}],"encounter_percent_total":99,"requiredEncounters":0,"items":[],"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"\/modules\/tuxemon\/mods\/tuxemon\/gfx\/ui\/combat\/forest_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n\n \n<\/svg>\n","locations":[]} \ No newline at end of file diff --git a/db/_generated/areas/flower-city.json b/db/_generated/areas/flower-city.json index 4249165..a0b1913 100644 --- a/db/_generated/areas/flower-city.json +++ b/db/_generated/areas/flower-city.json @@ -1 +1 @@ -{"locations":{"healing_center":{"type":"healingCenter","price":30},"scoop_store":{"type":"shop","modules\/tuxemon.economy":"spyder_flower_scoop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10}]}},"connections":{"route4":{"conditions":[],"modules\/tuxemon.slug":"route4"},"route5":{"conditions":[],"modules\/tuxemon.slug":"route5"},"side-route-a":{"conditions":[],"modules\/tuxemon.slug":"routea"}},"modules\/tuxemon.slug":"flower_city","encounters":[],"requiredEncounters":0,"trainers":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file +{"locations":{"healing_center":{"type":"healingCenter","price":30},"scoop_store":{"type":"shop","modules\/tuxemon.economy":"spyder_flower_scoop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10}]}},"connections":{"route4":{"conditions":[],"modules\/tuxemon.slug":"route4"},"route5":{"conditions":[],"modules\/tuxemon.slug":"route5"},"side-route-a":{"conditions":[],"modules\/tuxemon.slug":"routea"}},"modules\/tuxemon.slug":"flower_city","encounters":[],"requiredEncounters":0,"trainers":[],"items":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/hospital-floor-1.json b/db/_generated/areas/hospital-floor-1.json index 47cfeac..5013174 100644 --- a/db/_generated/areas/hospital-floor-1.json +++ b/db/_generated/areas/hospital-floor-1.json @@ -1 +1 @@ -{"events":{"onEnter":[{"type":"story","story":"hospital-floor-1"}]},"connections":{"hospital":{"conditions":[],"modules\/tuxemon.slug":"hospital"},"hospital-floor-2":{"conditions":["story.hospital-floor-1"],"modules\/tuxemon.slug":"hospital2"}},"modules\/tuxemon.slug":"hospital1","modules\/tuxemon.environment":"interior","encounters":[],"requiredEncounters":0,"trainers":[],"environment":{"slug":"interior","battle_graphics":{"island_back":"paper_back_island.png","island_front":"paper_front_island.png","background":"\/modules\/tuxemon\/mods\/tuxemon\/gfx\/ui\/combat\/battle_bg03.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n","locations":[]} \ No newline at end of file +{"events":{"onEnter":[{"type":"story","story":"hospital-floor-1"}]},"connections":{"hospital":{"conditions":[],"modules\/tuxemon.slug":"hospital"},"hospital-floor-2":{"conditions":["story.hospital-floor-1"],"modules\/tuxemon.slug":"hospital2"}},"modules\/tuxemon.slug":"hospital1","modules\/tuxemon.environment":"interior","encounters":[],"requiredEncounters":0,"trainers":[],"items":[],"environment":{"slug":"interior","battle_graphics":{"island_back":"paper_back_island.png","island_front":"paper_front_island.png","background":"\/modules\/tuxemon\/mods\/tuxemon\/gfx\/ui\/combat\/battle_bg03.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n","locations":[]} \ No newline at end of file diff --git a/db/_generated/areas/hospital-floor-2.json b/db/_generated/areas/hospital-floor-2.json index 6444478..22f3165 100644 --- a/db/_generated/areas/hospital-floor-2.json +++ b/db/_generated/areas/hospital-floor-2.json @@ -1 +1 @@ -{"events":{"onEnter":[{"type":"story","story":"hospital-floor-2"}]},"connections":{"hospital-floor-1":{"conditions":[],"modules\/tuxemon.slug":"hospital1"},"hospital-floor-3":{"conditions":["story.hospital-floor-2"],"modules\/tuxemon.slug":"hospital3"}},"modules\/tuxemon.slug":"hospital2","modules\/tuxemon.environment":"interior","encounters":[],"requiredEncounters":0,"trainers":[],"environment":{"slug":"interior","battle_graphics":{"island_back":"paper_back_island.png","island_front":"paper_front_island.png","background":"\/modules\/tuxemon\/mods\/tuxemon\/gfx\/ui\/combat\/battle_bg03.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n","locations":[]} \ No newline at end of file +{"events":{"onEnter":[{"type":"story","story":"hospital-floor-2"}]},"connections":{"hospital-floor-1":{"conditions":[],"modules\/tuxemon.slug":"hospital1"},"hospital-floor-3":{"conditions":["story.hospital-floor-2"],"modules\/tuxemon.slug":"hospital3"}},"modules\/tuxemon.slug":"hospital2","modules\/tuxemon.environment":"interior","encounters":[],"requiredEncounters":0,"trainers":[],"items":[],"environment":{"slug":"interior","battle_graphics":{"island_back":"paper_back_island.png","island_front":"paper_front_island.png","background":"\/modules\/tuxemon\/mods\/tuxemon\/gfx\/ui\/combat\/battle_bg03.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n","locations":[]} \ No newline at end of file diff --git a/db/_generated/areas/hospital-floor-3.json b/db/_generated/areas/hospital-floor-3.json index 13a1fbb..fae8809 100644 --- a/db/_generated/areas/hospital-floor-3.json +++ b/db/_generated/areas/hospital-floor-3.json @@ -1 +1 @@ -{"events":{"onEnter":[{"type":"story","story":"hospital-floor-3"}]},"connections":{"hospital-floor-2":{"conditions":[],"modules\/tuxemon.slug":"hospital2"}},"modules\/tuxemon.slug":"hospital3","modules\/tuxemon.environment":"interior","encounters":[],"requiredEncounters":0,"trainers":[],"environment":{"slug":"interior","battle_graphics":{"island_back":"paper_back_island.png","island_front":"paper_front_island.png","background":"\/modules\/tuxemon\/mods\/tuxemon\/gfx\/ui\/combat\/battle_bg03.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n","locations":[]} \ No newline at end of file +{"events":{"onEnter":[{"type":"story","story":"hospital-floor-3"}]},"connections":{"hospital-floor-2":{"conditions":[],"modules\/tuxemon.slug":"hospital2"}},"modules\/tuxemon.slug":"hospital3","modules\/tuxemon.environment":"interior","encounters":[],"requiredEncounters":0,"trainers":[],"items":[],"environment":{"slug":"interior","battle_graphics":{"island_back":"paper_back_island.png","island_front":"paper_front_island.png","background":"\/modules\/tuxemon\/mods\/tuxemon\/gfx\/ui\/combat\/battle_bg03.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n","locations":[]} \ No newline at end of file diff --git a/db/_generated/areas/hospital.json b/db/_generated/areas/hospital.json index d4b35a9..683e185 100644 --- a/db/_generated/areas/hospital.json +++ b/db/_generated/areas/hospital.json @@ -1 +1 @@ -{"locations":{"hospital":{"type":"healingCenter","price":30}},"connections":{"candy-town":{"conditions":[],"modules\/tuxemon.slug":"candy_town"},"hospital-floor-1":{"conditions":[],"modules\/tuxemon.slug":"hospital1"}},"modules\/tuxemon.slug":"hospital","encounters":[],"requiredEncounters":0,"trainers":[],"environment":null,"map":"\n \n\n \n<\/svg>\n"} \ No newline at end of file +{"locations":{"hospital":{"type":"healingCenter","price":30}},"connections":{"candy-town":{"conditions":[],"modules\/tuxemon.slug":"candy_town"},"hospital-floor-1":{"conditions":[],"modules\/tuxemon.slug":"hospital1"}},"modules\/tuxemon.slug":"hospital","encounters":[],"requiredEncounters":0,"trainers":[],"items":[],"environment":null,"map":"\n \n\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/leather-town.json b/db/_generated/areas/leather-town.json index b9cbbd6..f6323f6 100644 --- a/db/_generated/areas/leather-town.json +++ b/db/_generated/areas/leather-town.json @@ -1 +1 @@ -{"locations":{"healing_center":{"type":"healingCenter","price":20},"leather_scoop":{"type":"shop","modules\/tuxemon.economy":"leather_scoop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10}]}},"connections":{"city-park":{"conditions":[],"modules\/tuxemon.slug":"citypark"},"route3":{"conditions":[],"modules\/tuxemon.slug":"route3"}},"modules\/tuxemon.slug":"leather_town","encounters":[],"requiredEncounters":0,"trainers":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file +{"locations":{"healing_center":{"type":"healingCenter","price":20},"leather_scoop":{"type":"shop","modules\/tuxemon.economy":"leather_scoop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10}]}},"connections":{"city-park":{"conditions":[],"modules\/tuxemon.slug":"citypark"},"route3":{"conditions":[],"modules\/tuxemon.slug":"route3"}},"modules\/tuxemon.slug":"leather_town","encounters":[],"requiredEncounters":0,"trainers":[],"items":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/paper-town.json b/db/_generated/areas/paper-town.json index 4bd2be7..1674e10 100644 --- a/db/_generated/areas/paper-town.json +++ b/db/_generated/areas/paper-town.json @@ -1 +1 @@ -{"locations":{"home":{"type":"healingCenter","price":0},"scoop_store":{"type":"shop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10}],"modules\/tuxemon.economy":"spyder_paper_mart"}},"connections":{"sea-route-c":{"conditions":["area.sea-route-c.completed"],"modules\/tuxemon.slug":"routec"},"route1":{"conditions":["story.select-starter-monster"],"modules\/tuxemon.slug":"route1"}},"modules\/tuxemon.slug":"paper_town","modules\/tuxemon.environment":"grass","encounters":[],"requiredEncounters":0,"trainers":[],"environment":{"slug":"grass","battle_graphics":{"island_back":"grass_island.png","island_front":"grass_island.png","background":"\/modules\/tuxemon\/mods\/tuxemon\/gfx\/ui\/combat\/grass_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n\n \n \n\n \n \n\n \n \n<\/svg>\n"} \ No newline at end of file +{"locations":{"home":{"type":"healingCenter","price":0},"scoop_store":{"type":"shop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10}],"modules\/tuxemon.economy":"spyder_paper_mart"}},"connections":{"sea-route-c":{"conditions":["area.sea-route-c.completed"],"modules\/tuxemon.slug":"routec"},"route1":{"conditions":["story.select-starter-monster"],"modules\/tuxemon.slug":"route1"}},"modules\/tuxemon.slug":"paper_town","modules\/tuxemon.environment":"grass","encounters":[],"requiredEncounters":0,"trainers":[],"items":[],"environment":{"slug":"grass","battle_graphics":{"island_back":"grass_island.png","island_front":"grass_island.png","background":"\/modules\/tuxemon\/mods\/tuxemon\/gfx\/ui\/combat\/grass_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n\n \n \n\n \n \n\n \n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/sphalian-town.json b/db/_generated/areas/sphalian-town.json index 83a818a..eebc45d 100644 --- a/db/_generated/areas/sphalian-town.json +++ b/db/_generated/areas/sphalian-town.json @@ -1 +1 @@ -{"locations":{"healing_center":{"type":"healingCenter","price":40}},"connections":{"route7":{"conditions":[],"modules\/tuxemon.slug":"route7"},"lion-mountain":{"conditions":[],"modules\/tuxemon.slug":"lion_mountain"}},"modules\/tuxemon.slug":"sphalian_town","encounters":[],"requiredEncounters":0,"trainers":[],"environment":null,"map":"\n \n\n \n<\/svg>\n"} \ No newline at end of file +{"locations":{"healing_center":{"type":"healingCenter","price":40}},"connections":{"route7":{"conditions":[],"modules\/tuxemon.slug":"route7"},"lion-mountain":{"conditions":[],"modules\/tuxemon.slug":"lion_mountain"}},"modules\/tuxemon.slug":"sphalian_town","encounters":[],"requiredEncounters":0,"trainers":[],"items":[],"environment":null,"map":"\n \n\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/timber-town.json b/db/_generated/areas/timber-town.json index 57906eb..6567d2c 100644 --- a/db/_generated/areas/timber-town.json +++ b/db/_generated/areas/timber-town.json @@ -1 +1 @@ -{"locations":{"healing_center":{"type":"healingCenter","price":20},"scoop_store":{"type":"shop","modules\/tuxemon.economy":"spyder_timber_scoop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10},{"item_name":"tuxeball_wood","price":150},{"item_name":"tuxeball_fire","price":150},{"item_name":"tuxeball_earth","price":150},{"item_name":"tuxeball_metal","price":150},{"item_name":"tuxeball_water","price":150},{"item_name":"wood_booster","price":1000},{"item_name":"fire_booster","price":1000},{"item_name":"earth_booster","price":1000},{"item_name":"metal_booster","price":1000},{"item_name":"water_booster","price":1000}]}},"connections":{"route5":{"conditions":[],"modules\/tuxemon.slug":"route5"},"tunnel-b":{"conditions":[],"modules\/tuxemon.slug":"tunnel"}},"modules\/tuxemon.slug":"timber_town","encounters":[],"requiredEncounters":0,"trainers":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file +{"locations":{"healing_center":{"type":"healingCenter","price":20},"scoop_store":{"type":"shop","modules\/tuxemon.economy":"spyder_timber_scoop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10},{"item_name":"tuxeball_wood","price":150},{"item_name":"tuxeball_fire","price":150},{"item_name":"tuxeball_earth","price":150},{"item_name":"tuxeball_metal","price":150},{"item_name":"tuxeball_water","price":150},{"item_name":"wood_booster","price":1000},{"item_name":"fire_booster","price":1000},{"item_name":"earth_booster","price":1000},{"item_name":"metal_booster","price":1000},{"item_name":"water_booster","price":1000}]}},"connections":{"route5":{"conditions":[],"modules\/tuxemon.slug":"route5"},"tunnel-b":{"conditions":[],"modules\/tuxemon.slug":"tunnel"}},"modules\/tuxemon.slug":"timber_town","encounters":[],"requiredEncounters":0,"trainers":[],"items":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/areas.php b/db/areas.php index fd0943a..b644a9d 100644 --- a/db/areas.php +++ b/db/areas.php @@ -42,6 +42,11 @@ foreach (scandir(__DIR__ . '/areas') as $file) { $area['trainers'] ??= []; + // items + + $area['items'] ??= []; + + // environment $environmentSlug = $area['modules/tuxemon.environment'] ?? ''; -- cgit v1.2.3