atomising item use: hunger effect
This commit is contained in:
parent
18eae23a4c
commit
931f600625
13 changed files with 455 additions and 360 deletions
|
|
@ -2,7 +2,7 @@ use super::{
|
|||
gamelog, EquipmentChanged, InBackpack, MagicItem, MasterDungeonMap, Name, ObfuscatedName, Position, Wand,
|
||||
WantsToPickupItem,
|
||||
};
|
||||
use crate::gui::obfuscate_name;
|
||||
use crate::gui::obfuscate_name_ecs;
|
||||
use specs::prelude::*;
|
||||
|
||||
pub struct ItemCollectionSystem {}
|
||||
|
|
@ -48,7 +48,7 @@ impl<'a> System<'a> for ItemCollectionSystem {
|
|||
.append("You pick up the")
|
||||
.item_name_n(format!(
|
||||
"{}",
|
||||
obfuscate_name(pickup.item, &names, &magic_items, &obfuscated_names, &dm, Some(&wands)).0
|
||||
obfuscate_name_ecs(pickup.item, &names, &magic_items, &obfuscated_names, &dm, Some(&wands)).0
|
||||
))
|
||||
.period()
|
||||
.log();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue