Melee special examine (#11168)

Co-authored-by: CommieFlowers <rasmus.cedergren@hotmail.com>
This commit is contained in:
rolfero
2022-09-11 08:39:36 +02:00
committed by GitHub
parent 895841ade3
commit 4b23521af5
14 changed files with 101 additions and 33 deletions

View File

@@ -41,8 +41,11 @@ namespace Content.Shared.Damage
foreach (var damage in damageSpecifier.DamageDict)
{
msg.PushNewline();
msg.AddMarkup(Loc.GetString("damage-value", ("type", damage.Key), ("amount", damage.Value)));
if (damage.Value != FixedPoint2.Zero)
{
msg.PushNewline();
msg.AddMarkup(Loc.GetString("damage-value", ("type", damage.Key), ("amount", damage.Value)));
}
}
return msg;