Merge pull request #12996 from atlimit8/RemoveIDisable-part2

Remove IDisable - part 2
This commit is contained in:
Paul Chote
2017-05-07 08:38:09 +01:00
committed by GitHub
23 changed files with 199 additions and 93 deletions

View File

@@ -477,6 +477,7 @@ HQ:
DetectCloaked:
Range: 5c0
AirstrikePower:
PauseOnCondition: disabled
Prerequisites: ~techlevel.superweapons
Icon: airstrike
ChargeTime: 240
@@ -573,6 +574,7 @@ EYE:
DetectCloaked:
Range: 5c0
IonCannonPower:
PauseOnCondition: disabled
Prerequisites: ~techlevel.superweapons
Icon: ioncannon
Cursor: ioncannon
@@ -625,6 +627,7 @@ TMPL:
DetectCloaked:
Range: 5c0
NukePower:
PauseOnCondition: disabled
Prerequisites: ~techlevel.superweapons
Icon: abomb
Cursor: nuke

View File

@@ -533,7 +533,7 @@ outpost:
mercenary: outpost.ordos
WithIdleOverlay@DISH:
Sequence: idle-dish
PauseOnLowPower: true
PauseOnCondition: disabled
RequiresCondition: !severe-damaged
GrantConditionOnDamageState@STOPDISH:
Condition: severe-damaged
@@ -960,6 +960,7 @@ palace:
NukePower:
Cursor: nuke
Icon: deathhand
PauseOnCondition: disabled
Prerequisites: ~techlevel.superweapons, ~palace.nuke
ChargeTime: 300
Description: Death Hand
@@ -979,6 +980,7 @@ palace:
Description: Recruit Fremen
LongDesc: Elite infantry unit armed with assault rifles and rockets\n Strong vs Infantry, Vehicles\n Weak vs Artillery\n Special Ability: Invisibility
Icon: fremen
PauseOnCondition: disabled
Prerequisites: ~techlevel.superweapons, ~palace.fremen
Actors: fremen, fremen
Type: Palace
@@ -990,6 +992,7 @@ palace:
Description: Recruit Saboteur
LongDesc: Sneaky infantry, armed with explosives\n Strong vs Buildings\n Weak vs Everything\n Special Ability: destroy buildings
Icon: saboteur
PauseOnCondition: disabled
Prerequisites: ~techlevel.superweapons, ~palace.saboteur
Actors: saboteur
Type: Palace

View File

@@ -933,3 +933,12 @@
Palette: disabled
GrantConditionOnDisabled@IDISABLE:
Condition: disabled
^DisabledByPowerOutage:
AffectedByPowerOutage:
Condition: power-outage
InfiltrateForPowerOutage:
DisableOnCondition@POWER_OUTAGE:
RequiresCondition: power-outage
Power:
RequiresCondition: !power-outage

View File

@@ -21,6 +21,7 @@ MSLO:
RevealsShroud:
Range: 5c0
NukePower:
PauseOnCondition: disabled
Cursor: nuke
Icon: abomb
ChargeTime: 540
@@ -318,6 +319,7 @@ IRON:
Bib:
HasMinibib: Yes
GrantExternalConditionPower@IRONCURTAIN:
PauseOnCondition: disabled
Icon: invuln
ChargeTime: 120
Description: Invulnerability
@@ -375,6 +377,7 @@ PDOX:
Prerequisite: pdox.germany
ChronoshiftPower@chronoshift:
OrderName: Chronoshift
PauseOnCondition: disabled
Prerequisites: !pdox.germany
Icon: chrono
ChargeTime: 120
@@ -389,6 +392,7 @@ PDOX:
DisplayRadarPing: True
ChronoshiftPower@advancedchronoshift:
OrderName: AdvancedChronoshift
PauseOnCondition: disabled
Prerequisites: pdox.germany
Icon: chrono
ChargeTime: 120
@@ -811,6 +815,7 @@ ATEK:
Range: 6c0
Bib:
GpsPower:
PauseOnCondition: disabled
Icon: gps
OneShot: yes
ChargeTime: 480
@@ -1304,6 +1309,7 @@ AFLD:
POWR:
Inherits: ^Building
Inherits@IDISABLE: ^DisabledOverlay
Inherits@POWER_OUTAGE: ^DisabledByPowerOutage
Buildable:
Queue: Building
BuildPaletteOrder: 10
@@ -1327,8 +1333,6 @@ POWR:
Bib:
Power:
Amount: 100
InfiltrateForPowerOutage:
AffectedByPowerOutage:
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, SpyInfiltrate
ScalePowerWithHealth:
@@ -1339,6 +1343,7 @@ POWR:
APWR:
Inherits: ^Building
Inherits@IDISABLE: ^DisabledOverlay
Inherits@POWER_OUTAGE: ^DisabledByPowerOutage
Buildable:
Queue: Building
BuildPaletteOrder: 110
@@ -1366,8 +1371,6 @@ APWR:
Bib:
Power:
Amount: 200
InfiltrateForPowerOutage:
AffectedByPowerOutage:
Targetable:
TargetTypes: Ground, Structure, C4, DetonateAttack, SpyInfiltrate
ScalePowerWithHealth:

