diff --git a/Content.Server/DeltaV/Abilities/Psionics/PrecognitionPowerSystem.cs b/Content.Server/DeltaV/Abilities/Psionics/PrecognitionPowerSystem.cs index 60d574192e1..79a56066e31 100644 --- a/Content.Server/DeltaV/Abilities/Psionics/PrecognitionPowerSystem.cs +++ b/Content.Server/DeltaV/Abilities/Psionics/PrecognitionPowerSystem.cs @@ -148,7 +148,7 @@ private void OnDoAfter(EntityUid uid, PrecognitionPowerComponent component, Prec var msg = Loc.GetString(locId); _chat.ChatMessageToOne(ChatChannel.Server, msg, - Loc.GetString("chat-manager-server-wrap-message", ("message", message)), + Loc.GetString("chat-manager-server-wrap-message", ("message", msg)), uid, false, mindComponent.Session.Channel, diff --git a/Content.Server/StationEvents/Components/VentCrittersRuleComponent.cs b/Content.Server/StationEvents/Components/VentCrittersRuleComponent.cs index a575075632e..7ec6e3d54ac 100644 --- a/Content.Server/StationEvents/Components/VentCrittersRuleComponent.cs +++ b/Content.Server/StationEvents/Components/VentCrittersRuleComponent.cs @@ -1,4 +1,5 @@ using Content.Server.StationEvents.Events; +using Content.Shared.EntityTable.EntitySelectors; using Content.Shared.Storage; using Robust.Shared.Map; // DeltaV @@ -7,8 +8,15 @@ namespace Content.Server.StationEvents.Components; [RegisterComponent, Access(typeof(VentCrittersRule))] public sealed partial class VentCrittersRuleComponent : Component { - [DataField("entries")] - public List Entries = new(); + // DeltaV: Replaced by Table + //[DataField("entries")] + //public List Entries = new(); + + /// + /// DeltaV: Table of possible entities to spawn. + /// + [DataField(required: true)] + public EntityTableSelector Table = default!; /// /// At least one special entry is guaranteed to spawn diff --git a/Content.Server/StationEvents/Events/VentCrittersRule.cs b/Content.Server/StationEvents/Events/VentCrittersRule.cs index 20143a77591..90c0cc262dc 100644 --- a/Content.Server/StationEvents/Events/VentCrittersRule.cs +++ b/Content.Server/StationEvents/Events/VentCrittersRule.cs @@ -2,6 +2,7 @@ using Content.Server.GameTicking.Rules.Components; using Content.Server.Pinpointer; using Content.Server.StationEvents.Components; +using Content.Shared.EntityTable; using Content.Shared.GameTicking.Components; using Content.Shared.Station.Components; using Content.Shared.Storage; @@ -26,6 +27,7 @@ public sealed class VentCrittersRule : StationEventSystem