diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-08-22 16:37:33 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-08-22 16:37:33 +0200 |
commit | dbcd0118863ff3e7c5bee45041ccdb757eb2f366 (patch) | |
tree | dc08c8641d1f886b579360f3c63a919545ed23fb /db/areas | |
parent | c0354b250f84d578b609a7f25d71dee7fc24e9ca (diff) |
areas and town/shop setup
Diffstat (limited to 'db/areas')
-rw-r--r-- | db/areas/city-park.json | 40 | ||||
-rw-r--r-- | db/areas/cotton-town.json | 31 | ||||
-rw-r--r-- | db/areas/leather-town.json | 21 | ||||
-rw-r--r-- | db/areas/paper-town.json | 17 | ||||
-rw-r--r-- | db/areas/route1.json | 14 | ||||
-rw-r--r-- | db/areas/route2.json | 35 | ||||
-rw-r--r-- | db/areas/route3.json | 24 |
7 files changed, 171 insertions, 11 deletions
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": [] + } + } } |