diff --git a/mods/ra/rules/defaults.yaml b/mods/ra/rules/defaults.yaml index 1a23f02cf6..732b4b9c1a 100644 --- a/mods/ra/rules/defaults.yaml +++ b/mods/ra/rules/defaults.yaml @@ -204,10 +204,18 @@ AttackMove: AssaultMoveScanCondition: assault-move +^GlobalBounty: + GrantConditionOnPrerequisite@GLOBALBOUNTY: + Condition: global-bounty + Prerequisites: global-bounty + GivesBounty: + RequiresCondition: global-bounty + ^Vehicle: Inherits@1: ^ExistsInWorld Inherits@2: ^IronCurtainable Inherits@3: ^SpriteActor + Inherits@bounty: ^GlobalBounty Huntable: DrawLineToTarget: UpdatesPlayerStatistics: @@ -238,7 +246,6 @@ ActorLostNotification: ProximityCaptor: Types: Vehicle - GivesBounty: GpsDot: String: Vehicle WithDamageOverlay: @@ -304,6 +311,7 @@ Inherits@1: ^ExistsInWorld Inherits@2: ^GainsExperience Inherits@3: ^SpriteActor + Inherits@bounty: ^GlobalBounty Huntable: DrawLineToTarget: Health: @@ -349,7 +357,6 @@ CargoType: Infantry HiddenUnderFog: ActorLostNotification: - GivesBounty: GpsDot: String: Infantry Crushable: @@ -451,6 +458,7 @@ Inherits@2: ^GainsExperience Inherits@3: ^IronCurtainable Inherits@4: ^SpriteActor + Inherits@bounty: ^GlobalBounty Huntable: DrawLineToTarget: UpdatesPlayerStatistics: @@ -470,7 +478,6 @@ Notification: NavalUnitLost ProximityCaptor: Types: Ship - GivesBounty: Chronoshiftable: RepairableNear: GpsDot: @@ -496,6 +503,7 @@ Inherits@1: ^ExistsInWorld Inherits@3: ^IronCurtainable Inherits@4: ^SpriteActor + Inherits@bounty: ^GlobalBounty Huntable: DrawLineToTarget: UpdatesPlayerStatistics: @@ -529,7 +537,6 @@ EjectOnGround: false EjectInAir: true AllowUnsuitableCell: true - GivesBounty: GpsDot: String: Plane Tooltip: @@ -576,6 +583,7 @@ Inherits@2: ^IronCurtainable Inherits@3: ^SpriteActor Inherits@shape: ^1x1Shape + Inherits@bounty: ^GlobalBounty SelectionDecorations: WithSpriteControlGroupDecoration: Selectable: @@ -601,7 +609,6 @@ ShakeOnDeath: ProximityCaptor: Types: Building - GivesBounty: Guardable: Range: 3c0 FrozenUnderFog: diff --git a/mods/ra/rules/player.yaml b/mods/ra/rules/player.yaml index 5afea03f41..198f6a97b9 100644 --- a/mods/ra/rules/player.yaml +++ b/mods/ra/rules/player.yaml @@ -43,10 +43,17 @@ Player: PlayerResources: InsufficientFundsNotification: InsufficientFunds DeveloperMode: - CheckboxDisplayOrder: 6 + CheckboxDisplayOrder: 7 GpsWatcher: Shroud: FogCheckboxDisplayOrder: 3 + LobbyPrerequisiteCheckbox@GLOBALBOUNTY: + ID: bounty + Label: Kill Bounties + Description: Players receive cash bonuses when killing enemy units + Enabled: True + DisplayOrder: 6 + Prerequisites: global-bounty FrozenActorLayer: BaseAttackNotifier: PlayerStatistics: