cities are now in the database
authorxangelo <git@xangelo.ca>
Thu, 1 Jun 2023 19:42:55 +0000 (15:42 -0400)
committerxangelo <git@xangelo.ca>
Thu, 1 Jun 2023 19:42:55 +0000 (15:42 -0400)
commit3fef7a7df8fdc5616cf2d21a28cc8c2bd0ff6313
treef27c93788ada464c916d17b2cb852f255c7f3700
parent62a2cd84e223c49b62cade994004537176dc4b19
cities are now in the database

That means that all "locations" are defined and tied to a city in the
database.

All players are placed in `windcross` which is the default city

Windcross has two "EXPLORE" locations: alley_1, forest_1

All monsters are divided into those two areas

Eventually we'll have to allow players to move across cities
13 files changed:
data/monsters.csv
migrations/20230601190436_locations.ts [new file with mode: 0644]
public/assets/bundle.js
public/assets/css/game.css
seeds/locations.ts [new file with mode: 0644]
seeds/monsters.ts
src/client/index.ts
src/server/api.ts
src/server/map.ts [new file with mode: 0644]
src/server/monster.ts
src/shared/map.ts
src/shared/monsters.ts
src/shared/player.ts