Hopefully fix subgamemodes from pushing rounds into extended. (#42744)

* Hopefully fix subgamemodes from hard locking rounds

* You'd revert this change, you potato...
This commit is contained in:
Kowlin 2026-02-04 16:22:02 +01:00 committed by Coryler
parent f02b636d36
commit b11e3cb967
2 changed files with 47 additions and 4 deletions

View File

@ -481,6 +481,46 @@
- type: DynamicRuleCost
cost: 200
- type: entity
abstract: true
parent: BaseGameRule
id: BaseXenoborgsRule
components:
- type: XenoborgsRule
- type: RuleGrids
- type: LoadMapRule
gridPath: /Maps/Shuttles/mothership.yml
- type: entity
parent: BaseXenoborgsRule
id: Xenoborgs
components:
- type: GameRule
minPlayers: 30
- type: AntagMultipleRoleSpawner
antagRoleToPrototypes:
MothershipCore: [ MothershipCore ]
Xenoborg: [ XenoborgEngi, XenoborgHeavy, XenoborgScout, XenoborgStealth ]
pickAndTake: true
- type: AntagSelection
selectionTime: PrePlayerSpawn
definitions:
- prefRoles: [ MothershipCore ]
fallbackRoles: [ Xenoborg ]
spawnerPrototype: SpawnPointGhostRoleMothershipCore
mindRoles:
- MindRoleMothershipCore
- prefRoles: [ Xenoborg ]
fallbackRoles: [ MothershipCore ]
spawnerPrototype: SpawnPointGhostRoleXenoborg
mindRoles:
- MindRoleXenoborg
min: 4
max: 4
- type: DynamicRuleCost
cost: 200
# This rule makes the chosen players unable to get other antag rules, as a way to prevent metagaming job rolls.
# Put this before antags assigned to station jobs, but after non-job antags (NukeOps/Wiz).
- type: entity

View File

@ -38,6 +38,8 @@
sound: "/Audio/Misc/thief_greeting.ogg"
- type: DynamicRuleCost
cost: 75
- type: GameRule
cancelPresetOnTooFewPlayers: false
# Needs testing
- type: entity
@ -72,15 +74,16 @@
nameFormat: name-format-wizard
mindRoles:
- MindRoleWizard
- type: GameRule
cancelPresetOnTooFewPlayers: false
- type: entity
parent: BaseGameRule
id: Xenoborgs
parent: BaseXenoborgsRule
id: SubXenoborgs
components:
- type: XenoborgsRule
- type: RuleGrids
- type: GameRule
minPlayers: 30
cancelPresetOnTooFewPlayers: false
- type: LoadMapRule
gridPath: /Maps/_DV/Shuttles/Event/mothership_dv.yml #DeltaV - Was: /Maps/Shuttles/mothership.yml
- type: AntagMultipleRoleSpawner