add immovable rod event (#17278)

This commit is contained in:
Slava0135
2023-07-02 16:40:07 +03:00
committed by GitHub
parent 9194c548f8
commit 41cf8cc554
6 changed files with 90 additions and 9 deletions

View File

@@ -0,0 +1,12 @@
using Content.Server.StationEvents.Events;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Server.StationEvents.Components;
[RegisterComponent, Access(typeof(ImmovableRodRule))]
public sealed class ImmovableRodRuleComponent : Component
{
[DataField("rodPrototype", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string RodPrototype = "ImmovableRodKeepTilesStill";
}