View File

@@ -972,3 +972,12 @@
Palette: disabled
GrantConditionOnDisabled@IDISABLE:
Condition: disabled
^DisabledByPowerOutage:
AffectedByPowerOutage:
Condition: power-outage
InfiltrateForPowerOutage:
DisableOnCondition@POWER_OUTAGE:
RequiresCondition: power-outage
Power:
RequiresCondition: !power-outage

View File

@@ -1,6 +1,7 @@
GAPOWR:
Inherits: ^Building
Inherits@IDISABLE: ^DisabledOverlay
Inherits@POWER_OUTAGE: ^DisabledByPowerOutage
Buildable:
Queue: Building
BuildPaletteOrder: 10
@@ -23,15 +24,15 @@ GAPOWR:
Range: 4c0
MaxHeightDelta: 3
WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled
Sequence: idle-lights
WithIdleOverlay@PLUG:
PauseOnCondition: disabled
Sequence: idle-plug
Selectable:
Bounds: 90, 48, 0, -6
Power:
Amount: 100
InfiltrateForPowerOutage:
AffectedByPowerOutage:
PowerTooltip:
Targetable:
TargetTypes: Ground, C4, DetonateAttack, SpyInfiltrate
@@ -41,10 +42,11 @@ GAPOWR:
Conditions:
powrup: powrup.a
Power@pluga:
RequiresCondition: powrup.a
RequiresCondition: powrup.a && !power-outage
Amount: 50
WithIdleOverlay@pluga:
RequiresCondition: powrup.a
PauseOnCondition: disabled
Sequence: idle-powrupa
Pluggable@plugb:
Offset: 1,1
@@ -52,9 +54,10 @@ GAPOWR:
powrup: powrup.b
WithIdleOverlay@plugb:
RequiresCondition: powrup.b
PauseOnCondition: disabled
Sequence: idle-powrupb
Power@plugb:
RequiresCondition: powrup.b
RequiresCondition: powrup.b && !power-outage
Amount: 50
ProvidesPrerequisite@buildingname:
SelectionDecorations:
@@ -271,8 +274,10 @@ GADEPT:
WithIdleOverlay@CIRCUITS:
Sequence: circuits
WithRepairOverlay@CRANE:
PauseOnCondition: empdisable
Sequence: crane
WithRepairOverlay@PLATFORM:
RequiresCondition: !empdisable
Sequence: platform
WithDeathAnimation@BIB:
DeathSequence: dead-ground
@@ -290,6 +295,7 @@ GADEPT:
GARADR:
Inherits: ^Building
Inherits@IDISABLED: ^DisabledOverlay
Buildable:
Queue: Building
BuildPaletteOrder: 80
@@ -326,7 +332,7 @@ GARADR:
MaxHeightDelta: 3
WithIdleOverlay@DISH:
Sequence: idle-dish
PauseOnLowPower: yes
PauseOnCondition: disabled
Targetable:
TargetTypes: Ground, C4, SpyInfiltrate
Power:
@@ -334,11 +340,10 @@ GARADR:
ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 96, 118, 0, -38
GrantConditionOnDisabled@IDISABLE:
Condition: disabled
GATECH:
Inherits: ^Building
Inherits@IDISABLE: ^DisabledOverlay
Buildable:
Queue: Building
BuildPaletteOrder: 150
@@ -363,9 +368,11 @@ GATECH:
Range: 4c0
MaxHeightDelta: 3
WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled
Sequence: idle-lights
Power:
Amount: -150
RequiresPower:
ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 110, 60, 3, -4
@@ -393,10 +400,13 @@ GAPLUG:
PowerupSpeech: EnablePower
PowerdownSpeech: DisablePower
WithIdleOverlay@DISH:
PauseOnCondition: disabled
Sequence: idle-dish
WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled
Sequence: idle-lights
WithIdleOverlay@STRIP:
RequiresCondition: !disabled
Sequence: idle-strip
Health:
HP: 1000
@@ -407,6 +417,7 @@ GAPLUG:
MaxHeightDelta: 3
IonCannonPower:
Cursor: ioncannon
PauseOnCondition: disabled || empdisable
RequiresCondition: plug.ioncannona || plug.ioncannonb
Icon: ioncannon
Effect: explosion
@@ -421,6 +432,7 @@ GAPLUG:
DisplayRadarPing: True
CameraActor: camera
ProduceActorPower:
PauseOnCondition: disabled || empdisable
RequiresCondition: plug.hunterseekera || plug.hunterseekerb
Description: Hunter Seeker
LongDesc: Releases a drone that will acquire and destroy an enemy target.
@@ -451,9 +463,11 @@ GAPLUG:
plug.hunterseeker: !plug.hunterseekerb && !plug.ioncannona && !plug.hunterseekera
WithIdleOverlay@ioncannona:
RequiresCondition: plug.ioncannona
PauseOnCondition: disabled
Sequence: idle-ioncannona
WithIdleOverlay@hunterseekera:
RequiresCondition: plug.hunterseekera
PauseOnCondition: disabled
Sequence: idle-hunterseekera
Pluggable@plugb:
Offset: 1,2
@@ -465,9 +479,11 @@ GAPLUG:
plug.hunterseeker: !plug.hunterseekera && !plug.ioncannonb && !plug.hunterseekerb
WithIdleOverlay@ioncannonb:
RequiresCondition: plug.ioncannonb
PauseOnCondition: disabled
Sequence: idle-ioncannonb
WithIdleOverlay@hunterseekerb:
RequiresCondition: plug.hunterseekerb
PauseOnCondition: disabled
Sequence: idle-hunterseekerb
ProvidesPrerequisite@buildingname:
SelectionDecorations:

