From aa6ddc6a6ecf21a1f39dfa6353231a3c8fd19752 Mon Sep 17 00:00:00 2001 From: reaperrr Date: Wed, 15 Nov 2017 22:10:42 +0100 Subject: [PATCH] Upgrade RA rules to SupportPower seconds -> ticks --- mods/ra/maps/bomber-john/rules.yaml | 6 +++--- mods/ra/maps/soviet-01/rules.yaml | 2 +- mods/ra/maps/survival01/rules.yaml | 2 +- mods/ra/rules/misc.yaml | 2 +- mods/ra/rules/structures.yaml | 22 +++++++++++----------- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/mods/ra/maps/bomber-john/rules.yaml b/mods/ra/maps/bomber-john/rules.yaml index 31538d232e..0f325a1ec2 100644 --- a/mods/ra/maps/bomber-john/rules.yaml +++ b/mods/ra/maps/bomber-john/rules.yaml @@ -67,18 +67,18 @@ Player: DefaultCash: 60 ChronoshiftPower: Icon: chrono - ChargeTime: 60 + ChargeInterval: 1500 Description: Chronoshift LongDesc: Teleport a group of vehicles across\nthe map. SelectTargetSound: slcttgt1.aud BeginChargeSound: chrochr1.aud EndChargeSound: chrordy1.aud - Duration: 999999 + Duration: 24999975 KillCargo: yes Range: 3 GrantExternalConditionPower@IRONCURTAIN: Icon: invuln - ChargeTime: 30 + ChargeInterval: 750 Description: Invulnerability LongDesc: Makes a unit invulnerable\nfor 3 seconds. Duration: 75 diff --git a/mods/ra/maps/soviet-01/rules.yaml b/mods/ra/maps/soviet-01/rules.yaml index 6b5406173f..4c0634637f 100644 --- a/mods/ra/maps/soviet-01/rules.yaml +++ b/mods/ra/maps/soviet-01/rules.yaml @@ -35,7 +35,7 @@ AFLD: AirstrikePower@spyplane: Prerequisites: ~disabled ParatroopersPower@paratroopers: - ChargeTime: 60 + ChargeInterval: 1500 DropItems: E1,E1,E1,E2,E2 -RallyPoint: -Sellable: diff --git a/mods/ra/maps/survival01/rules.yaml b/mods/ra/maps/survival01/rules.yaml index c283edd929..d7da59c06a 100644 --- a/mods/ra/maps/survival01/rules.yaml +++ b/mods/ra/maps/survival01/rules.yaml @@ -48,7 +48,7 @@ AFLD.mission: ATEK.mission: Inherits: ATEK GpsPower: - ChargeTime: 0 + ChargeInterval: 0 Power: Amount: 0 -Selectable: diff --git a/mods/ra/rules/misc.yaml b/mods/ra/rules/misc.yaml index f6f7cb7644..e0a0ebb729 100644 --- a/mods/ra/rules/misc.yaml +++ b/mods/ra/rules/misc.yaml @@ -322,7 +322,7 @@ powerproxy.sonarpulse: Icon: sonar Description: Sonar Pulse LongDesc: Reveals all submarines in the vicinity for a \nshort time. - ChargeTime: 30 + ChargeInterval: 750 EndChargeSpeechNotification: SonarPulseReady SelectTargetSpeechNotification: SelectTarget Actor: sonar diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index 7d02e12696..bbd9551b0c 100644 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -33,7 +33,7 @@ MSLO: PauseOnCondition: disabled Cursor: nuke Icon: abomb - ChargeTime: 540 + ChargeInterval: 13500 Description: Atom Bomb LongDesc: Launches a devastating atomic bomb\nat a target location. BeginChargeSpeechNotification: AbombPrepping @@ -392,7 +392,7 @@ IRON: GrantExternalConditionPower@IRONCURTAIN: PauseOnCondition: disabled Icon: invuln - ChargeTime: 120 + ChargeInterval: 3000 Description: Invulnerability LongDesc: Makes a group of units invulnerable\nfor 20 seconds. Duration: 500 @@ -453,14 +453,14 @@ PDOX: PauseOnCondition: disabled Prerequisites: !pdox.germany Icon: chrono - ChargeTime: 120 + ChargeInterval: 3000 Description: Chronoshift LongDesc: Teleports a group of units across\nthe map for 20 seconds. SelectTargetSpeechNotification: SelectTarget InsufficientPowerSpeechNotification: InsufficientPower BeginChargeSpeechNotification: ChronosphereCharging EndChargeSpeechNotification: ChronosphereReady - Duration: 20 + Duration: 500 KillCargo: yes DisplayRadarPing: True ChronoshiftPower@advancedchronoshift: @@ -468,14 +468,14 @@ PDOX: PauseOnCondition: disabled Prerequisites: pdox.germany Icon: chrono - ChargeTime: 120 + ChargeInterval: 3000 Description: Advanced Chronoshift LongDesc: Teleports a large group of units across\nthe map for 20 seconds. SelectTargetSpeechNotification: SelectTarget InsufficientPowerSpeechNotification: InsufficientPower BeginChargeSpeechNotification: ChronosphereCharging EndChargeSpeechNotification: ChronosphereReady - Duration: 20 + Duration: 500 KillCargo: yes DisplayRadarPing: True Range: 2 @@ -902,10 +902,10 @@ ATEK: PauseOnCondition: disabled Icon: gps OneShot: yes - ChargeTime: 480 + ChargeInterval: 12000 Description: GPS Satellite LongDesc: Reveals map terrain and provides tactical\ninformation. Requires power and active radar. - RevealDelay: 15 + RevealDelay: 375 LaunchSpeechNotification: SatelliteLaunched DisplayTimerStances: Ally, Neutral, Enemy SupportPowerChargeBar: @@ -1358,7 +1358,7 @@ AFLD: OrderName: SovietSpyPlane Prerequisites: aircraft.soviet Icon: spyplane - ChargeTime: 150 + ChargeInterval: 3750 Description: Spy Plane LongDesc: Reveals an area of the map\nand cloaked enemy units. SelectTargetSpeechNotification: SelectTarget @@ -1376,7 +1376,7 @@ AFLD: OrderName: SovietParatroopers Prerequisites: aircraft.soviet Icon: paratroopers - ChargeTime: 300 + ChargeInterval: 7500 Description: Paratroopers LongDesc: A Badger drops a squad of infantry\nanywhere on the map. DropItems: E1R1,E1R1,E1R1,E3R1,E3R1 @@ -1394,7 +1394,7 @@ AFLD: OrderName: UkraineParabombs Prerequisites: aircraft.ukraine Icon: parabombs - ChargeTime: 300 + ChargeInterval: 7500 Description: Parabombs LongDesc: A squad of Badgers drop parachuted\nbombs on your target. SelectTargetSpeechNotification: SelectTarget