title image, ui tweaks

This commit is contained in:
Llywelwyn 2023-07-29 02:21:36 +01:00
parent 2d4758ced1
commit be2c8a35a5
11 changed files with 238 additions and 171 deletions

View file

@ -303,12 +303,7 @@ impl<'a> System<'a> for ItemUseSystem {
damage_logger = damage_logger
.append("The")
.npc_name(&entity_name.name)
.colour(rltk::WHITE)
.append("takes")
.damage(damage.amount)
.colour(rltk::WHITE)
.append("damage from the")
.item_name_n(format!("{}", &item_being_used.name))
.append("is hit!")
.period();
needs_damage_log = true;
}