Implement hunger and food.
Eating food restores small amount of health and decreases hunger bar.
When hunger bar is empty player cannot eat more food.
When hunger bar is full (reached in 3 days) player loses mana regeneration (more penalties to be added later).
Implement food growing system:
Add new building - planting spot.
Interaction with planting spot opens UI which allows player to see plant data and humidity level.
From this UI player can plant new seeds (from inventory) if the plant spot is empty.
There are stages of plant growth:
seedling (just planted)
growing seedling (started to grow)
partially ready (can be harvested, will yield some food but no seeds)
ready (can be harvested, will yield max food and some seeds)
overgrown (can be harvested, will yield some food but no seeds)
dead (the plant is dead and can be replanted)
The plant can become dead from all stages if it's health drops to 0.
This can be done by manually attacking plant.
This can also happen if humidity level stays at 0 for some time.
The player can water plants by "attacking" them with watering can.
Alternatively planting spot will suck all possible water on it's location if it's humidity level is not maxed out.
If there is some extra water on planting spot after the suction part, the plant will loose some health (overwatered).
Implement hunger and food. Eating food restores small amount of health and decreases hunger bar. When hunger bar is empty player cannot eat more food. When hunger bar is full (reached in 3 days) player loses mana regeneration (more penalties to be added later).
Implement food growing system: Add new building - planting spot. Interaction with planting spot opens UI which allows player to see plant data and humidity level. From this UI player can plant new seeds (from inventory) if the plant spot is empty. There are stages of plant growth:
The plant can become dead from all stages if it's health drops to 0. This can be done by manually attacking plant. This can also happen if humidity level stays at 0 for some time.
The player can water plants by "attacking" them with watering can. Alternatively planting spot will suck all possible water on it's location if it's humidity level is not maxed out. If there is some extra water on planting spot after the suction part, the plant will loose some health (overwatered).