DAY 4, OCTOBER 21ST
1) Reworked targeting system. Before any enemy that's in the detection range could become a target and the "targeter" would switch the target only if previous one left the detection area OR died. Now archers calculate if the enemy really needs more arrows to die. What it means is that there won't be situations when 20 archers shoot 1 enemy that is low hp and needs just one hit to finally die; instead, there will be just one archer that will shoot just one arrow. It is very helpful when the defense is getting stressful and the mercenaries should use their shots wisely.
2) Added in-game currency (gold) that will be used to hire more mercenaries and other shopping.
3) Created a foundation for the UI shown on the screen during battles. Currently it only shows gold balance and placeholder enemy wave counter.
4) Added super primitive enemy spawn system.
That's it for now! Tomorrow I'll go deeper in mercenary hiring system, i.e. I'll start working on shops.