ExaminableDamage now puts its message at the bottom and in color (#32820)
* the examineableDamage component now puts its messages at the bottom, and in color * god help us if something is priority -100 :godo:
This commit is contained in:
@@ -39,7 +39,7 @@ public sealed class ExaminableDamageSystem : EntitySystem
|
||||
|
||||
var level = GetDamageLevel(uid, component);
|
||||
var msg = Loc.GetString(messages[level]);
|
||||
args.PushMarkup(msg);
|
||||
args.PushMarkup(msg,-99);
|
||||
}
|
||||
|
||||
private int GetDamageLevel(EntityUid uid, ExaminableDamageComponent? component = null,
|
||||
|
||||
@@ -2,13 +2,14 @@
|
||||
|
||||
# Shown when examining the window. Each entry represents the window's health condition
|
||||
comp-window-damaged-1 = It looks fully intact.
|
||||
comp-window-damaged-2 = It has a few scratches
|
||||
comp-window-damaged-2 = It has a few scratches.
|
||||
comp-window-damaged-3 = It has a few small cracks.
|
||||
comp-window-damaged-4 = It has several big cracks running along its surface.
|
||||
comp-window-damaged-5 = It has deep cracks across multiple layers.
|
||||
comp-window-damaged-6 = It's extremely cracked and on the verge of shattering.
|
||||
comp-window-damaged-4 = [color=yellow]It has several big cracks running along its surface.[/color]
|
||||
comp-window-damaged-5 = [color=orange]It has deep cracks across multiple layers.[/color]
|
||||
comp-window-damaged-6 = [color=red]It's extremely cracked and on the verge of shattering.[/color]
|
||||
|
||||
### Interaction Messages
|
||||
|
||||
# Shown when knocking on a window
|
||||
comp-window-knock = *knock knock*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user