diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-09-02 23:10:07 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-09-02 23:10:07 +0200 |
commit | 5514b5912143fd96d57eb71525663c630ce57bb3 (patch) | |
tree | f5198606fef5d7cb0eee59b4583290c174c272ff /db | |
parent | 32b19aa9504ce24fe0e98a5c9e2fa2be9612fa88 (diff) |
fix areas missing items array
Diffstat (limited to 'db')
-rw-r--r-- | db/_generated/areas/candy-town.json | 2 | ||||
-rw-r--r-- | db/_generated/areas/cotton-town.json | 2 | ||||
-rw-r--r-- | db/_generated/areas/dryads-grove.json | 2 | ||||
-rw-r--r-- | db/_generated/areas/flower-city.json | 2 | ||||
-rw-r--r-- | db/_generated/areas/hospital-floor-1.json | 2 | ||||
-rw-r--r-- | db/_generated/areas/hospital-floor-2.json | 2 | ||||
-rw-r--r-- | db/_generated/areas/hospital-floor-3.json | 2 | ||||
-rw-r--r-- | db/_generated/areas/hospital.json | 2 | ||||
-rw-r--r-- | db/_generated/areas/leather-town.json | 2 | ||||
-rw-r--r-- | db/_generated/areas/paper-town.json | 2 | ||||
-rw-r--r-- | db/_generated/areas/sphalian-town.json | 2 | ||||
-rw-r--r-- | db/_generated/areas/timber-town.json | 2 | ||||
-rw-r--r-- | 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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 640\"\n>\n <image href=\"\/db\/maps\/Candy_Town.png\" \/>\n\n <rect data-location=\"scoop_store\" x=\"17\" y=\"144\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-area=\"hospital\" x=\"127\" y=\"431\" width=\"210\" height=\"130\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 640\"\n>\n <image href=\"\/db\/maps\/Candy_Town.png\" \/>\n\n <rect data-location=\"scoop_store\" x=\"17\" y=\"144\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-area=\"hospital\" x=\"127\" y=\"431\" width=\"210\" height=\"130\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 640\"\n>\n <image href=\"\/db\/maps\/Cotton_town.png\" \/>\n\n <rect data-location=\"healing_center\" x=\"288\" y=\"368\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-location=\"cotton_scoop\" x=\"448\" y=\"496\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 640\"\n>\n <image href=\"\/db\/maps\/Cotton_town.png\" \/>\n\n <rect data-location=\"healing_center\" x=\"288\" y=\"368\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-location=\"cotton_scoop\" x=\"448\" y=\"496\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 320\"\n>\n <image href=\"\/db\/maps\/Dryads_Grove.png\" \/>\n\n <rect\n data-encounter=\"volcoli\" data-encounter-level=\"55\"\n data-interactable=\"true\"\n x=\"544\" y=\"207\" width=\"16\" height=\"16\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 320\"\n>\n <image href=\"\/db\/maps\/Dryads_Grove.png\" \/>\n\n <rect\n data-encounter=\"volcoli\" data-encounter-level=\"55\"\n data-interactable=\"true\"\n x=\"544\" y=\"207\" width=\"16\" height=\"16\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 640\"\n>\n <image href=\"\/db\/maps\/Flower_City.png\" \/>\n\n <rect data-location=\"healing_center\" x=\"224\" y=\"192\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-location=\"scoop_store\" x=\"368\" y=\"320\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 640\"\n>\n <image href=\"\/db\/maps\/Flower_City.png\" \/>\n\n <rect data-location=\"healing_center\" x=\"224\" y=\"192\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-location=\"scoop_store\" x=\"368\" y=\"320\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 320 320\"\n>\n <image href=\"\/db\/maps\/hospital-floor-1.png\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 320 320\"\n>\n <image href=\"\/db\/maps\/hospital-floor-1.png\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 320 320\"\n>\n <image href=\"\/db\/maps\/hospital-floor-2.png\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 320 320\"\n>\n <image href=\"\/db\/maps\/hospital-floor-2.png\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 192 320\"\n>\n <image href=\"\/db\/maps\/hospital-floor-3.png\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 192 320\"\n>\n <image href=\"\/db\/maps\/hospital-floor-3.png\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 320 176\"\n>\n <image href=\"\/db\/maps\/hospital.png\" \/>\n\n <rect data-location=\"hospital\" x=\"64\" y=\"43\" width=\"32\" height=\"21\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 320 176\"\n>\n <image href=\"\/db\/maps\/hospital.png\" \/>\n\n <rect data-location=\"hospital\" x=\"64\" y=\"43\" width=\"32\" height=\"21\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 640\"\n>\n <image href=\"\/db\/maps\/Leather_Town.png\" \/>\n\n <rect data-location=\"healing_center\" x=\"336\" y=\"97\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-location=\"leather_scoop\" x=\"208\" y=\"97\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 640\"\n>\n <image href=\"\/db\/maps\/Leather_Town.png\" \/>\n\n <rect data-location=\"healing_center\" x=\"336\" y=\"97\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-location=\"leather_scoop\" x=\"208\" y=\"97\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 320\"\n>\n <image href=\"\/db\/maps\/Paper_town.png\" \/>\n\n <rect data-location=\"home\" x=\"113\" y=\"21\" width=\"78\" height=\"92\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-location=\"scoop_store\" x=\"272\" y=\"144\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n\n <!-- \n <rect\n data-story=\"select-starter-monster\"\n data-interactable=\"true\"\n x=\"353\" y=\"143\" width=\"14\" height=\"32\" stroke=\"red\" fill=\"transparent\"\n \/>\n <rect\n data-story=\"select-starter-monster\"\n data-interactable=\"true\"\n x=\"353\" y=\"175\" width=\"14\" height=\"34\" stroke=\"red\" fill=\"transparent\"\n \/>\n -->\n <rect\n data-story=\"select-starter-monster\"\n data-interactable=\"true\"\n x=\"481\" y=\"175\" width=\"14\" height=\"34\" stroke=\"red\" fill=\"transparent\"\n \/>\n\n <rect\n data-story=\"select-starter-monster\"\n data-interactable=\"true\"\n x=\"433\" y=\"143\" width=\"30\" height=\"18\" stroke=\"red\" fill=\"transparent\"\n \/>\n <rect\n data-story=\"select-starter-monster\"\n data-interactable=\"true\"\n x=\"465\" y=\"143\" width=\"30\" height=\"18\" stroke=\"red\" fill=\"transparent\"\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 320\"\n>\n <image href=\"\/db\/maps\/Paper_town.png\" \/>\n\n <rect data-location=\"home\" x=\"113\" y=\"21\" width=\"78\" height=\"92\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-location=\"scoop_store\" x=\"272\" y=\"144\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n\n <!-- \n <rect\n data-story=\"select-starter-monster\"\n data-interactable=\"true\"\n x=\"353\" y=\"143\" width=\"14\" height=\"32\" stroke=\"red\" fill=\"transparent\"\n \/>\n <rect\n data-story=\"select-starter-monster\"\n data-interactable=\"true\"\n x=\"353\" y=\"175\" width=\"14\" height=\"34\" stroke=\"red\" fill=\"transparent\"\n \/>\n -->\n <rect\n data-story=\"select-starter-monster\"\n data-interactable=\"true\"\n x=\"481\" y=\"175\" width=\"14\" height=\"34\" stroke=\"red\" fill=\"transparent\"\n \/>\n\n <rect\n data-story=\"select-starter-monster\"\n data-interactable=\"true\"\n x=\"433\" y=\"143\" width=\"30\" height=\"18\" stroke=\"red\" fill=\"transparent\"\n \/>\n <rect\n data-story=\"select-starter-monster\"\n data-interactable=\"true\"\n x=\"465\" y=\"143\" width=\"30\" height=\"18\" stroke=\"red\" fill=\"transparent\"\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 368 400\"\n>\n <image href=\"\/db\/maps\/Sphalian_town.png\" \/>\n\n <rect data-location=\"healing_center\" x=\"240\" y=\"48\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 368 400\"\n>\n <image href=\"\/db\/maps\/Sphalian_town.png\" \/>\n\n <rect data-location=\"healing_center\" x=\"240\" y=\"48\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 640\"\n>\n <image href=\"\/db\/maps\/Timber_Town.png\" \/>\n\n <rect data-location=\"healing_center\" x=\"96\" y=\"48\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-location=\"scoop_store\" x=\"191\" y=\"127\" width=\"82\" height=\"66\" stroke=\"red\" fill=\"transparent\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 640 640\"\n>\n <image href=\"\/db\/maps\/Timber_Town.png\" \/>\n\n <rect data-location=\"healing_center\" x=\"96\" y=\"48\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-location=\"scoop_store\" x=\"191\" y=\"127\" width=\"82\" height=\"66\" stroke=\"red\" fill=\"transparent\" \/>\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'] ?? ''; |