standardises entity names

This commit is contained in:
Llywelwyn 2023-08-21 13:59:21 +01:00
parent d0416b2563
commit 1d9cb04d1f
14 changed files with 131 additions and 47 deletions

View file

@ -78,6 +78,7 @@ impl<'a> System<'a> for ItemEquipSystem {
if target == *player_entity {
logger = logger
.append("You equip the")
.colour(item_colour(wants_to_use_item.item, &beatitudes, &dm))
.append_n(
obfuscate_name(
wants_to_use_item.item,
@ -90,7 +91,7 @@ impl<'a> System<'a> for ItemEquipSystem {
)
.0,
)
.colour(item_colour(wants_to_use_item.item, &beatitudes, &dm))
.colour(rltk::WHITE)
.period();
logger.log();
}