inventory refactor, maybe slightly unwieldy
This commit is contained in:
parent
e2afd47830
commit
b4420ba538
5 changed files with 51 additions and 22 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue