refactors hunger system

still works the same way, just cleaner
This commit is contained in:
Llywelwyn 2023-08-20 17:27:11 +01:00
parent 23a6d5e025
commit 454a8c7028
4 changed files with 120 additions and 53 deletions

View file

@ -130,6 +130,7 @@ pub enum HungerState {
Hungry,
Weak,
Fainting,
Starving,
}
#[derive(Component, Serialize, Deserialize, Clone)]