extends log builder, swaps away from textblocks
line wrapping no longer works, but in return the message log can easily be swapped between ascending/descending, and spaces/no spaces between entries. realistically nobody wants to read a huge wrapped line anyway so those can just be avoided
This commit is contained in:
parent
b562e093ea
commit
42901b984e
9 changed files with 89 additions and 30 deletions
|
|
@ -57,7 +57,8 @@ impl<'a> System<'a> for MeleeCombatSystem {
|
|||
.npc_name(&name.name)
|
||||
.colour(rltk::WHITE)
|
||||
.append("hits the")
|
||||
.npc_name(format!("{}.", &target_name.name))
|
||||
.npc_name_n(format!("{}", &target_name.name))
|
||||
.period()
|
||||
.log();
|
||||
SufferDamage::new_damage(&mut inflict_damage, wants_melee.target, damage);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue