Refactor actions to be entities with components (#19900)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using Content.Shared.Actions.ActionTypes;
|
||||
using Content.Shared.Roles;
|
||||
using Robust.Shared.Audio;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
@@ -94,6 +94,6 @@ public sealed partial class ZombieRuleComponent : Component
|
||||
[DataField("shuttleCalled")]
|
||||
public bool ShuttleCalled;
|
||||
|
||||
[ValidatePrototypeId<InstantActionPrototype>]
|
||||
public const string ZombifySelfActionPrototype = "TurnUndead";
|
||||
[ValidatePrototypeId<EntityPrototype>]
|
||||
public const string ZombifySelfActionPrototype = "ActionTurnUndead";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user