Revert "Actions Rework" (#6888)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using Content.Shared.Actions;
|
||||
using Content.Shared.Actions.ActionTypes;
|
||||
using Robust.Shared.Containers;
|
||||
using Robust.Shared.Utility;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Server.Guardian
|
||||
{
|
||||
@@ -23,17 +22,5 @@ namespace Content.Server.Guardian
|
||||
/// Container which holds the guardian
|
||||
/// </summary>
|
||||
[ViewVariables] public ContainerSlot GuardianContainer = default!;
|
||||
|
||||
[DataField("action")]
|
||||
public InstantAction Action = new()
|
||||
{
|
||||
Name = "action-name-guardian",
|
||||
Description = "action-description-guardian",
|
||||
Icon = new SpriteSpecifier.Texture(new ResourcePath("Interface/Actions/manifest.png")),
|
||||
UseDelay = TimeSpan.FromSeconds(2),
|
||||
Event = new GuardianToggleActionEvent(),
|
||||
};
|
||||
}
|
||||
|
||||
public sealed class GuardianToggleActionEvent : PerformActionEvent { };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user