Refactor actions to be entities with components (#19900)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
using Content.Shared.Actions.ActionTypes;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Content.Shared.Whitelist;
|
||||
using Robust.Shared.Containers;
|
||||
@@ -142,12 +141,12 @@ public sealed partial class MechComponent : Component
|
||||
public List<string> StartingEquipment = new();
|
||||
|
||||
#region Action Prototypes
|
||||
[DataField("mechCycleAction", customTypeSerializer: typeof(PrototypeIdSerializer<InstantActionPrototype>))]
|
||||
public string MechCycleAction = "MechCycleEquipment";
|
||||
[DataField("mechUiAction", customTypeSerializer: typeof(PrototypeIdSerializer<InstantActionPrototype>))]
|
||||
public string MechUiAction = "MechOpenUI";
|
||||
[DataField("mechEjectAction", customTypeSerializer: typeof(PrototypeIdSerializer<InstantActionPrototype>))]
|
||||
public string MechEjectAction = "MechEject";
|
||||
[DataField("mechCycleAction", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string MechCycleAction = "ActionMechCycleEquipment";
|
||||
[DataField("mechUiAction", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string MechUiAction = "ActionMechOpenUI";
|
||||
[DataField("mechEjectAction", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string MechEjectAction = "ActionMechEject";
|
||||
#endregion
|
||||
|
||||
#region Visualizer States
|
||||
|
||||
Reference in New Issue
Block a user