Revert "Actions Rework" (#6888)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using Content.Shared.Actions;
|
||||
using Content.Shared.Actions.ActionTypes;
|
||||
using System;
|
||||
using Content.Shared.Ghost;
|
||||
using Robust.Shared.Utility;
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Server.Ghost.Components
|
||||
{
|
||||
@@ -10,23 +9,5 @@ namespace Content.Server.Ghost.Components
|
||||
public sealed class GhostComponent : SharedGhostComponent
|
||||
{
|
||||
public TimeSpan TimeOfDeath { get; set; } = TimeSpan.Zero;
|
||||
|
||||
[DataField("booRadius")]
|
||||
public float BooRadius = 3;
|
||||
|
||||
[DataField("booMaxTargets")]
|
||||
public int BooMaxTargets = 3;
|
||||
|
||||
[DataField("action")]
|
||||
public InstantAction Action = new()
|
||||
{
|
||||
UseDelay = TimeSpan.FromSeconds(120),
|
||||
Icon = new SpriteSpecifier.Texture(new ResourcePath("Interface/Actions/scream.png")),
|
||||
Name = "action-name-boo",
|
||||
Description = "action-description-boo",
|
||||
Event = new BooActionEvent(),
|
||||
};
|
||||
}
|
||||
|
||||
public sealed class BooActionEvent : PerformActionEvent { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user