Skip to content

Commit

Permalink
+ new EventSceduler for cult
Browse files Browse the repository at this point in the history
  • Loading branch information
SkaldetSkaeg committed Jan 4, 2025
1 parent e49af29 commit 91ca4ae
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Content.Shared/SS220/CultYogg/Pod/CultYoggPodComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ namespace Content.Shared.SS220.CultYogg.Pod;
[RegisterComponent, NetworkedComponent]
public sealed partial class CultYoggPodComponent : Component
{
[DataField]
public MiGoHealSpecifier healSpecifier = new();
/// <summary>
/// Time between each healing incident
/// </summary>
Expand Down
46 changes: 44 additions & 2 deletions Resources/Prototypes/SS220/game_presets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 91ca4ae

Please sign in to comment.