inventory refactor, maybe slightly unwieldy

This commit is contained in:
Llywelwyn 2023-07-23 01:42:26 +01:00
parent e2afd47830
commit b4420ba538
5 changed files with 51 additions and 22 deletions

View file

@ -203,7 +203,6 @@ impl<'a> System<'a> for ItemUseSystem {
if let Some(hc) = hc {
hc.state = HungerState::Satiated;
hc.duration = 50;
gamelog::Logger::new().append("You eat the").item_name_n(&item_being_used.name).period().log();
}
}
}