Examine Groups (#12400)
* new version * testy2 * working version * new GroupExamineSystem * restructure * restructure again * update icon * adding group examine to prototypes * change examine group title to a localized string Co-authored-by: CommieFlowers <rasmus.cedergren@hotmail.com>
This commit is contained in:
@@ -77,20 +77,11 @@ namespace Content.Server.Armor
|
||||
if (armorModifiers == null)
|
||||
return;
|
||||
|
||||
var verb = new ExamineVerb()
|
||||
{
|
||||
Act = () =>
|
||||
{
|
||||
var markup = GetArmorExamine(armorModifiers);
|
||||
_examine.SendExamineTooltip(args.User, uid, markup, false, false);
|
||||
},
|
||||
Text = Loc.GetString("armor-examinable-verb-text"),
|
||||
Message = Loc.GetString("armor-examinable-verb-message"),
|
||||
Category = VerbCategory.Examine,
|
||||
IconTexture = "/Textures/Interface/VerbIcons/dot.svg.192dpi.png"
|
||||
};
|
||||
var examineMarkup = GetArmorExamine(armorModifiers);
|
||||
|
||||
args.Verbs.Add(verb);
|
||||
_examine.AddDetailedExamineVerb(args, component, examineMarkup, Loc.GetString("armor-examinable-verb-text"), "/Textures/Interface/VerbIcons/dot.svg.192dpi.png", Loc.GetString("armor-examinable-verb-message"));
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
private static FormattedMessage GetArmorExamine(DamageModifierSet armorModifiers)
|
||||
|
||||
Reference in New Issue
Block a user