diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-08-23 20:29:07 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-08-23 20:29:07 +0200 |
commit | 7b1c251fcb085dc37de439ea1137373f1905d82e (patch) | |
tree | 32e3f2cd4367507726af6d0172e9621a37dff576 /db | |
parent | 4dd1a344c6474087a3f8782dd54f5c7b4acc67ed (diff) |
areas and capture and more
Diffstat (limited to 'db')
74 files changed, 686 insertions, 31 deletions
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":"<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=\"hospital\" x=\"127\" y=\"431\" width=\"210\" height=\"130\" stroke=\"red\" fill=\"transparent\" \/>\n <rect data-location=\"scoop_store\" x=\"17\" y=\"144\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\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":"<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\/City_park.png\" \/>\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":"<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/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":"<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 <text x=\"323\" y=\"174\">Healing Center<\/text>\n <rect data-location=\"healing_center\" x=\"336\" y=\"97\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\n\n <text x=\"226\" y=\"174\">Shop<\/text>\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/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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 720 1600\"\n>\n <image href=\"\/db\/maps\/Buddha_mountain.png\" \/>\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":"<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 <text x=\"294\" y=\"221\">Shop<\/text>\n <rect data-location=\"scoop_store\" x=\"272\" y=\"144\" width=\"80\" height=\"64\" stroke=\"red\" fill=\"transparent\" \/>\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":"<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\/Route_1.png\" \/>\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":"<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\/Route_2.png\" \/>\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":"<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\/Route_3.png\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 320 640\"\n>\n <image href=\"\/db\/maps\/Route_4.png\" \/>\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":"<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\/Route_5.png\" \/>\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":"<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\/Route_6.png\" \/>\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":"<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\/Route_7.png\" \/>\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":"<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\/Sea_Route_C.png\" \/>\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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 320 640\"\n>\n <image href=\"\/db\/maps\/Side_Route_A.png\" \/>\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":"<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 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":"<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/_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":"<svg\n version=\"1.1\"\n xmlns=\"http:\/\/www.w3.org\/2000\/svg\"\n viewbox=\"0 0 320 640\"\n>\n <image href=\"\/db\/maps\/Tunnel_Route_B.png\" \/>\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 Binary files differnew file mode 100644 index 0000000..96fb617 --- /dev/null +++ b/db/maps/Buddha_mountain.png diff --git a/db/maps/Candy_Town.png b/db/maps/Candy_Town.png Binary files differnew file mode 100644 index 0000000..ad067cf --- /dev/null +++ b/db/maps/Candy_Town.png diff --git a/db/maps/City_park.png b/db/maps/City_park.png Binary files differnew file mode 100644 index 0000000..01d67c0 --- /dev/null +++ b/db/maps/City_park.png diff --git a/db/maps/Flower_City.png b/db/maps/Flower_City.png Binary files differnew file mode 100644 index 0000000..2b9527a --- /dev/null +++ b/db/maps/Flower_City.png diff --git a/db/maps/Leather_Town.png b/db/maps/Leather_Town.png Binary files differnew file mode 100644 index 0000000..0599799 --- /dev/null +++ b/db/maps/Leather_Town.png diff --git a/db/maps/Paper_town.png b/db/maps/Paper_town.png Binary files differnew file mode 100644 index 0000000..1eb12ef --- /dev/null +++ b/db/maps/Paper_town.png diff --git a/db/maps/Route_1.png b/db/maps/Route_1.png Binary files differnew file mode 100644 index 0000000..b34e1b2 --- /dev/null +++ b/db/maps/Route_1.png diff --git a/db/maps/Route_2.png b/db/maps/Route_2.png Binary files differnew file mode 100644 index 0000000..ffe3c1b --- /dev/null +++ b/db/maps/Route_2.png diff --git a/db/maps/Route_3.png b/db/maps/Route_3.png Binary files differnew file mode 100644 index 0000000..a772dbb --- /dev/null +++ b/db/maps/Route_3.png diff --git a/db/maps/Route_4.png b/db/maps/Route_4.png Binary files differnew file mode 100644 index 0000000..13510c6 --- /dev/null +++ b/db/maps/Route_4.png diff --git a/db/maps/Route_5.png b/db/maps/Route_5.png Binary files differnew file mode 100644 index 0000000..793e2d4 --- /dev/null +++ b/db/maps/Route_5.png diff --git a/db/maps/Route_6.png b/db/maps/Route_6.png Binary files differnew file mode 100644 index 0000000..30082b5 --- /dev/null +++ b/db/maps/Route_6.png diff --git a/db/maps/Route_7.png b/db/maps/Route_7.png Binary files differnew file mode 100644 index 0000000..4600d3e --- /dev/null +++ b/db/maps/Route_7.png diff --git a/db/maps/Sea_Route_C.png b/db/maps/Sea_Route_C.png Binary files differnew file mode 100644 index 0000000..4afeb1a --- /dev/null +++ b/db/maps/Sea_Route_C.png diff --git a/db/maps/Side_Route_A.png b/db/maps/Side_Route_A.png Binary files differnew file mode 100644 index 0000000..3a13711 --- /dev/null +++ b/db/maps/Side_Route_A.png diff --git a/db/maps/Sphalian_town.png b/db/maps/Sphalian_town.png Binary files differnew file mode 100644 index 0000000..87c9de5 --- /dev/null +++ b/db/maps/Sphalian_town.png diff --git a/db/maps/Timber_Town.png b/db/maps/Timber_Town.png Binary files differnew file mode 100644 index 0000000..e81419f --- /dev/null +++ b/db/maps/Timber_Town.png diff --git a/db/maps/Tunnel_Route_B.png b/db/maps/Tunnel_Route_B.png Binary files differnew file mode 100644 index 0000000..9b6cb0d --- /dev/null +++ b/db/maps/Tunnel_Route_B.png diff --git a/db/maps/Tunnel_Route_B_-_Below.png b/db/maps/Tunnel_Route_B_-_Below.png Binary files differnew file mode 100644 index 0000000..84e3645 --- /dev/null +++ b/db/maps/Tunnel_Route_B_-_Below.png 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 640" +> + <image href="/db/maps/Candy_Town.png" /> + + <rect data-location="hospital" x="127" y="431" width="210" height="130" stroke="red" fill="transparent" /> + <rect data-location="scoop_store" x="17" y="144" width="80" height="64" stroke="red" fill="transparent" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 640" +> + <image href="/db/maps/City_park.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 640" +> + <image href="/db/maps/Flower_City.png" /> + + <rect data-location="healing_center" x="224" y="192" width="80" height="64" stroke="red" fill="transparent" /> + <rect data-location="scoop_store" x="368" y="320" width="80" height="64" stroke="red" fill="transparent" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 640" +> + <image href="/db/maps/Leather_Town.png" /> + + <text x="323" y="174">Healing Center</text> + <rect data-location="healing_center" x="336" y="97" width="80" height="64" stroke="red" fill="transparent" /> + + <text x="226" y="174">Shop</text> + <rect data-location="leather_scoop" x="208" y="97" width="80" height="64" stroke="red" fill="transparent" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 720 1600" +> + <image href="/db/maps/Buddha_mountain.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 320" +> + <image href="/db/maps/Paper_town.png" /> + + <text x="294" y="221">Shop</text> + <rect data-location="scoop_store" x="272" y="144" width="80" height="64" stroke="red" fill="transparent" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 320" +> + <image href="/db/maps/Route_1.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 320" +> + <image href="/db/maps/Route_2.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 640" +> + <image href="/db/maps/Route_3.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 320 640" +> + <image href="/db/maps/Route_4.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 320" +> + <image href="/db/maps/Route_5.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 320" +> + <image href="/db/maps/Route_6.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 640" +> + <image href="/db/maps/Route_7.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 640" +> + <image href="/db/maps/Sea_Route_C.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 320 640" +> + <image href="/db/maps/Side_Route_A.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 368 400" +> + <image href="/db/maps/Sphalian_town.png" /> + + <rect data-location="healing_center" x="240" y="48" width="80" height="64" stroke="red" fill="transparent" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 640 640" +> + <image href="/db/maps/Timber_Town.png" /> + + <rect data-location="healing_center" x="96" y="48" width="80" height="64" stroke="red" fill="transparent" /> + <rect data-location="scoop_store" x="191" y="127" width="82" height="66" stroke="red" fill="transparent" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 320 640" +> + <image href="/db/maps/Tunnel_Route_B_-_Below.png" /> +</svg> 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 @@ +<svg + version="1.1" + xmlns="http://www.w3.org/2000/svg" + viewbox="0 0 320 640" +> + <image href="/db/maps/Tunnel_Route_B.png" /> +</svg> |