View File

@@ -116,6 +116,7 @@ GACTWR:
WithMuzzleOverlay:
RequiresCondition: tower.vulcan
WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled
Sequence: idle-lights
LineBuildNode:
Types: turret

View File

@@ -1,6 +1,7 @@
NAPOWR:
Inherits: ^Building
Inherits@IDISABLE: ^DisabledOverlay
Inherits@POWER_OUTAGE: ^DisabledByPowerOutage
Buildable:
Queue: Building
BuildPaletteOrder: 20
@@ -25,11 +26,10 @@ NAPOWR:
Range: 4c0
MaxHeightDelta: 3
WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled
Sequence: idle-lights
Power:
Amount: 100
InfiltrateForPowerOutage:
AffectedByPowerOutage:
Targetable:
TargetTypes: Ground, C4, DetonateAttack, SpyInfiltrate
ScalePowerWithHealth:
@@ -40,6 +40,7 @@ NAPOWR:
NAAPWR:
Inherits: ^Building
Inherits@IDISABLE: ^DisabledOverlay
Inherits@POWER_OUTAGE: ^DisabledByPowerOutage
Buildable:
Queue: Building
BuildPaletteOrder: 120
@@ -64,11 +65,10 @@ NAAPWR:
Range: 4c0
MaxHeightDelta: 3
WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled
Sequence: idle-lights
Power:
Amount: 200
InfiltrateForPowerOutage:
AffectedByPowerOutage:
Targetable:
TargetTypes: Ground, C4, DetonateAttack, SpyInfiltrate
ScalePowerWithHealth:
@@ -249,6 +249,7 @@ NAHPAD:
NARADR:
Inherits: ^Building
Inherits@IDISABLED: ^DisabledOverlay
Buildable:
Queue: Building
BuildPaletteOrder: 90
@@ -285,7 +286,7 @@ NARADR:
MaxHeightDelta: 3
WithIdleOverlay@DISH:
Sequence: idle-dish
PauseOnLowPower: true
PauseOnCondition: disabled
Targetable:
TargetTypes: Ground, C4, SpyInfiltrate
Power:
@@ -293,11 +294,10 @@ NARADR:
ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 96, 72, 0, -12
GrantConditionOnDisabled@IDISABLE:
Condition: disabled
NATECH:
Inherits: ^Building
Inherits@IDISABLED: ^DisabledOverlay
Buildable:
Queue: Building
BuildPaletteOrder: 160
@@ -322,15 +322,18 @@ NATECH:
Range: 4c0
MaxHeightDelta: 3
WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled
Sequence: idle-lights
Power:
Amount: -150
RequiresPower:
ProvidesPrerequisite@buildingname:
SelectionDecorations:
VisualBounds: 86, 58, 0, -4
NATMPL:
Inherits: ^Building
Inherits@IDISABLED: ^DisabledOverlay
Buildable:
Queue: Building
BuildPaletteOrder: 180
@@ -356,9 +359,12 @@ NATMPL:
MaxHeightDelta: 3
Power:
Amount: -200
RequiresPower:
WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled
Sequence: idle-lights
ProduceActorPower:
PauseOnCondition: empdisable
Description: Hunter Seeker
LongDesc: Releases a drone that will acquire and destroy an enemy target.
Prerequisites: ~techlevel.superweapons

