race -> ancestries, adds ancestry stat maximums

This commit is contained in:
Llywelwyn 2023-08-21 11:21:19 +01:00
parent 9e26c41aad
commit 33ce208252
5 changed files with 73 additions and 17 deletions

View file

@ -17,7 +17,7 @@ const HUNGER_BREAKPOINTS: [(i32, HungerState); 5] = [
(200, HungerState::Weak),
(0, HungerState::Fainting),
];
const BASE_CLOCK_DECREMENT_PER_TURN: i32 = 4;
const BASE_CLOCK_DECREMENT_PER_TURN: i32 = 1;
pub fn get_hunger_state(duration: i32) -> HungerState {
for (threshold, state) in HUNGER_BREAKPOINTS.iter() {