feat: when you die your travel plan is discarded
authorxangelo <git@xangelo.ca>
Thu, 27 Jul 2023 14:42:34 +0000 (10:42 -0400)
committerxangelo <git@xangelo.ca>
Thu, 27 Jul 2023 14:42:34 +0000 (10:42 -0400)
commit6f21c2129b67343373f39a88b7beaa09fe6b5960
tree76e5aec09880da8660945e53de74c2db49a0a57d
parent53b5ae7c593846c8d865aa46344f3700e7e9806c
feat: when you die your travel plan is discarded

When you die your travel plan is deleted and you are moved back to the
town you started at.

You are unable to start a new travel session if you don't have any HP.
migrations/20230726161427_travel-fight.ts [new file with mode: 0644]
public/assets/bundle.js
src/client/index.ts
src/events/travel/server.ts
src/server/api.ts
src/server/map.ts
src/server/monster.ts
src/shared/fight.ts
src/shared/monsters.ts