Gamerule Entities, Take 2 (#15765)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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(LoneOpsSpawnRule))]
|
||||
public sealed class LoneOpsSpawnRuleComponent : Component
|
||||
{
|
||||
[DataField("loneOpsShuttlePath")]
|
||||
public string LoneOpsShuttlePath = "Maps/Shuttles/striker.yml";
|
||||
|
||||
[DataField("gameRuleProto", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
||||
public string GameRuleProto = "Nukeops";
|
||||
|
||||
[DataField("additionalRule")]
|
||||
public EntityUid? AdditionalRule;
|
||||
}
|
||||
Reference in New Issue
Block a user