From 7b1c251fcb085dc37de439ea1137373f1905d82e Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 23 Aug 2023 20:29:07 +0200 Subject: areas and capture and more --- db/_generated/areas/candy-town.json | 1 + db/_generated/areas/city-park.json | 2 +- db/_generated/areas/flower-city.json | 1 + db/_generated/areas/leather-town.json | 2 +- db/_generated/areas/lion-mountain.json | 1 + db/_generated/areas/paper-town.json | 2 +- db/_generated/areas/route1.json | 2 +- db/_generated/areas/route2.json | 2 +- db/_generated/areas/route3.json | 2 +- db/_generated/areas/route4.json | 1 + db/_generated/areas/route5.json | 1 + db/_generated/areas/route6.json | 1 + db/_generated/areas/route7.json | 1 + db/_generated/areas/sea-route-c.json | 1 + db/_generated/areas/side-route-a.json | 1 + db/_generated/areas/sphalian-town.json | 1 + db/_generated/areas/timber-town.json | 1 + db/_generated/areas/tunnel-b.json | 1 + db/areas.php | 7 +++- db/areas/candy-town.json | 26 ++++++++++++++ db/areas/city-park.json | 3 +- db/areas/flower-city.json | 42 ++++++++++++++++++++++ db/areas/lion-mountain.json | 34 ++++++++++++++++++ db/areas/paper-town.json | 34 +++++++++--------- db/areas/route1.json | 2 +- db/areas/route2.json | 6 ++-- db/areas/route3.json | 7 ++++ db/areas/route4.json | 63 +++++++++++++++++++++++++++++++++ db/areas/route5.json | 45 +++++++++++++++++++++++ db/areas/route6.json | 45 +++++++++++++++++++++++ db/areas/route7.json | 49 +++++++++++++++++++++++++ db/areas/sea-route-c.json | 37 +++++++++++++++++++ db/areas/side-route-a.json | 49 +++++++++++++++++++++++++ db/areas/sphalian-town.json | 20 +++++++++++ db/areas/timber-town.json | 26 ++++++++++++++ db/areas/tunnel-b.json | 45 +++++++++++++++++++++++ db/maps/Buddha_mountain.png | Bin 0 -> 273750 bytes db/maps/Candy_Town.png | Bin 0 -> 81863 bytes db/maps/City_park.png | Bin 0 -> 64260 bytes db/maps/Flower_City.png | Bin 0 -> 70997 bytes db/maps/Leather_Town.png | Bin 0 -> 93541 bytes db/maps/Paper_town.png | Bin 0 -> 37887 bytes db/maps/Route_1.png | Bin 0 -> 32549 bytes db/maps/Route_2.png | Bin 0 -> 50363 bytes db/maps/Route_3.png | Bin 0 -> 94897 bytes db/maps/Route_4.png | Bin 0 -> 36668 bytes db/maps/Route_5.png | Bin 0 -> 49869 bytes db/maps/Route_6.png | Bin 0 -> 32650 bytes db/maps/Route_7.png | Bin 0 -> 82231 bytes db/maps/Sea_Route_C.png | Bin 0 -> 52069 bytes db/maps/Side_Route_A.png | Bin 0 -> 48239 bytes db/maps/Sphalian_town.png | Bin 0 -> 34948 bytes db/maps/Timber_Town.png | Bin 0 -> 82872 bytes db/maps/Tunnel_Route_B.png | Bin 0 -> 45757 bytes db/maps/Tunnel_Route_B_-_Below.png | Bin 0 -> 35832 bytes db/maps/candy-town.svg | 10 ++++++ db/maps/city-park.svg | 7 ++++ db/maps/flower-city.svg | 10 ++++++ db/maps/leather-town.svg | 13 +++++++ db/maps/lion-mountain.svg | 7 ++++ db/maps/paper-town.svg | 10 ++++++ db/maps/route1.svg | 7 ++++ db/maps/route2.svg | 7 ++++ db/maps/route3.svg | 7 ++++ db/maps/route4.svg | 7 ++++ db/maps/route5.svg | 7 ++++ db/maps/route6.svg | 7 ++++ db/maps/route7.svg | 7 ++++ db/maps/sea-route-c.svg | 7 ++++ db/maps/side-route-a.svg | 7 ++++ db/maps/sphalian-town.svg | 9 +++++ db/maps/timber-town.svg | 10 ++++++ db/maps/tunnel-b-underground.svg | 7 ++++ db/maps/tunnel-b.svg | 7 ++++ 74 files changed, 686 insertions(+), 31 deletions(-) create mode 100644 db/_generated/areas/candy-town.json create mode 100644 db/_generated/areas/flower-city.json create mode 100644 db/_generated/areas/lion-mountain.json create mode 100644 db/_generated/areas/route4.json create mode 100644 db/_generated/areas/route5.json create mode 100644 db/_generated/areas/route6.json create mode 100644 db/_generated/areas/route7.json create mode 100644 db/_generated/areas/sea-route-c.json create mode 100644 db/_generated/areas/side-route-a.json create mode 100644 db/_generated/areas/sphalian-town.json create mode 100644 db/_generated/areas/timber-town.json create mode 100644 db/_generated/areas/tunnel-b.json create mode 100644 db/areas/candy-town.json create mode 100644 db/areas/flower-city.json create mode 100644 db/areas/lion-mountain.json create mode 100644 db/areas/route4.json create mode 100644 db/areas/route5.json create mode 100644 db/areas/route6.json create mode 100644 db/areas/route7.json create mode 100644 db/areas/sea-route-c.json create mode 100644 db/areas/side-route-a.json create mode 100644 db/areas/sphalian-town.json create mode 100644 db/areas/timber-town.json create mode 100644 db/areas/tunnel-b.json create mode 100644 db/maps/Buddha_mountain.png create mode 100644 db/maps/Candy_Town.png create mode 100644 db/maps/City_park.png create mode 100644 db/maps/Flower_City.png create mode 100644 db/maps/Leather_Town.png create mode 100644 db/maps/Paper_town.png create mode 100644 db/maps/Route_1.png create mode 100644 db/maps/Route_2.png create mode 100644 db/maps/Route_3.png create mode 100644 db/maps/Route_4.png create mode 100644 db/maps/Route_5.png create mode 100644 db/maps/Route_6.png create mode 100644 db/maps/Route_7.png create mode 100644 db/maps/Sea_Route_C.png create mode 100644 db/maps/Side_Route_A.png create mode 100644 db/maps/Sphalian_town.png create mode 100644 db/maps/Timber_Town.png create mode 100644 db/maps/Tunnel_Route_B.png create mode 100644 db/maps/Tunnel_Route_B_-_Below.png create mode 100644 db/maps/candy-town.svg create mode 100644 db/maps/city-park.svg create mode 100644 db/maps/flower-city.svg create mode 100644 db/maps/leather-town.svg create mode 100644 db/maps/lion-mountain.svg create mode 100644 db/maps/paper-town.svg create mode 100644 db/maps/route1.svg create mode 100644 db/maps/route2.svg create mode 100644 db/maps/route3.svg create mode 100644 db/maps/route4.svg create mode 100644 db/maps/route5.svg create mode 100644 db/maps/route6.svg create mode 100644 db/maps/route7.svg create mode 100644 db/maps/sea-route-c.svg create mode 100644 db/maps/side-route-a.svg create mode 100644 db/maps/sphalian-town.svg create mode 100644 db/maps/timber-town.svg create mode 100644 db/maps/tunnel-b-underground.svg create mode 100644 db/maps/tunnel-b.svg (limited to 'db') diff --git a/db/_generated/areas/candy-town.json b/db/_generated/areas/candy-town.json new file mode 100644 index 0000000..a11f4b4 --- /dev/null +++ b/db/_generated/areas/candy-town.json @@ -0,0 +1 @@ +{"name":"Candy Town","locations":{"hospital":{"type":"healingCenter","price":30},"scoop_store":{"type":"shop","economy":"spyder_candy_scoop","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10}]}},"connections":{"route6":{"conditions":[],"name":"Route 6"},"sea-route-c":{"conditions":[],"name":"Sea Route C"}},"encounters":[],"requiredEncounters":0,"trainers":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/city-park.json b/db/_generated/areas/city-park.json index 9080b55..f6621fb 100644 --- a/db/_generated/areas/city-park.json +++ b/db/_generated/areas/city-park.json @@ -1 +1 @@ -{"name":"City Park","encounter_slug":"citypark","encounters":[{"monster":"cardiling","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[5,8]},{"monster":"cardiwing","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[8,11]},{"monster":"cataspike","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[6,9]},{"monster":"eyenemy","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[5,8]},{"monster":"axylightl","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[8,12]},{"monster":"tourbidi","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[8,12]},{"monster":"squabbit","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[8,12]},{"monster":"puparmor","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[9,14]}],"requiredEncounters":10,"trainers":[{"name":"Frances","sprite":"florist.png","monsters":[{"slug":"shybulb","level":8},{"slug":"shybulb","level":8}],"inventory":[]}],"environment_slug":"forest","connections":{"route2":{"conditions":[],"name":"Route 2"},"leather-town":{"conditions":["encounters","trainers"],"name":"Leather Town"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":false} \ No newline at end of file +{"name":"City Park","encounter_slug":"citypark","encounters":[{"monster":"cardiling","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[5,8]},{"monster":"cardiwing","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[8,11]},{"monster":"cataspike","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[6,9]},{"monster":"eyenemy","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[5,8]},{"monster":"axylightl","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[8,12]},{"monster":"tourbidi","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[8,12]},{"monster":"squabbit","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[8,12]},{"monster":"puparmor","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[9,14]}],"requiredEncounters":10,"trainers":[{"name":"Frances","sprite":"florist.png","monsters":[{"slug":"shybulb","level":8},{"slug":"shybulb","level":8}]}],"environment_slug":"forest","connections":{"route2":{"conditions":[],"name":"Route 2"},"leather-town":{"conditions":["encounters","trainers"],"name":"Leather Town"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/flower-city.json b/db/_generated/areas/flower-city.json new file mode 100644 index 0000000..477399d --- /dev/null +++ b/db/_generated/areas/flower-city.json @@ -0,0 +1 @@ +{"name":"Flower City","encounter_slug":"","encounters":[],"requiredEncounters":0,"trainers":[],"environment_slug":"interior","locations":{"healing_center":{"type":"healingCenter","price":30},"scoop_store":{"type":"shop","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}]}},"events":[],"connections":{"route4":{"conditions":[],"name":"Route 4"},"route5":{"conditions":[],"name":"Route 5"},"side-route-a":{"conditions":[],"name":"Side Route A"}},"environment":{"slug":"interior","battle_graphics":{"island_back":"paper_back_island.png","island_front":"paper_front_island.png","background":"battle_bg03.png"},"battle_music":"music_battle_loop"},"map":"\n \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 9cd0551..fc0e69e 100644 --- a/db/_generated/areas/leather-town.json +++ b/db/_generated/areas/leather-town.json @@ -1 +1 @@ -{"name":"Leather Town","encounter_slug":"","encounters":[],"requiredEncounters":0,"trainers":[],"environment_slug":"interior","shops":{"leather_scoop":[]},"connections":{"city-park":{"conditions":[],"name":"City Park"},"route3":{"conditions":[],"name":"Route 3"}},"environment":{"slug":"interior","battle_graphics":{"island_back":"paper_back_island.png","island_front":"paper_front_island.png","background":"battle_bg03.png"},"battle_music":"music_battle_loop"},"map":false} \ No newline at end of file +{"name":"Leather Town","encounter_slug":"","encounters":[],"requiredEncounters":0,"trainers":[],"environment_slug":"interior","locations":{"healing_center":{"type":"healingCenter","price":20},"leather_scoop":{"type":"shop","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":[],"name":"City Park"},"route3":{"conditions":[],"name":"Route 3"}},"environment":{"slug":"interior","battle_graphics":{"island_back":"paper_back_island.png","island_front":"paper_front_island.png","background":"battle_bg03.png"},"battle_music":"music_battle_loop"},"map":"\n \n\n Healing Center<\/text>\n \n\n Shop<\/text>\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/lion-mountain.json b/db/_generated/areas/lion-mountain.json new file mode 100644 index 0000000..9edf988 --- /dev/null +++ b/db/_generated/areas/lion-mountain.json @@ -0,0 +1 @@ +{"name":"Lion Mountain","encounter_slug":"lion_mountain","encounters":[{"monster":"snowrilla","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[55,65]},{"monster":"snowrilla","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[65,75]},{"monster":"tadcool","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[55,65]},{"monster":"tadcool","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[65,75]},{"monster":"chillimp","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[55,65]},{"monster":"chillimp","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[65,75]},{"monster":"tux","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[55,65]},{"monster":"tux","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[65,75]}],"requiredEncounters":10,"trainers":[{"name":"Miner Jacques","sprite":"monk.png","monsters":[{"slug":"heronquak","level":55},{"slug":"jemuar","level":60}]}],"environment_slug":"snow","connections":{"sphalian-town":{"conditions":[],"name":"Sphalian Town"}},"environment":{"slug":"snow","battle_graphics":{"island_back":"snow_island.png","island_front":"snow_island.png","background":"snow_background.png"},"battle_music":"music_battle_loop"},"map":"\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 6a41be0..0a763ad 100644 --- a/db/_generated/areas/paper-town.json +++ b/db/_generated/areas/paper-town.json @@ -1 +1 @@ -{"name":"Paper Town","encounter_slug":"","encounters":[],"requiredEncounters":0,"trainers":[{"name":"Rival","monsters":[{"slug":"STARTER","level":2}],"inventory":[]}],"environment_slug":"interior","connections":{"route1":{"conditions":["encounters","trainers"],"name":"Route 1"}},"environment":{"slug":"interior","battle_graphics":{"island_back":"paper_back_island.png","island_front":"paper_front_island.png","background":"battle_bg03.png"},"battle_music":"music_battle_loop"},"map":false} \ No newline at end of file +{"name":"Paper Town","locations":{"scoop_store":{"type":"shop","economy":"spyder_paper_mart","items":[{"item_name":"potion","price":20,"cost":5},{"item_name":"revive","price":100,"cost":20},{"item_name":"tuxeball","price":50,"cost":10}]}},"connections":{"route1":{"conditions":["encounters","trainers"],"name":"Route 1"},"sea-route-c":{"conditions":["area.sea-route-c"],"name":"Sea Route C"}},"encounters":[],"requiredEncounters":0,"trainers":[],"environment":null,"map":"\n \n\n Shop<\/text>\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/route1.json b/db/_generated/areas/route1.json index 02a1af0..d9b88ed 100644 --- a/db/_generated/areas/route1.json +++ b/db/_generated/areas/route1.json @@ -1 +1 @@ -{"name":"Route 1","encounter_slug":"route1","encounters":[{"monster":"pairagrin","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4]},{"monster":"aardorn","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4]},{"monster":"cataspike","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4]},{"monster":"pairagrin","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[3,5]},{"monster":"aardorn","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[3,5]},{"monster":"cataspike","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[3,5]}],"requiredEncounters":10,"trainers":[{"name":"Bruder Mikki","sprite":"dragonrider.png","monsters":[{"slug":"memnomnom","level":5},{"slug":"jelillow","level":5}],"inventory":[{"slug":"potion","quantity":2}]}],"environment_slug":"forest","connections":{"paper-town":{"conditions":[],"name":"Paper Town"},"cotton-town":{"conditions":["encounters","trainers"],"name":"Cotton Town"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":false} \ No newline at end of file +{"name":"Route 1","encounter_slug":"route1","encounters":[{"monster":"pairagrin","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4]},{"monster":"aardorn","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4]},{"monster":"cataspike","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4]},{"monster":"pairagrin","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[3,5]},{"monster":"aardorn","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[3,5]},{"monster":"cataspike","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[3,5]}],"requiredEncounters":10,"trainers":[{"name":"Bruder Mikki","sprite":"adventurer.png","monsters":[{"slug":"memnomnom","level":5},{"slug":"jelillow","level":5}],"inventory":[{"slug":"potion","quantity":2}]}],"environment_slug":"forest","connections":{"paper-town":{"conditions":[],"name":"Paper Town"},"cotton-town":{"conditions":["encounters","trainers"],"name":"Cotton Town"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/route2.json b/db/_generated/areas/route2.json index 5ef92c5..5511453 100644 --- a/db/_generated/areas/route2.json +++ b/db/_generated/areas/route2.json @@ -1 +1 @@ -{"name":"Route 2","encounter_slug":"route2","encounters":[{"monster":"cardiling","encounter_rate":2.5,"daytime":true,"exp_req_mod":1,"level_range":[3,6]},{"monster":"aardorn","encounter_rate":2.5,"daytime":true,"exp_req_mod":1,"level_range":[3,6]},{"monster":"eyenemy","encounter_rate":2.5,"daytime":true,"exp_req_mod":1,"level_range":[3,6]},{"monster":"axylightl","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[4,7]},{"monster":"cataspike","encounter_rate":2.5,"daytime":true,"exp_req_mod":1,"level_range":[3,6]},{"monster":"cardiling","encounter_rate":2.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6]},{"monster":"aardorn","encounter_rate":2.5,"daytime":false,"exp_req_mod":1,"level_range":[4,8]},{"monster":"eyenemy","encounter_rate":2.5,"daytime":false,"exp_req_mod":1,"level_range":[4,8]},{"monster":"axylightl","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[5,8]},{"monster":"cataspike","encounter_rate":2.5,"daytime":false,"exp_req_mod":1,"level_range":[4,8]}],"requiredEncounters":10,"trainers":[{"name":"Rival","monsters":[{"slug":"cardiling","level":3},{"slug":"eyenemy","level":6},{"slug":"STARTER","level":6}],"inventory":[]}],"environment_slug":"forest","connections":{"cotton-town":{"conditions":[],"name":"Cotton Town"},"city-park":{"conditions":["encounters","trainers"],"name":"City Park"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":false} \ No newline at end of file +{"name":"Route 2","encounter_slug":"route2","encounters":[{"monster":"cardiling","encounter_rate":2.5,"daytime":true,"exp_req_mod":1,"level_range":[3,6]},{"monster":"aardorn","encounter_rate":2.5,"daytime":true,"exp_req_mod":1,"level_range":[3,6]},{"monster":"eyenemy","encounter_rate":2.5,"daytime":true,"exp_req_mod":1,"level_range":[3,6]},{"monster":"axylightl","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[4,7]},{"monster":"cataspike","encounter_rate":2.5,"daytime":true,"exp_req_mod":1,"level_range":[3,6]},{"monster":"cardiling","encounter_rate":2.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6]},{"monster":"aardorn","encounter_rate":2.5,"daytime":false,"exp_req_mod":1,"level_range":[4,8]},{"monster":"eyenemy","encounter_rate":2.5,"daytime":false,"exp_req_mod":1,"level_range":[4,8]},{"monster":"axylightl","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[5,8]},{"monster":"cataspike","encounter_rate":2.5,"daytime":false,"exp_req_mod":1,"level_range":[4,8]}],"requiredEncounters":10,"trainers":[{"name":"Rival Billie","sprite":"fashionista.png","monsters":[{"slug":"cardiling","level":3},{"slug":"eyenemy","level":6},{"slug":"STARTER","level":6}]}],"environment_slug":"forest","connections":{"cotton-town":{"conditions":[],"name":"Cotton Town"},"city-park":{"conditions":["encounters","trainers"],"name":"City Park"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/route3.json b/db/_generated/areas/route3.json index fbd07f4..ca197c7 100644 --- a/db/_generated/areas/route3.json +++ b/db/_generated/areas/route3.json @@ -1 +1 @@ -{"name":"Route 3","encounter_slug":"route3","encounters":[{"monster":"cardiling","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[7,10]},{"monster":"elofly","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[7,10]},{"monster":"squabbit","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[8,11]},{"monster":"shybulb","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[7,10]},{"monster":"cardiling","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[9,12]},{"monster":"elofly","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[9,12]},{"monster":"squabbit","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[9,12]},{"monster":"shybulb","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[9,12]}],"requiredEncounters":10,"trainers":[{"name":"Miner Roxby","sprite":"miner.png","monsters":[{"slug":"rockitten","level":13},{"slug":"ignibus","level":13}]}],"environment_slug":"forest","connections":{"leather-town":{"conditions":[],"name":"Leather Town"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":false} \ No newline at end of file +{"name":"Route 3","encounter_slug":"route3","encounters":[{"monster":"cardiling","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[7,10]},{"monster":"elofly","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[7,10]},{"monster":"squabbit","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[8,11]},{"monster":"shybulb","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[7,10]},{"monster":"cardiling","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[9,12]},{"monster":"elofly","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[9,12]},{"monster":"squabbit","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[9,12]},{"monster":"shybulb","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[9,12]}],"requiredEncounters":10,"trainers":[{"name":"Miner Roxby","sprite":"miner.png","monsters":[{"slug":"rockitten","level":13},{"slug":"ignibus","level":13}]}],"environment_slug":"forest","connections":{"leather-town":{"conditions":[],"name":"Leather Town"},"route4":{"conditions":["encounters","trainers"],"name":"Route 4"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/route4.json b/db/_generated/areas/route4.json new file mode 100644 index 0000000..0e2fe11 --- /dev/null +++ b/db/_generated/areas/route4.json @@ -0,0 +1 @@ +{"name":"Route 4","encounter_slug":"route4","encounters":[{"monster":"elofly","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[11,14]},{"monster":"sapsnap","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[12,15]},{"monster":"aardorn","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[11,14]},{"monster":"katapill","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[11,14]},{"monster":"elofly","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[13,16]},{"monster":"sapsnap","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[13,16]},{"monster":"aardorn","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[13,16]},{"monster":"katapill","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[13,16]}],"requiredEncounters":10,"trainers":[{"name":"Soldier Marshall","sprite":"soldier.png","monsters":[{"slug":"puparmor","level":16},{"slug":"puparmor","level":16}]},{"name":"Rival Billie","sprite":"fashionista.png","monsters":[{"slug":"cardiwing","level":16},{"slug":"eyesore","level":16},{"slug":"viviphyta","level":16},{"slug":"STARTER","level":18}]}],"environment_slug":"forest","connections":{"route3":{"conditions":[],"name":"Route 3"},"flower-city":{"conditions":["encounters","trainers"],"name":"Flower City"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/route5.json b/db/_generated/areas/route5.json new file mode 100644 index 0000000..e0677fe --- /dev/null +++ b/db/_generated/areas/route5.json @@ -0,0 +1 @@ +{"name":"Route 5","encounter_slug":"route5","encounters":[{"monster":"foofle","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[19,23]},{"monster":"vamporm","encounter_rate":3,"daytime":true,"exp_req_mod":1,"level_range":[16,20]},{"monster":"dracune","encounter_rate":1,"daytime":true,"exp_req_mod":1,"level_range":[18,22]},{"monster":"anoleaf","encounter_rate":3,"daytime":false,"exp_req_mod":1,"level_range":[18,22]},{"monster":"gectile","encounter_rate":1,"daytime":false,"exp_req_mod":1,"level_range":[22,26]}],"requiredEncounters":10,"trainers":[{"name":"Soldier Hunter","sprite":"soldier.png","monsters":[{"slug":"elofly","level":16},{"slug":"elofly","level":16},{"slug":"elowind","level":18}]}],"environment_slug":"forest","connections":{"flower-city":{"conditions":[],"name":"Flower City"},"timber-town":{"conditions":["encounters","trainers"],"name":"Timber Town"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/route6.json b/db/_generated/areas/route6.json new file mode 100644 index 0000000..3c8f520 --- /dev/null +++ b/db/_generated/areas/route6.json @@ -0,0 +1 @@ +{"name":"Route 6","encounter_slug":"route6","encounters":[{"monster":"dandicub","encounter_rate":10,"daytime":true,"exp_req_mod":1,"level_range":[19,20]},{"monster":"dandylion","encounter_rate":5,"daytime":true,"exp_req_mod":1,"level_range":[21,23]},{"monster":"capiti","encounter_rate":10,"daytime":true,"exp_req_mod":1,"level_range":[19,22]},{"monster":"dandicub","encounter_rate":10,"daytime":false,"exp_req_mod":1,"level_range":[20,24]},{"monster":"dandylion","encounter_rate":5,"daytime":false,"exp_req_mod":1,"level_range":[22,24]},{"monster":"capiti","encounter_rate":10,"daytime":false,"exp_req_mod":1,"level_range":[20,24]}],"requiredEncounters":10,"trainers":[{"name":"Florist Frances","sprite":"florist.png","monsters":[{"slug":"narcileaf","level":30},{"slug":"shybulb","level":30},{"slug":"shybulb","level":30}]}],"environment_slug":"forest","connections":{"tunnel-b":{"conditions":[],"name":"Tunnel B"},"candy-town":{"conditions":["encounters","trainers"],"name":"Candy Town"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/route7.json b/db/_generated/areas/route7.json new file mode 100644 index 0000000..dffa7b4 --- /dev/null +++ b/db/_generated/areas/route7.json @@ -0,0 +1 @@ +{"name":"Route 7","encounter_slug":"route7","encounters":[{"monster":"pairagrim","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[35,40]},{"monster":"aardart","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[35,40]},{"monster":"weavifly","encounter_rate":3.5,"daytime":true,"exp_req_mod":1,"level_range":[35,40]},{"monster":"pantherafira","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[35,40]},{"monster":"flacono","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[35,40]},{"monster":"slichen","encounter_rate":3.5,"daytime":false,"exp_req_mod":1,"level_range":[35,40]}],"requiredEncounters":10,"trainers":[{"name":"Monk Statius","sprite":"monk.png","monsters":[{"slug":"aardart","level":30},{"slug":"pairagrim","level":30},{"slug":"bolt","level":30},{"slug":"fribbit","level":30}]}],"environment_slug":"forest","connections":{"side-route-a":{"conditions":[],"name":"Side Route A"},"sphalian-town":{"conditions":["encounters","trainers"],"name":"Sphalian Town"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/sea-route-c.json b/db/_generated/areas/sea-route-c.json new file mode 100644 index 0000000..5045969 --- /dev/null +++ b/db/_generated/areas/sea-route-c.json @@ -0,0 +1 @@ +{"name":"Sea Route C","encounter_slug":"default_encounter","encounters":[{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"eyenemy"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"dandicub"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"cardiling"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"budaye"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"cataspike"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"elofly"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"aardorn"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"nut"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"grimachin"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"spighter"}],"requiredEncounters":10,"trainers":[{"name":"Dragonrider Nigel","sprite":"dragonrider.png","monsters":[{"slug":"agnigon","level":36}]}],"environment_slug":"sea","connections":{"candy-town":{"conditions":[],"name":"Candy Town"},"paper-town":{"conditions":["encounters","trainers"],"name":"Paper Town"}},"environment":{"slug":"sea","battle_graphics":{"island_back":"water_island.png","island_front":"water_island.png","background":"sea_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/side-route-a.json b/db/_generated/areas/side-route-a.json new file mode 100644 index 0000000..76cb968 --- /dev/null +++ b/db/_generated/areas/side-route-a.json @@ -0,0 +1 @@ +{"name":"Side Route A","encounter_slug":"default_encounter","encounters":[{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"eyenemy"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"dandicub"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"cardiling"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"budaye"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"cataspike"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"elofly"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"aardorn"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"nut"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"grimachin"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"spighter"}],"requiredEncounters":10,"trainers":[{"name":"Rival Billie","sprite":"fashionista.png","monsters":[{"slug":"cardiwing","level":17},{"slug":"eyesore","level":17},{"slug":"viviphyta","level":17},{"slug":"STARTER","level":20}]}],"environment_slug":"forest","connections":{"flower-city":{"conditions":[],"name":"Flower City"},"route7":{"conditions":["encounters","trainers"],"name":"Route 7"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":"\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 new file mode 100644 index 0000000..5f436dd --- /dev/null +++ b/db/_generated/areas/sphalian-town.json @@ -0,0 +1 @@ +{"name":"Sphalian Town","locations":{"healing_center":{"type":"healingCenter","price":40}},"connections":{"route7":{"conditions":[],"name":"Route 7"},"lion-mountain":{"conditions":[],"name":"Lion Mountain"}},"encounters":[],"requiredEncounters":0,"trainers":[],"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 new file mode 100644 index 0000000..041309c --- /dev/null +++ b/db/_generated/areas/timber-town.json @@ -0,0 +1 @@ +{"name":"Timber Town","locations":{"healing_center":{"type":"healingCenter","price":20},"scoop_store":{"type":"shop","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}]}},"connections":{"route5":{"conditions":[],"name":"Route 5"},"tunnel-b":{"conditions":[],"name":"Tunnel B"}},"encounters":[],"requiredEncounters":0,"trainers":[],"environment":null,"map":"\n \n\n \n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/_generated/areas/tunnel-b.json b/db/_generated/areas/tunnel-b.json new file mode 100644 index 0000000..bdf3a76 --- /dev/null +++ b/db/_generated/areas/tunnel-b.json @@ -0,0 +1 @@ +{"name":"Tunnel B","encounter_slug":"default_encounter","encounters":[{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"eyenemy"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"dandicub"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"cardiling"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"budaye"},{"encounter_rate":0.5,"daytime":true,"exp_req_mod":1,"level_range":[2,4],"monster":"cataspike"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"elofly"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"aardorn"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"nut"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"grimachin"},{"encounter_rate":0.5,"daytime":false,"exp_req_mod":1,"level_range":[3,6],"monster":"spighter"}],"requiredEncounters":10,"trainers":[{"name":"Florist Iris","sprite":"florist.png","monsters":[{"slug":"tourbidi","level":18},{"slug":"tourbidi","level":18},{"slug":"tourbidi","level":18}]}],"environment_slug":"forest","connections":{"timber-town":{"conditions":[],"name":"Timber Town"},"route6":{"conditions":["encounters","trainers"],"name":"Route 6"}},"environment":{"slug":"forest","battle_graphics":{"island_back":"woodland_island.png","island_front":"woodland_island.png","background":"forest_background.png"},"battle_music":"music_battle_loop"},"map":"\n \n<\/svg>\n"} \ No newline at end of file diff --git a/db/areas.php b/db/areas.php index 185589e..d423a3e 100644 --- a/db/areas.php +++ b/db/areas.php @@ -8,10 +8,15 @@ foreach (scandir(__DIR__ . '/areas') as $file) { $area = json_decode(file_get_contents($filePath), true); $encounters = json_decode(@file_get_contents(dirname(__DIR__) . "/modules/tuxemon/mods/tuxemon/db/encounter/$area[encounter_slug].json") ?? '', true); - $environment = json_decode(file_get_contents(dirname(__DIR__) . "/modules/tuxemon/mods/tuxemon/db/environment/$area[environment_slug].json"), true); + $environment = json_decode(@file_get_contents(dirname(__DIR__) . "/modules/tuxemon/mods/tuxemon/db/environment/$area[environment_slug].json") ?? '', true); $map = @file_get_contents(__DIR__ . "/maps/$fileName.svg"); + $area['encounters'] ??= []; array_push($area['encounters'], ...$encounters['monsters'] ?? []); + $area['requiredEncounters'] ??= 0; + + $area['trainers'] ??= []; + $area['environment'] = $environment; $area['map'] = $map; diff --git a/db/areas/candy-town.json b/db/areas/candy-town.json new file mode 100644 index 0000000..59ddca0 --- /dev/null +++ b/db/areas/candy-town.json @@ -0,0 +1,26 @@ +{ + "name": "Candy Town", + + "locations": { + "hospital": { + "type": "healingCenter", + "price": 30 + }, + + "scoop_store": { + "type": "shop", + "economy": "spyder_candy_scoop", + "items": [] + } + }, + + "connections": { + "route6": { + "conditions": [] + }, + + "sea-route-c": { + "conditions": [] + } + } +} diff --git a/db/areas/city-park.json b/db/areas/city-park.json index d0e5af3..865df3c 100644 --- a/db/areas/city-park.json +++ b/db/areas/city-park.json @@ -20,8 +20,7 @@ "slug": "shybulb", "level": 8 } - ], - "inventory": [] + ] } ], diff --git a/db/areas/flower-city.json b/db/areas/flower-city.json new file mode 100644 index 0000000..1e7ebf9 --- /dev/null +++ b/db/areas/flower-city.json @@ -0,0 +1,42 @@ +{ + "name": "Flower City", + + "encounter_slug": "", + + "encounters": [], + + "requiredEncounters": 0, + + "trainers": [], + + "environment_slug": "interior", + + "locations": { + "healing_center": { + "type": "healingCenter", + "price": 30 + }, + + "scoop_store": { + "type": "shop", + "economy": "spyder_flower_scoop", + "items": [] + } + }, + + "events": {}, + + "connections": { + "route4": { + "conditions": [] + }, + + "route5": { + "conditions": [] + }, + + "side-route-a": { + "conditions": [] + } + } +} diff --git a/db/areas/lion-mountain.json b/db/areas/lion-mountain.json new file mode 100644 index 0000000..fc804f8 --- /dev/null +++ b/db/areas/lion-mountain.json @@ -0,0 +1,34 @@ +{ + "name": "Lion Mountain", + + "encounter_slug": "lion_mountain", + + "encounters": [], + + "requiredEncounters": 10, + + "trainers": [ + { + "name": "Miner Jacques", + "sprite": "monk.png", + "monsters": [ + { + "slug": "heronquak", + "level": 55 + }, + { + "slug": "jemuar", + "level": 60 + } + ] + } + ], + + "environment_slug": "snow", + + "connections": { + "sphalian-town": { + "conditions": [] + } + } +} diff --git a/db/areas/paper-town.json b/db/areas/paper-town.json index 688dd7f..f3d3255 100644 --- a/db/areas/paper-town.json +++ b/db/areas/paper-town.json @@ -1,26 +1,18 @@ { "name": "Paper Town", - "encounter_slug": "", + "locations": { + "home": { + "type": "healingCenter", + "price": 0 + }, - "encounters": [], - - "requiredEncounters": 0, - - "trainers": [ - { - "name": "Rival", - "monsters": [ - { - "slug": "STARTER", - "level": 2 - } - ], - "inventory": [] + "scoop_store": { + "type": "shop", + "economy": "spyder_paper_mart", + "items": [] } - ], - - "environment_slug": "interior", + }, "connections": { "route1": { @@ -28,6 +20,12 @@ "encounters", "trainers" ] + }, + + "sea-route-c": { + "conditions": [ + "area.sea-route-c" + ] } } } diff --git a/db/areas/route1.json b/db/areas/route1.json index 5c49e04..0c9523f 100644 --- a/db/areas/route1.json +++ b/db/areas/route1.json @@ -10,7 +10,7 @@ "trainers": [ { "name": "Bruder Mikki", - "sprite": "dragonrider.png", + "sprite": "adventurer.png", "monsters": [ { "slug": "memnomnom", diff --git a/db/areas/route2.json b/db/areas/route2.json index b08e1af..5e56ad9 100644 --- a/db/areas/route2.json +++ b/db/areas/route2.json @@ -9,7 +9,8 @@ "trainers": [ { - "name": "Rival", + "name": "Rival Billie", + "sprite": "fashionista.png", "monsters": [ { "slug": "cardiling", @@ -23,8 +24,7 @@ "slug": "STARTER", "level": 6 } - ], - "inventory": [] + ] } ], diff --git a/db/areas/route3.json b/db/areas/route3.json index ea59234..5dbcba3 100644 --- a/db/areas/route3.json +++ b/db/areas/route3.json @@ -29,6 +29,13 @@ "connections": { "leather-town": { "conditions": [] + }, + + "route4": { + "conditions": [ + "encounters", + "trainers" + ] } } } diff --git a/db/areas/route4.json b/db/areas/route4.json new file mode 100644 index 0000000..a0c4a97 --- /dev/null +++ b/db/areas/route4.json @@ -0,0 +1,63 @@ +{ + "name": "Route 4", + + "encounter_slug": "route4", + + "encounters": [], + + "requiredEncounters": 10, + + "trainers": [ + { + "name": "Soldier Marshall", + "sprite": "soldier.png", + "monsters": [ + { + "slug": "puparmor", + "level": 16 + }, + { + "slug": "puparmor", + "level": 16 + } + ] + }, + { + "name": "Rival Billie", + "sprite": "fashionista.png", + "monsters": [ + { + "slug": "cardiwing", + "level": 16 + }, + { + "slug": "eyesore", + "level": 16 + }, + { + "slug": "viviphyta", + "level": 16 + }, + { + "slug": "STARTER", + "level": 18 + } + ] + } + ], + + "environment_slug": "forest", + + "connections": { + "route3": { + "conditions": [] + }, + + "flower-city": { + "conditions": [ + "encounters", + "trainers" + ] + } + } +} diff --git a/db/areas/route5.json b/db/areas/route5.json new file mode 100644 index 0000000..368ddbc --- /dev/null +++ b/db/areas/route5.json @@ -0,0 +1,45 @@ +{ + "name": "Route 5", + + "encounter_slug": "route5", + + "encounters": [], + + "requiredEncounters": 10, + + "trainers": [ + { + "name": "Soldier Hunter", + "sprite": "soldier.png", + "monsters": [ + { + "slug": "elofly", + "level": 16 + }, + { + "slug": "elofly", + "level": 16 + }, + { + "slug": "elowind", + "level": 18 + } + ] + } + ], + + "environment_slug": "forest", + + "connections": { + "flower-city": { + "conditions": [] + }, + + "timber-town": { + "conditions": [ + "encounters", + "trainers" + ] + } + } +} diff --git a/db/areas/route6.json b/db/areas/route6.json new file mode 100644 index 0000000..f30d050 --- /dev/null +++ b/db/areas/route6.json @@ -0,0 +1,45 @@ +{ + "name": "Route 6", + + "encounter_slug": "route6", + + "encounters": [], + + "requiredEncounters": 10, + + "trainers": [ + { + "name": "Florist Frances", + "sprite": "florist.png", + "monsters": [ + { + "slug": "narcileaf", + "level": 30 + }, + { + "slug": "shybulb", + "level": 30 + }, + { + "slug": "shybulb", + "level": 30 + } + ] + } + ], + + "environment_slug": "forest", + + "connections": { + "tunnel-b": { + "conditions": [] + }, + + "candy-town": { + "conditions": [ + "encounters", + "trainers" + ] + } + } +} diff --git a/db/areas/route7.json b/db/areas/route7.json new file mode 100644 index 0000000..647227a --- /dev/null +++ b/db/areas/route7.json @@ -0,0 +1,49 @@ +{ + "name": "Route 7", + + "encounter_slug": "route7", + + "encounters": [], + + "requiredEncounters": 10, + + "trainers": [ + { + "name": "Monk Statius", + "sprite": "monk.png", + "monsters": [ + { + "slug": "aardart", + "level": 30 + }, + { + "slug": "pairagrim", + "level": 30 + }, + { + "slug": "bolt", + "level": 30 + }, + { + "slug": "fribbit", + "level": 30 + } + ] + } + ], + + "environment_slug": "forest", + + "connections": { + "side-route-a": { + "conditions": [] + }, + + "sphalian-town": { + "conditions": [ + "encounters", + "trainers" + ] + } + } +} diff --git a/db/areas/sea-route-c.json b/db/areas/sea-route-c.json new file mode 100644 index 0000000..34526f5 --- /dev/null +++ b/db/areas/sea-route-c.json @@ -0,0 +1,37 @@ +{ + "name": "Sea Route C", + + "encounter_slug": "default_encounter", + + "encounters": [], + + "requiredEncounters": 10, + + "trainers": [ + { + "name": "Dragonrider Nigel", + "sprite": "dragonrider.png", + "monsters": [ + { + "slug": "agnigon", + "level": 36 + } + ] + } + ], + + "environment_slug": "sea", + + "connections": { + "candy-town": { + "conditions": [] + }, + + "paper-town": { + "conditions": [ + "encounters", + "trainers" + ] + } + } +} diff --git a/db/areas/side-route-a.json b/db/areas/side-route-a.json new file mode 100644 index 0000000..b83c51b --- /dev/null +++ b/db/areas/side-route-a.json @@ -0,0 +1,49 @@ +{ + "name": "Side Route A", + + "encounter_slug": "default_encounter", + + "encounters": [], + + "requiredEncounters": 10, + + "trainers": [ + { + "name": "Rival Billie", + "sprite": "fashionista.png", + "monsters": [ + { + "slug": "cardiwing", + "level": 17 + }, + { + "slug": "eyesore", + "level": 17 + }, + { + "slug": "viviphyta", + "level": 17 + }, + { + "slug": "STARTER", + "level": 20 + } + ] + } + ], + + "environment_slug": "forest", + + "connections": { + "flower-city": { + "conditions": [] + }, + + "route7": { + "conditions": [ + "encounters", + "trainers" + ] + } + } +} diff --git a/db/areas/sphalian-town.json b/db/areas/sphalian-town.json new file mode 100644 index 0000000..4c70aa5 --- /dev/null +++ b/db/areas/sphalian-town.json @@ -0,0 +1,20 @@ +{ + "name": "Sphalian Town", + + "locations": { + "healing_center": { + "type": "healingCenter", + "price": 40 + } + }, + + "connections": { + "route7": { + "conditions": [] + }, + + "lion-mountain": { + "conditions": [] + } + } +} diff --git a/db/areas/timber-town.json b/db/areas/timber-town.json new file mode 100644 index 0000000..bfb9ca7 --- /dev/null +++ b/db/areas/timber-town.json @@ -0,0 +1,26 @@ +{ + "name": "Timber Town", + + "locations": { + "healing_center": { + "type": "healingCenter", + "price": 20 + }, + + "scoop_store": { + "type": "shop", + "economy": "spyder_timber_scoop", + "items": [] + } + }, + + "connections": { + "route5": { + "conditions": [] + }, + + "tunnel-b": { + "conditions": [] + } + } +} diff --git a/db/areas/tunnel-b.json b/db/areas/tunnel-b.json new file mode 100644 index 0000000..0e7954c --- /dev/null +++ b/db/areas/tunnel-b.json @@ -0,0 +1,45 @@ +{ + "name": "Tunnel B", + + "encounter_slug": "default_encounter", + + "encounters": [], + + "requiredEncounters": 10, + + "trainers": [ + { + "name": "Florist Iris", + "sprite": "florist.png", + "monsters": [ + { + "slug": "tourbidi", + "level": 18 + }, + { + "slug": "tourbidi", + "level": 18 + }, + { + "slug": "tourbidi", + "level": 18 + } + ] + } + ], + + "environment_slug": "forest", + + "connections": { + "timber-town": { + "conditions": [] + }, + + "route6": { + "conditions": [ + "encounters", + "trainers" + ] + } + } +} diff --git a/db/maps/Buddha_mountain.png b/db/maps/Buddha_mountain.png new file mode 100644 index 0000000..96fb617 Binary files /dev/null and b/db/maps/Buddha_mountain.png differ diff --git a/db/maps/Candy_Town.png b/db/maps/Candy_Town.png new file mode 100644 index 0000000..ad067cf Binary files /dev/null and b/db/maps/Candy_Town.png differ diff --git a/db/maps/City_park.png b/db/maps/City_park.png new file mode 100644 index 0000000..01d67c0 Binary files /dev/null and b/db/maps/City_park.png differ diff --git a/db/maps/Flower_City.png b/db/maps/Flower_City.png new file mode 100644 index 0000000..2b9527a Binary files /dev/null and b/db/maps/Flower_City.png differ diff --git a/db/maps/Leather_Town.png b/db/maps/Leather_Town.png new file mode 100644 index 0000000..0599799 Binary files /dev/null and b/db/maps/Leather_Town.png differ diff --git a/db/maps/Paper_town.png b/db/maps/Paper_town.png new file mode 100644 index 0000000..1eb12ef Binary files /dev/null and b/db/maps/Paper_town.png differ diff --git a/db/maps/Route_1.png b/db/maps/Route_1.png new file mode 100644 index 0000000..b34e1b2 Binary files /dev/null and b/db/maps/Route_1.png differ diff --git a/db/maps/Route_2.png b/db/maps/Route_2.png new file mode 100644 index 0000000..ffe3c1b Binary files /dev/null and b/db/maps/Route_2.png differ diff --git a/db/maps/Route_3.png b/db/maps/Route_3.png new file mode 100644 index 0000000..a772dbb Binary files /dev/null and b/db/maps/Route_3.png differ diff --git a/db/maps/Route_4.png b/db/maps/Route_4.png new file mode 100644 index 0000000..13510c6 Binary files /dev/null and b/db/maps/Route_4.png differ diff --git a/db/maps/Route_5.png b/db/maps/Route_5.png new file mode 100644 index 0000000..793e2d4 Binary files /dev/null and b/db/maps/Route_5.png differ diff --git a/db/maps/Route_6.png b/db/maps/Route_6.png new file mode 100644 index 0000000..30082b5 Binary files /dev/null and b/db/maps/Route_6.png differ diff --git a/db/maps/Route_7.png b/db/maps/Route_7.png new file mode 100644 index 0000000..4600d3e Binary files /dev/null and b/db/maps/Route_7.png differ diff --git a/db/maps/Sea_Route_C.png b/db/maps/Sea_Route_C.png new file mode 100644 index 0000000..4afeb1a Binary files /dev/null and b/db/maps/Sea_Route_C.png differ diff --git a/db/maps/Side_Route_A.png b/db/maps/Side_Route_A.png new file mode 100644 index 0000000..3a13711 Binary files /dev/null and b/db/maps/Side_Route_A.png differ diff --git a/db/maps/Sphalian_town.png b/db/maps/Sphalian_town.png new file mode 100644 index 0000000..87c9de5 Binary files /dev/null and b/db/maps/Sphalian_town.png differ diff --git a/db/maps/Timber_Town.png b/db/maps/Timber_Town.png new file mode 100644 index 0000000..e81419f Binary files /dev/null and b/db/maps/Timber_Town.png differ diff --git a/db/maps/Tunnel_Route_B.png b/db/maps/Tunnel_Route_B.png new file mode 100644 index 0000000..9b6cb0d Binary files /dev/null and b/db/maps/Tunnel_Route_B.png differ diff --git a/db/maps/Tunnel_Route_B_-_Below.png b/db/maps/Tunnel_Route_B_-_Below.png new file mode 100644 index 0000000..84e3645 Binary files /dev/null and b/db/maps/Tunnel_Route_B_-_Below.png differ diff --git a/db/maps/candy-town.svg b/db/maps/candy-town.svg new file mode 100644 index 0000000..2dab5f3 --- /dev/null +++ b/db/maps/candy-town.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/db/maps/city-park.svg b/db/maps/city-park.svg new file mode 100644 index 0000000..91a32cd --- /dev/null +++ b/db/maps/city-park.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/flower-city.svg b/db/maps/flower-city.svg new file mode 100644 index 0000000..dc4c4b2 --- /dev/null +++ b/db/maps/flower-city.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/db/maps/leather-town.svg b/db/maps/leather-town.svg new file mode 100644 index 0000000..9607b32 --- /dev/null +++ b/db/maps/leather-town.svg @@ -0,0 +1,13 @@ + + + + Healing Center + + + Shop + + diff --git a/db/maps/lion-mountain.svg b/db/maps/lion-mountain.svg new file mode 100644 index 0000000..6367992 --- /dev/null +++ b/db/maps/lion-mountain.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/paper-town.svg b/db/maps/paper-town.svg new file mode 100644 index 0000000..b0c929d --- /dev/null +++ b/db/maps/paper-town.svg @@ -0,0 +1,10 @@ + + + + Shop + + diff --git a/db/maps/route1.svg b/db/maps/route1.svg new file mode 100644 index 0000000..b7f1647 --- /dev/null +++ b/db/maps/route1.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/route2.svg b/db/maps/route2.svg new file mode 100644 index 0000000..7471402 --- /dev/null +++ b/db/maps/route2.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/route3.svg b/db/maps/route3.svg new file mode 100644 index 0000000..c9f8196 --- /dev/null +++ b/db/maps/route3.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/route4.svg b/db/maps/route4.svg new file mode 100644 index 0000000..4f60aec --- /dev/null +++ b/db/maps/route4.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/route5.svg b/db/maps/route5.svg new file mode 100644 index 0000000..3a776da --- /dev/null +++ b/db/maps/route5.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/route6.svg b/db/maps/route6.svg new file mode 100644 index 0000000..84ce82d --- /dev/null +++ b/db/maps/route6.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/route7.svg b/db/maps/route7.svg new file mode 100644 index 0000000..038bc9b --- /dev/null +++ b/db/maps/route7.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/sea-route-c.svg b/db/maps/sea-route-c.svg new file mode 100644 index 0000000..aa93f1e --- /dev/null +++ b/db/maps/sea-route-c.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/side-route-a.svg b/db/maps/side-route-a.svg new file mode 100644 index 0000000..48967fe --- /dev/null +++ b/db/maps/side-route-a.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/sphalian-town.svg b/db/maps/sphalian-town.svg new file mode 100644 index 0000000..4b9e51f --- /dev/null +++ b/db/maps/sphalian-town.svg @@ -0,0 +1,9 @@ + + + + + diff --git a/db/maps/timber-town.svg b/db/maps/timber-town.svg new file mode 100644 index 0000000..5b76f85 --- /dev/null +++ b/db/maps/timber-town.svg @@ -0,0 +1,10 @@ + + + + + + diff --git a/db/maps/tunnel-b-underground.svg b/db/maps/tunnel-b-underground.svg new file mode 100644 index 0000000..af07768 --- /dev/null +++ b/db/maps/tunnel-b-underground.svg @@ -0,0 +1,7 @@ + + + diff --git a/db/maps/tunnel-b.svg b/db/maps/tunnel-b.svg new file mode 100644 index 0000000..19bc73a --- /dev/null +++ b/db/maps/tunnel-b.svg @@ -0,0 +1,7 @@ + + + -- cgit v1.2.3