
Hi everyone,
As promised, I uploaded a new version of the game onto the experimental branch last week, which includes the new six units. Beyond that, I also started working on a new healing mechanic, which I will be talking about today.
At the moment, the current healing mechanic is food based. Whenever a unit takes damage (from starvation or from being attacked), the damage they took will be healed whenever they eat food. For the commander, this is manual, so whenever the player decides to eat - and for villagers, this is part of their regular cycle of eating once a minute.
While this works generally well, there are some issues with it. For one, food provision is based on a villager’s house (or in the case of a soldier, their barracks). This means that a villager or soldier who has taken damage from an attack on one end of the island ends up getting healed by food being provided to their residence on the other side of the island. While this may be acceptable for villagers, it creates a bit of a strange situation with the soldiers, who essentially just heal over time with no input from the commander. The second issue is that the villagers get healed for the same amount of damage they take from a tick of starvation. This means that you can effectively provide them with food only every 2 minutes - and they will be perfectly fine regardless.
The way I am now going to address both issues is by creating a new healing mechanic. Healing will now be done by a medical building, with the use of medicine. To start with, this will be medicinal herbs being distributed by a healer’s hut - but there will be upgrades introduced with 0.9. The healer’s hut will only heal units in its immediate area, meaning that you will have to walk soldiers back to the closest base for healing, and will create “healing charges” from medicine. The healing charges are primarily there to A) allow quick healing of injured units in the area, while B) making sure that medicine can’t be used in place of food. Each medicine unit provided to a healer’s hut will be slowly converted into a healing charge, and any available healing charges will be quickly administered to injured units in the area.
There may be some further changes to this mechanic as we go through some further testing and receive additional feedback - but for now I will focus on creating a model for the healer’s hut itself.
Until next week!
