Bomb suit explosion resistance (#15732)

This commit is contained in:
Slava0135
2023-05-03 08:23:07 +03:00
committed by GitHub
parent 372871c333
commit 2ab41e0f8c
6 changed files with 27 additions and 10 deletions

View File

@@ -79,6 +79,9 @@ namespace Content.Server.Armor
var examineMarkup = GetArmorExamine(armorModifiers);
var ev = new ArmorExamineEvent(examineMarkup);
RaiseLocalEvent(uid, ref ev);
_examine.AddDetailedExamineVerb(args, component, examineMarkup, Loc.GetString("armor-examinable-verb-text"), "/Textures/Interface/VerbIcons/dot.svg.192dpi.png", Loc.GetString("armor-examinable-verb-message"));
}
@@ -110,3 +113,6 @@ namespace Content.Server.Armor
}
}
}
[ByRefEvent]
public record struct ArmorExamineEvent(FormattedMessage Msg);