Replace ProtoId<EntityPrototype> uses with EntProtoId (#29892)
This commit is contained in:
@@ -12,7 +12,7 @@ public sealed partial class GerasComponent : Component
|
||||
{
|
||||
[DataField] public ProtoId<PolymorphPrototype> GerasPolymorphId = "SlimeMorphGeras";
|
||||
|
||||
[DataField] public ProtoId<EntityPrototype> GerasAction = "ActionMorphGeras";
|
||||
[DataField] public EntProtoId GerasAction = "ActionMorphGeras";
|
||||
|
||||
[DataField] public EntityUid? GerasActionEntity;
|
||||
}
|
||||
|
||||
@@ -34,8 +34,8 @@ public sealed partial class SleepingSystem : EntitySystem
|
||||
[Dependency] private readonly SharedEmitSoundSystem _emitSound = default!;
|
||||
[Dependency] private readonly StatusEffectsSystem _statusEffectsSystem = default!;
|
||||
|
||||
public static readonly ProtoId<EntityPrototype> SleepActionId = "ActionSleep";
|
||||
public static readonly ProtoId<EntityPrototype> WakeActionId = "ActionWake";
|
||||
public static readonly EntProtoId SleepActionId = "ActionSleep";
|
||||
public static readonly EntProtoId WakeActionId = "ActionWake";
|
||||
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@ public sealed partial class SmokeOnTriggerComponent : Component
|
||||
/// Defaults to smoke but you can use foam if you want.
|
||||
/// </summary>
|
||||
[DataField, ViewVariables(VVAccess.ReadWrite)]
|
||||
public ProtoId<EntityPrototype> SmokePrototype = "Smoke";
|
||||
public EntProtoId SmokePrototype = "Smoke";
|
||||
|
||||
/// <summary>
|
||||
/// Solution to add to each smoke cloud.
|
||||
|
||||
@@ -31,7 +31,7 @@ public sealed partial class PAIComponent : Component
|
||||
public EntityUid? MidiAction;
|
||||
|
||||
[DataField]
|
||||
public ProtoId<EntityPrototype> MapActionId = "ActionPAIOpenMap";
|
||||
public EntProtoId MapActionId = "ActionPAIOpenMap";
|
||||
|
||||
[DataField, AutoNetworkedField]
|
||||
public EntityUid? MapAction;
|
||||
|
||||
Reference in New Issue
Block a user