View File

@@ -43,6 +43,7 @@ NAGATE_B:
NAPOST:
Inherits: ^Building
Inherits@IDISABLED: ^DisabledOverlay
Buildable:
Queue: Defense
BuildPaletteOrder: 150
@@ -82,8 +83,6 @@ NAPOST:
PowerupSpeech: EnablePower
PowerdownSpeech: DisablePower
RequiresPower:
GrantConditionOnDisabled:
Condition: disabled
LineBuildSegmentExternalCondition:
RequiresCondition: !disabled && !make-animation-playing
Condition: active-posts
@@ -224,6 +223,7 @@ NAOBEL:
Palette: player
IsPlayerPalette: true
WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled
Sequence: idle-lights
Power:
Amount: -150
@@ -269,6 +269,7 @@ NASAM:
NASTLH:
Inherits: ^Building
Inherits@IDISABLED: ^DisabledOverlay
Valued:
Cost: 2500
Tooltip:
@@ -290,7 +291,7 @@ NASTLH:
MaxHeightDelta: 3
WithIdleOverlay@pulse:
Sequence: pulse
PauseOnLowPower: true
RequiresCondition: !disabled
WithRangeCircle:
Range: 12c0
Type: cloakgenerator
@@ -301,8 +302,6 @@ NASTLH:
PowerupSpeech: EnablePower
PowerdownSpeech: DisablePower
IndicatorPalette: mouse
GrantConditionOnDisabled:
Condition: disabled
ProximityExternalCondition:
RequiresCondition: !disabled
Condition: cloakgenerator
@@ -342,6 +341,7 @@ NAMISL:
RevealsShroud:
Range: 4c0
WithIdleOverlay@LIGHTS:
RequiresCondition: !disabled
Sequence: idle-lights
Power:
Amount: -50
@@ -353,6 +353,7 @@ NAMISL:
ProvidesPrerequisite@buildingname:
SupportPowerChargeBar:
NukePower:
PauseOnCondition: disabled
Cursor: nuke
Icon: clustermissile
ChargeTime: 540

View File

@@ -45,6 +45,7 @@ NAPULS:
ProvidesPrerequisite@gdi:
ResetOnOwnerChange: true
AttackOrderPower:
PauseOnCondition: empdisable || disabled
Cursor: emp
Icon: emp
ChargeTime: 135