Gamerule Entities, Take 2 (#15765)

This commit is contained in:
Nemanja
2023-04-25 20:23:14 -04:00
committed by GitHub
parent 08ccb5367e
commit 59349b1b9b
124 changed files with 3102 additions and 4344 deletions

View File

@@ -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;
}