using Content.Server.GameTicking.Rules; using Content.Shared.Storage; namespace Content.Server.GameTicking.Rules.Components; /// /// When this gamerule is added it has a chance of adding other gamerules. /// Since it's done when added and not when started you can still use normal start logic. /// Used for starting subgamemodes in game presets. /// [RegisterComponent, Access(typeof(SubGamemodesSystem))] public sealed partial class SubGamemodesComponent : Component { /// /// Spawn entries for each gamerule prototype. /// Use orGroups if you want to limit rules. /// [DataField(required: true)] public List Rules = new(); }