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:
rolfero
2022-12-20 03:53:36 +01:00
committed by GitHub
parent f09097ccd7
commit 7259acfb18
13 changed files with 303 additions and 28 deletions

View File

@@ -118,18 +118,8 @@ public sealed class ClothingSpeedModifierSystem : EntitySystem
}
}
var verb = new ExamineVerb()
{
Act = () =>
{
_examine.SendExamineTooltip(args.User, uid, msg, false, false);
},
Text = Loc.GetString("clothing-speed-examinable-verb-text"),
Message = Loc.GetString("clothing-speed-examinable-verb-message"),
Category = VerbCategory.Examine,
IconTexture = "/Textures/Interface/VerbIcons/outfit.svg.192dpi.png"
};
_examine.AddDetailedExamineVerb(args, component, msg, Loc.GetString("clothing-speed-examinable-verb-text"), "/Textures/Interface/VerbIcons/outfit.svg.192dpi.png", Loc.GetString("clothing-speed-examinable-verb-message"));
args.Verbs.Add(verb);
return;
}
}