From 91ca4aebacafab2e9462b4e4821bcaec2852d4e7 Mon Sep 17 00:00:00 2001 From: SkaldetSkaeg Date: Sat, 4 Jan 2025 17:05:15 +0700 Subject: [PATCH] + new EventSceduler for cult --- .../CultYogg/Pod/CultYoggPodComponent.cs | 2 - Resources/Prototypes/SS220/game_presets.yml | 46 ++++++++++++++++++- 2 files changed, 44 insertions(+), 4 deletions(-) diff --git a/Content.Shared/SS220/CultYogg/Pod/CultYoggPodComponent.cs b/Content.Shared/SS220/CultYogg/Pod/CultYoggPodComponent.cs index 184270fde544..fb9eb6dfa2b1 100644 --- a/Content.Shared/SS220/CultYogg/Pod/CultYoggPodComponent.cs +++ b/Content.Shared/SS220/CultYogg/Pod/CultYoggPodComponent.cs @@ -12,8 +12,6 @@ namespace Content.Shared.SS220.CultYogg.Pod; [RegisterComponent, NetworkedComponent] public sealed partial class CultYoggPodComponent : Component { - [DataField] - public MiGoHealSpecifier healSpecifier = new(); /// /// Time between each healing incident /// diff --git a/Resources/Prototypes/SS220/game_presets.yml b/Resources/Prototypes/SS220/game_presets.yml index 556340cbf650..0cdb4d61cb15 100644 --- a/Resources/Prototypes/SS220/game_presets.yml +++ b/Resources/Prototypes/SS220/game_presets.yml @@ -18,7 +18,49 @@ name: roles-antag-cult-yogg-name description: roles-antag-cult-yogg-objective showInVote: false - minPlayers: 2 #ToDo tweak numbers + minPlayers: 40 rules: - CultYoggRule - - BasicStationEventScheduler + - NoNewCrewAntagsStationEventScheduler + +# event schedulers + +- type: entity + id: NoNewCrewAntagsStationEventScheduler + parent: BaseGameRule + components: + - type: BasicStationEventScheduler + scheduledGameRules: !type:NestedSelector + tableId: NoNewCrewAntagsGameRulesTables + +- type: entityTable + id: NoNewCrewAntagsGameRulesTable + table: !type:AllSelector # we need to pass a list of rules, since rules have further restrictions to consider via StationEventComp + children: + - !type:NestedSelector + tableId: BasicCalmEventsTable + - !type:NestedSelector + tableId: NoNewCrewAntagsEventsTable + - !type:NestedSelector + tableId: CargoGiftsTable + - !type:NestedSelector + tableId: CalmPestEventsTable + - !type:NestedSelector + tableId: SpicyPestEventsTable + +- type: entityTable + id: NoNewCrewAntagsEventsTable + table: !type:AllSelector # we need to pass a list of rules, since rules have further restrictions to consider via StationEventComp + children: + # - id: ClosetSkeleton # SS220 No-Closet-Skeletons + - id: DragonSpawn + - id: KingRatMigration + - id: NinjaSpawn + - id: RevenantSpawn + #- id: SleeperAgents + - id: ZombieOutbreak + - id: DarkReaperSpawn #ss220 darkreaper middle event + - id: SpiderQueenSpawn #SS220 spider queen midround event + - id: LoneOpsSpawn + - id: DerelictCyborgSpawn +