From 2df65f10f54c0b56716ffff763ead3fb5854e087 Mon Sep 17 00:00:00 2001 From: Tayrtahn Date: Wed, 10 Jul 2024 20:01:30 -0400 Subject: [PATCH] Replace ProtoId uses with EntProtoId (#29892) --- Content.Server/Geras/GerasComponent.cs | 2 +- Content.Shared/Bed/Sleep/SleepingSystem.cs | 4 ++-- .../Explosion/Components/OnTrigger/SmokeOnTriggerComponent.cs | 2 +- Content.Shared/PAI/PAIComponent.cs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Content.Server/Geras/GerasComponent.cs b/Content.Server/Geras/GerasComponent.cs index eaf792502f..df1fccd718 100644 --- a/Content.Server/Geras/GerasComponent.cs +++ b/Content.Server/Geras/GerasComponent.cs @@ -12,7 +12,7 @@ public sealed partial class GerasComponent : Component { [DataField] public ProtoId GerasPolymorphId = "SlimeMorphGeras"; - [DataField] public ProtoId GerasAction = "ActionMorphGeras"; + [DataField] public EntProtoId GerasAction = "ActionMorphGeras"; [DataField] public EntityUid? GerasActionEntity; } diff --git a/Content.Shared/Bed/Sleep/SleepingSystem.cs b/Content.Shared/Bed/Sleep/SleepingSystem.cs index 581924c053..648d1b4010 100644 --- a/Content.Shared/Bed/Sleep/SleepingSystem.cs +++ b/Content.Shared/Bed/Sleep/SleepingSystem.cs @@ -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 SleepActionId = "ActionSleep"; - public static readonly ProtoId WakeActionId = "ActionWake"; + public static readonly EntProtoId SleepActionId = "ActionSleep"; + public static readonly EntProtoId WakeActionId = "ActionWake"; public override void Initialize() { diff --git a/Content.Shared/Explosion/Components/OnTrigger/SmokeOnTriggerComponent.cs b/Content.Shared/Explosion/Components/OnTrigger/SmokeOnTriggerComponent.cs index 80d65f4c2c..1138e74af8 100644 --- a/Content.Shared/Explosion/Components/OnTrigger/SmokeOnTriggerComponent.cs +++ b/Content.Shared/Explosion/Components/OnTrigger/SmokeOnTriggerComponent.cs @@ -29,7 +29,7 @@ public sealed partial class SmokeOnTriggerComponent : Component /// Defaults to smoke but you can use foam if you want. /// [DataField, ViewVariables(VVAccess.ReadWrite)] - public ProtoId SmokePrototype = "Smoke"; + public EntProtoId SmokePrototype = "Smoke"; /// /// Solution to add to each smoke cloud. diff --git a/Content.Shared/PAI/PAIComponent.cs b/Content.Shared/PAI/PAIComponent.cs index b4e4c92735..9d5be30275 100644 --- a/Content.Shared/PAI/PAIComponent.cs +++ b/Content.Shared/PAI/PAIComponent.cs @@ -31,7 +31,7 @@ public sealed partial class PAIComponent : Component public EntityUid? MidiAction; [DataField] - public ProtoId MapActionId = "ActionPAIOpenMap"; + public EntProtoId MapActionId = "ActionPAIOpenMap"; [DataField, AutoNetworkedField] public EntityUid? MapAction;