Resource fixes!
authorxangelo <git@xangelo.ca>
Mon, 16 May 2022 18:48:31 +0000 (14:48 -0400)
committerxangelo <git@xangelo.ca>
Fri, 20 May 2022 03:02:50 +0000 (23:02 -0400)
commit944376c3f73772268ec774ccc2a3fa0788fc246e
tree242dc3cbe3ecfc82c0504093fd3f2acb884ba49b
parentaa9d5e6223a080da56cef99693e13c4f7f840da7
Resource fixes!

A large rework of resources and how they interact

Fixes:
- ignore db files
- transfer gold -> credits
- transfer ore -> alloys
- transfer bushels -> food
- transfer logs -> energy
- add symbols to topbar
- transer land -> space
- fix cost display
- Display rate of change for food/energy since they are consumed per
  tick
17 files changed:
.gitignore
dump.sql
public/game.html
public/scifi.css
src/api.ts
src/render/costs.ts [new file with mode: 0644]
src/render/kingdom-overview.ts
src/render/land-development.ts
src/render/mail.ts
src/render/map.ts
src/render/topbar.ts
src/render/unit-training.ts
src/repository/buildings.ts
src/repository/city.ts
src/repository/unit.ts
src/tasks/fight.ts
src/tasks/tick.ts