factions!
authorxangelo <git@xangelo.ca>
Fri, 16 Jun 2023 16:50:07 +0000 (12:50 -0400)
committerxangelo <git@xangelo.ca>
Fri, 16 Jun 2023 16:50:07 +0000 (12:50 -0400)
commita68748f03d5d649601595a043e8aa418e5fc7587
tree22f07fe469a9d271aa301e486a359ed77429eb5c
parenta2c35d933c06079b8ca17c6f325bf2b7e5bcd5f4
factions!

This adds a simple "faction" system which is that a monster may belong
to a single faction. For now nothing is done with this but later on this
can be expanded to include a reputation system or titles and the like.
migrations/20230616153627_factions.ts [new file with mode: 0644]
seeds/monsters.ts
src/server/api.ts
src/server/monster.ts
src/shared/factions.ts [new file with mode: 0644]
src/shared/fight.ts
src/shared/monsters.ts