first level professions!
authorxangelo <git@xangelo.ca>
Tue, 13 Jun 2023 19:17:16 +0000 (15:17 -0400)
committerxangelo <git@xangelo.ca>
Tue, 13 Jun 2023 19:17:16 +0000 (15:17 -0400)
commitd44dcffc181f011c5b73fc41f1ee37ea3c0df168
tree482338d8cea25d1c437975eaeb7633a83031dc4e
parent89967ddc3c00bf97db158c09ae6871a47eecf9d6
first level professions!

Wanderers can become Warriors, Mages, or Rogues at level 25!

This also introduces a new model for manging events across
server/clients that keeps related entities together! It also allows us
to add unit tests for areas we're concerned about (like fighting).
18 files changed:
migrations/20230613145243_professions.ts [new file with mode: 0644]
public/assets/bundle.js
public/assets/bundle.js.LICENSE.txt
seeds/profession-levels.ts [new file with mode: 0644]
src/client/index.ts
src/client/socket-event.client.ts [new file with mode: 0644]
src/events/client.ts [new file with mode: 0644]
src/events/profession-changing/client.ts [new file with mode: 0644]
src/events/profession-changing/server.ts [new file with mode: 0644]
src/events/profession-changing/shared.ts [new file with mode: 0644]
src/events/server.ts [new file with mode: 0644]
src/server/api.ts
src/server/player.ts
src/server/socket-event.server.ts [new file with mode: 0644]
src/shared/inventory.ts
src/shared/player.ts
src/shared/profession.ts [new file with mode: 0644]
src/shared/stats.ts [new file with mode: 0644]