diff --git a/mods/cnc/rules/player.yaml b/mods/cnc/rules/player.yaml index 54e15e4e99..534f3e8d18 100644 --- a/mods/cnc/rules/player.yaml +++ b/mods/cnc/rules/player.yaml @@ -10,10 +10,17 @@ Player: AllyRepair: PlayerResources: DeveloperMode: - CheckboxDisplayOrder: 6 + CheckboxDisplayOrder: 7 BaseAttackNotifier: Shroud: FogCheckboxDisplayOrder: 3 + LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY: + ID: factundeploy + Label: Redeployable MCVs + Description: Allow undeploying Construction Yard. + Enabled: True + DisplayOrder: 6 + Prerequisites: global-factundeploy PlayerStatistics: FrozenActorLayer: PlaceBeacon: diff --git a/mods/cnc/rules/structures.yaml b/mods/cnc/rules/structures.yaml index 65e21099ed..97dc10c312 100644 --- a/mods/cnc/rules/structures.yaml +++ b/mods/cnc/rules/structures.yaml @@ -22,6 +22,10 @@ FACT: IntoActor: mcv Offset: 1,1 Facing: 108 + RequiresCondition: factundeploy + GrantConditionOnPrerequisite@GLOBALFACTUNDEPLOY: + Condition: factundeploy + Prerequisites: global-factundeploy ProductionQueue@GDIBuilding: Type: Building.GDI Factions: gdi diff --git a/mods/ra/rules/player.yaml b/mods/ra/rules/player.yaml index 198f6a97b9..799e1ce3c5 100644 --- a/mods/ra/rules/player.yaml +++ b/mods/ra/rules/player.yaml @@ -43,7 +43,7 @@ Player: PlayerResources: InsufficientFundsNotification: InsufficientFunds DeveloperMode: - CheckboxDisplayOrder: 7 + CheckboxDisplayOrder: 8 GpsWatcher: Shroud: FogCheckboxDisplayOrder: 3 @@ -54,6 +54,13 @@ Player: Enabled: True DisplayOrder: 6 Prerequisites: global-bounty + LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY: + ID: factundeploy + Label: Redeployable MCVs + Description: Allow undeploying Construction Yard. + Enabled: True + DisplayOrder: 7 + Prerequisites: global-factundeploy FrozenActorLayer: BaseAttackNotifier: PlayerStatistics: diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index bbd9551b0c..c21ffa803f 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -1083,6 +1083,10 @@ FACT: IntoActor: mcv Offset: 1,1 Facing: 96 + RequiresCondition: factundeploy + GrantConditionOnPrerequisite@GLOBALFACTUNDEPLOY: + Condition: factundeploy + Prerequisites: global-factundeploy ProductionBar@Building: ProductionType: Building ProductionBar@Defense: diff --git a/mods/ts/rules/player.yaml b/mods/ts/rules/player.yaml index cd3be1cb46..cf1502800d 100644 --- a/mods/ts/rules/player.yaml +++ b/mods/ts/rules/player.yaml @@ -44,9 +44,16 @@ Player: InsufficientFundsNotification: InsufficientFunds DeveloperMode: CheckboxEnabled: true - CheckboxDisplayOrder: 6 + CheckboxDisplayOrder: 7 Shroud: FogCheckboxDisplayOrder: 3 + LobbyPrerequisiteCheckbox@GLOBALFACTUNDEPLOY: + ID: factundeploy + Label: Redeployable MCVs + Description: Allow undeploying Construction Yard. + Enabled: True + DisplayOrder: 6 + Prerequisites: global-factundeploy FrozenActorLayer: BaseAttackNotifier: AllyNotification: OurAllyIsUnderAttack diff --git a/mods/ts/rules/shared-structures.yaml b/mods/ts/rules/shared-structures.yaml index 46b46ed712..71ae7fcc19 100644 --- a/mods/ts/rules/shared-structures.yaml +++ b/mods/ts/rules/shared-structures.yaml @@ -32,6 +32,10 @@ GACNST: Offset: 1,1 Facing: 96 DeployCursor: undeploy + RequiresCondition: factundeploy + GrantConditionOnPrerequisite@GLOBALFACTUNDEPLOY: + Condition: factundeploy + Prerequisites: global-factundeploy ProductionBar@Building: ProductionType: Building ProductionBar@Defense: