From dbcd0118863ff3e7c5bee45041ccdb757eb2f366 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 22 Aug 2023 16:37:33 +0200 Subject: areas and town/shop setup --- db/areas/city-park.json | 40 ++++++++++++++++++++++++++++++++++++++++ db/areas/cotton-town.json | 31 +++++++++++++++++++++++++++++++ db/areas/leather-town.json | 21 +++++++++++++++++++++ db/areas/paper-town.json | 17 ++++++++++++++--- db/areas/route1.json | 14 ++++++++++++-- db/areas/route2.json | 35 ++++++++++++++++++++++++++++++++--- db/areas/route3.json | 24 +++++++++++++++++++++--- 7 files changed, 171 insertions(+), 11 deletions(-) create mode 100644 db/areas/city-park.json create mode 100644 db/areas/cotton-town.json create mode 100644 db/areas/leather-town.json (limited to 'db/areas') diff --git a/db/areas/city-park.json b/db/areas/city-park.json new file mode 100644 index 0000000..113cf51 --- /dev/null +++ b/db/areas/city-park.json @@ -0,0 +1,40 @@ +{ + "encounter_slug": "citypark", + + "encounters": [], + + "requiredEncounters": 10, + + "trainers": [ + { + "name": "Frances", + "sprite": "florist.png", + "monsters": [ + { + "slug": "shybulb", + "level": 8 + }, + { + "slug": "shybulb", + "level": 8 + } + ], + "inventory": [] + } + ], + + "environment_slug": "forest", + + "connections": { + "route2": { + "conditions": [] + }, + + "leather-town": { + "conditions": [ + "encounters", + "trainers" + ] + } + } +} diff --git a/db/areas/cotton-town.json b/db/areas/cotton-town.json new file mode 100644 index 0000000..dfd73e5 --- /dev/null +++ b/db/areas/cotton-town.json @@ -0,0 +1,31 @@ +{ + "encounter_slug": "", + + "encounters": [], + + "requiredEncounters": 0, + + "trainers": [], + + "environment_slug": "interior", + + "events": { + "dryads-grove": false + }, + + "connections": { + "route1": { + "conditions": [] + }, + + "route2": { + "conditions": [] + }, + + "dryads-grove": { + "conditions": [ + "event.dryads-grove" + ] + } + } +} diff --git a/db/areas/leather-town.json b/db/areas/leather-town.json new file mode 100644 index 0000000..7815dfd --- /dev/null +++ b/db/areas/leather-town.json @@ -0,0 +1,21 @@ +{ + "encounter_slug": "", + + "encounters": [], + + "requiredEncounters": 0, + + "trainers": [], + + "environment_slug": "interior", + + "connections": { + "city-park": { + "conditions": [] + }, + + "route3": { + "conditions": [] + } + } +} diff --git a/db/areas/paper-town.json b/db/areas/paper-town.json index b18e17e..7020252 100644 --- a/db/areas/paper-town.json +++ b/db/areas/paper-town.json @@ -8,13 +8,24 @@ "trainers": [ { "name": "Rival", - "monsters": [], + "monsters": [ + { + "slug": "STARTER", + "level": 2 + } + ], "inventory": [] } ], "environment_slug": "interior", - "previousArea": "", - "nextArea": "route1" + "connections": { + "route1": { + "conditions": [ + "encounters", + "trainers" + ] + } + } } diff --git a/db/areas/route1.json b/db/areas/route1.json index 3d1cf23..1615772 100644 --- a/db/areas/route1.json +++ b/db/areas/route1.json @@ -30,6 +30,16 @@ "environment_slug": "forest", - "previousArea": "paper-town", - "nextArea": "route2" + "connections": { + "paper-town": { + "conditions": [] + }, + + "cotton-town": { + "conditions": [ + "encounters", + "trainers" + ] + } + } } diff --git a/db/areas/route2.json b/db/areas/route2.json index f4fc9bb..e4c6d2a 100644 --- a/db/areas/route2.json +++ b/db/areas/route2.json @@ -5,10 +5,39 @@ "requiredEncounters": 10, - "trainers": [], + "trainers": [ + { + "name": "Rival", + "monsters": [ + { + "slug": "cardiling", + "level": 3 + }, + { + "slug": "eyenemy", + "level": 6 + }, + { + "slug": "STARTER", + "level": 6 + } + ], + "inventory": [] + } + ], "environment_slug": "forest", - "previousArea": "route1", - "nextArea": "route3" + "connections": { + "cotton-town": { + "conditions": [] + }, + + "city-park": { + "conditions": [ + "encounters", + "trainers" + ] + } + } } diff --git a/db/areas/route3.json b/db/areas/route3.json index e9242fb..3fa7c2f 100644 --- a/db/areas/route3.json +++ b/db/areas/route3.json @@ -5,10 +5,28 @@ "requiredEncounters": 10, - "trainers": [], + "trainers": [ + { + "name": "Miner Roxby", + "sprite": "miner.png", + "monsters": [ + { + "slug": "rockitten", + "level": 13 + }, + { + "slug": "ignibus", + "level": 13 + } + ] + } + ], "environment_slug": "forest", - "previousArea": "route2", - "nextArea": "route4" + "connections": { + "leather-town": { + "conditions": [] + } + } } -- cgit v1.2.3