* Engine namespace changes.
* Automated remove redundant using statements.
* Simplified Graphics namespace.
* Apparently the container system stores full type names in the map file.😞 This updates those names.
* API Changes to LocalizationManager.LoadCulture.
* Update submodule to v0.3.2
27 lines
752 B
C#
27 lines
752 B
C#
using Content.Client.GameObjects.EntitySystems;
|
|
using Content.Shared.GameObjects.Verbs;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Localization;
|
|
|
|
namespace Content.Client.GlobalVerbs
|
|
{
|
|
[GlobalVerb]
|
|
public class ExamineVerb : GlobalVerb
|
|
{
|
|
public override bool RequireInteractionRange => false;
|
|
|
|
public override bool BlockedByContainers => false;
|
|
|
|
public override void GetData(IEntity user, IEntity target, VerbData data)
|
|
{
|
|
data.Visibility = VerbVisibility.Visible;
|
|
data.Text = Loc.GetString("Examine");
|
|
}
|
|
|
|
public override void Activate(IEntity user, IEntity target)
|
|
{
|
|
EntitySystem.Get<ExamineSystem>().DoExamine(target);
|
|
}
|
|
}
|
|
}
|