Gvin / CodeMagic

A small ASCII Roguelike RPG with magic based on physics + programming.
GNU General Public License v3.0
2 stars 1 forks source link

Implement Food System #102

Closed Gvin closed 4 years ago

Gvin commented 5 years ago

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).

Gvin commented 4 years ago

Implemented