Adapt RA to low power/power-down refactor
This commit is contained in:
@@ -1056,18 +1056,42 @@
|
|||||||
EditorTilesetFilter:
|
EditorTilesetFilter:
|
||||||
Categories: System
|
Categories: System
|
||||||
|
|
||||||
^DisabledOverlay:
|
^DisableOnLowPower:
|
||||||
WithColoredOverlay@IDISABLE:
|
WithColoredOverlay@IDISABLE:
|
||||||
RequiresCondition: disabled
|
RequiresCondition: disabled
|
||||||
Palette: disabled
|
Palette: disabled
|
||||||
GrantConditionOnDisabled@IDISABLE:
|
GrantConditionOnPowerState@LOWPOWER:
|
||||||
|
Condition: lowpower
|
||||||
|
ValidPowerStates: Low, Critical
|
||||||
|
GrantCondition@IDISABLE:
|
||||||
|
RequiresCondition: lowpower
|
||||||
Condition: disabled
|
Condition: disabled
|
||||||
|
|
||||||
|
^DisableOnLowPowerOrPowerDown:
|
||||||
|
Inherits: ^DisableOnLowPower
|
||||||
|
GrantCondition@IDISABLE:
|
||||||
|
RequiresCondition: lowpower || powerdown
|
||||||
|
Condition: disabled
|
||||||
|
CanPowerDown:
|
||||||
|
PowerupSound: EnablePower
|
||||||
|
PowerdownSound: DisablePower
|
||||||
|
PowerdownCondition: powerdown
|
||||||
|
WithDecoration@POWERDOWN:
|
||||||
|
Image: poweroff
|
||||||
|
Sequence: offline
|
||||||
|
Palette: chrome
|
||||||
|
RequiresCondition: powerdown
|
||||||
|
ReferencePoint: Center
|
||||||
|
|
||||||
^DisabledByPowerOutage:
|
^DisabledByPowerOutage:
|
||||||
|
WithColoredOverlay@IDISABLE:
|
||||||
|
RequiresCondition: disabled
|
||||||
|
Palette: disabled
|
||||||
|
GrantCondition@IDISABLE:
|
||||||
|
RequiresCondition: power-outage
|
||||||
|
Condition: disabled
|
||||||
AffectedByPowerOutage:
|
AffectedByPowerOutage:
|
||||||
Condition: power-outage
|
Condition: power-outage
|
||||||
InfiltrateForPowerOutage:
|
InfiltrateForPowerOutage:
|
||||||
DisableOnCondition@POWER_OUTAGE:
|
|
||||||
RequiresCondition: power-outage
|
|
||||||
Power:
|
Power:
|
||||||
RequiresCondition: !power-outage
|
RequiresCondition: !disabled
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ WEAF:
|
|||||||
|
|
||||||
DOMF:
|
DOMF:
|
||||||
Inherits: ^FakeBuilding
|
Inherits: ^FakeBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPower
|
||||||
Inherits@infiltrate: ^InfiltratableFake
|
Inherits@infiltrate: ^InfiltratableFake
|
||||||
Inherits@shape: ^2x2Shape
|
Inherits@shape: ^2x2Shape
|
||||||
HitShape:
|
HitShape:
|
||||||
@@ -176,7 +176,6 @@ DOMF:
|
|||||||
HP: 1000
|
HP: 1000
|
||||||
Armor:
|
Armor:
|
||||||
Type: Wood
|
Type: Wood
|
||||||
RequiresPower:
|
|
||||||
|
|
||||||
FIXF:
|
FIXF:
|
||||||
Inherits: ^FakeBuilding
|
Inherits: ^FakeBuilding
|
||||||
@@ -251,7 +250,7 @@ FAPW:
|
|||||||
|
|
||||||
ATEF:
|
ATEF:
|
||||||
Inherits: ^FakeBuilding
|
Inherits: ^FakeBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPower
|
||||||
Inherits@shape: ^2x2Shape
|
Inherits@shape: ^2x2Shape
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Fake Allied Tech Center
|
Name: Fake Allied Tech Center
|
||||||
@@ -277,11 +276,10 @@ ATEF:
|
|||||||
HP: 400
|
HP: 400
|
||||||
Armor:
|
Armor:
|
||||||
Type: Wood
|
Type: Wood
|
||||||
RequiresPower:
|
|
||||||
|
|
||||||
PDOF:
|
PDOF:
|
||||||
Inherits: ^FakeBuilding
|
Inherits: ^FakeBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPower
|
||||||
Inherits@shape: ^2x2Shape
|
Inherits@shape: ^2x2Shape
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Fake Chronosphere
|
Name: Fake Chronosphere
|
||||||
@@ -310,11 +308,10 @@ PDOF:
|
|||||||
Type: Wood
|
Type: Wood
|
||||||
Explodes:
|
Explodes:
|
||||||
DamageThreshold: 50
|
DamageThreshold: 50
|
||||||
RequiresPower:
|
|
||||||
|
|
||||||
MSLF:
|
MSLF:
|
||||||
Inherits: ^FakeBuilding
|
Inherits: ^FakeBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPower
|
||||||
Inherits@shape: ^2x1Shape
|
Inherits@shape: ^2x1Shape
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Fake Missile Silo
|
Name: Fake Missile Silo
|
||||||
@@ -341,7 +338,6 @@ MSLF:
|
|||||||
Type: Wood
|
Type: Wood
|
||||||
Explodes:
|
Explodes:
|
||||||
DamageThreshold: 50
|
DamageThreshold: 50
|
||||||
RequiresPower:
|
|
||||||
|
|
||||||
FACF:
|
FACF:
|
||||||
Inherits: ^FakeBuilding
|
Inherits: ^FakeBuilding
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
MSLO:
|
MSLO:
|
||||||
Inherits: ^ScienceBuilding
|
Inherits: ^ScienceBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
|
||||||
Inherits@shape: ^2x1Shape
|
Inherits@shape: ^2x1Shape
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 2500
|
Cost: 2500
|
||||||
@@ -53,12 +53,9 @@ MSLO:
|
|||||||
ArrowSequence: arrow
|
ArrowSequence: arrow
|
||||||
ClockSequence: clock
|
ClockSequence: clock
|
||||||
CircleSequence: circles
|
CircleSequence: circles
|
||||||
CanPowerDown:
|
|
||||||
PowerupSound: EnablePower
|
|
||||||
PowerdownSound: DisablePower
|
|
||||||
RequiresPower:
|
|
||||||
SupportPowerChargeBar:
|
SupportPowerChargeBar:
|
||||||
Power:
|
Power:
|
||||||
|
RequiresCondition: !powerdown
|
||||||
Amount: -150
|
Amount: -150
|
||||||
MustBeDestroyed:
|
MustBeDestroyed:
|
||||||
RequiredForShortGame: false
|
RequiredForShortGame: false
|
||||||
@@ -66,7 +63,7 @@ MSLO:
|
|||||||
|
|
||||||
GAP:
|
GAP:
|
||||||
Inherits: ^ScienceBuilding
|
Inherits: ^ScienceBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
|
||||||
Valued:
|
Valued:
|
||||||
Cost: 800
|
Cost: 800
|
||||||
Tooltip:
|
Tooltip:
|
||||||
@@ -80,12 +77,8 @@ GAP:
|
|||||||
Bounds: 24,24
|
Bounds: 24,24
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
VisualBounds: 24,48,0,-12
|
VisualBounds: 24,48,0,-12
|
||||||
RequiresPower:
|
|
||||||
CanPowerDown:
|
|
||||||
PowerupSound: EnablePower
|
|
||||||
PowerdownSound: DisablePower
|
|
||||||
WithSpriteBody:
|
WithSpriteBody:
|
||||||
PauseAnimationWhenDisabled: true
|
PauseOnCondition: disabled
|
||||||
Health:
|
Health:
|
||||||
HP: 500
|
HP: 500
|
||||||
Armor:
|
Armor:
|
||||||
@@ -101,6 +94,7 @@ GAP:
|
|||||||
Range: 6c0
|
Range: 6c0
|
||||||
RenderShroudCircle:
|
RenderShroudCircle:
|
||||||
Power:
|
Power:
|
||||||
|
RequiresCondition: !powerdown
|
||||||
Amount: -60
|
Amount: -60
|
||||||
MustBeDestroyed:
|
MustBeDestroyed:
|
||||||
RequiredForShortGame: false
|
RequiredForShortGame: false
|
||||||
@@ -326,7 +320,7 @@ SYRD:
|
|||||||
|
|
||||||
IRON:
|
IRON:
|
||||||
Inherits: ^ScienceBuilding
|
Inherits: ^ScienceBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
|
||||||
Inherits@shape: ^2x1Shape
|
Inherits@shape: ^2x1Shape
|
||||||
Buildable:
|
Buildable:
|
||||||
Queue: Defense
|
Queue: Defense
|
||||||
@@ -341,10 +335,6 @@ IRON:
|
|||||||
Building:
|
Building:
|
||||||
Footprint: xx
|
Footprint: xx
|
||||||
Dimensions: 2,1
|
Dimensions: 2,1
|
||||||
RequiresPower:
|
|
||||||
CanPowerDown:
|
|
||||||
PowerupSound: EnablePower
|
|
||||||
PowerdownSound: DisablePower
|
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 48,28,0,2
|
Bounds: 48,28,0,2
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
@@ -381,13 +371,14 @@ IRON:
|
|||||||
OnFireSound: ironcur9.aud
|
OnFireSound: ironcur9.aud
|
||||||
SupportPowerChargeBar:
|
SupportPowerChargeBar:
|
||||||
Power:
|
Power:
|
||||||
|
RequiresCondition: !powerdown
|
||||||
Amount: -200
|
Amount: -200
|
||||||
MustBeDestroyed:
|
MustBeDestroyed:
|
||||||
RequiredForShortGame: false
|
RequiredForShortGame: false
|
||||||
|
|
||||||
PDOX:
|
PDOX:
|
||||||
Inherits: ^ScienceBuilding
|
Inherits: ^ScienceBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
|
||||||
Inherits@shape: ^2x2Shape
|
Inherits@shape: ^2x2Shape
|
||||||
Buildable:
|
Buildable:
|
||||||
Queue: Defense
|
Queue: Defense
|
||||||
@@ -402,10 +393,6 @@ PDOX:
|
|||||||
Building:
|
Building:
|
||||||
Footprint: xx xx
|
Footprint: xx xx
|
||||||
Dimensions: 2,2
|
Dimensions: 2,2
|
||||||
RequiresPower:
|
|
||||||
CanPowerDown:
|
|
||||||
PowerupSound: EnablePower
|
|
||||||
PowerdownSound: DisablePower
|
|
||||||
Health:
|
Health:
|
||||||
HP: 1000
|
HP: 1000
|
||||||
Armor:
|
Armor:
|
||||||
@@ -461,6 +448,7 @@ PDOX:
|
|||||||
Range: 2
|
Range: 2
|
||||||
SupportPowerChargeBar:
|
SupportPowerChargeBar:
|
||||||
Power:
|
Power:
|
||||||
|
RequiresCondition: !powerdown
|
||||||
Amount: -200
|
Amount: -200
|
||||||
MustBeDestroyed:
|
MustBeDestroyed:
|
||||||
RequiredForShortGame: false
|
RequiredForShortGame: false
|
||||||
@@ -468,7 +456,7 @@ PDOX:
|
|||||||
|
|
||||||
TSLA:
|
TSLA:
|
||||||
Inherits: ^Defense
|
Inherits: ^Defense
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
|
||||||
Inherits@AUTOTARGET: ^AutoTargetGround
|
Inherits@AUTOTARGET: ^AutoTargetGround
|
||||||
Buildable:
|
Buildable:
|
||||||
Queue: Defense
|
Queue: Defense
|
||||||
@@ -479,14 +467,10 @@ TSLA:
|
|||||||
Cost: 1200
|
Cost: 1200
|
||||||
Tooltip:
|
Tooltip:
|
||||||
Name: Tesla Coil
|
Name: Tesla Coil
|
||||||
RequiresPower:
|
|
||||||
Selectable:
|
Selectable:
|
||||||
Bounds: 24,24
|
Bounds: 24,24
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
VisualBounds: 24,40,0,-8
|
VisualBounds: 24,40,0,-8
|
||||||
CanPowerDown:
|
|
||||||
PowerupSound: EnablePower
|
|
||||||
PowerdownSound: DisablePower
|
|
||||||
Health:
|
Health:
|
||||||
HP: 400
|
HP: 400
|
||||||
Armor:
|
Armor:
|
||||||
@@ -503,10 +487,12 @@ TSLA:
|
|||||||
Weapon: TeslaZap
|
Weapon: TeslaZap
|
||||||
LocalOffset: 0,0,896
|
LocalOffset: 0,0,896
|
||||||
AttackTesla:
|
AttackTesla:
|
||||||
|
RequiresCondition: !disabled
|
||||||
ChargeAudio: tslachg2.aud
|
ChargeAudio: tslachg2.aud
|
||||||
MaxCharges: 3
|
MaxCharges: 3
|
||||||
ReloadDelay: 120
|
ReloadDelay: 120
|
||||||
Power:
|
Power:
|
||||||
|
RequiresCondition: !powerdown
|
||||||
Amount: -100
|
Amount: -100
|
||||||
DetectCloaked:
|
DetectCloaked:
|
||||||
Range: 6c0
|
Range: 6c0
|
||||||
@@ -514,7 +500,7 @@ TSLA:
|
|||||||
|
|
||||||
AGUN:
|
AGUN:
|
||||||
Inherits: ^Defense
|
Inherits: ^Defense
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
|
||||||
Inherits@AUTOTARGET: ^AutoTargetAir
|
Inherits@AUTOTARGET: ^AutoTargetAir
|
||||||
Buildable:
|
Buildable:
|
||||||
Queue: Defense
|
Queue: Defense
|
||||||
@@ -529,10 +515,6 @@ AGUN:
|
|||||||
Bounds: 24,24
|
Bounds: 24,24
|
||||||
SelectionDecorations:
|
SelectionDecorations:
|
||||||
VisualBounds: 24,32,0,-4
|
VisualBounds: 24,32,0,-4
|
||||||
RequiresPower:
|
|
||||||
CanPowerDown:
|
|
||||||
PowerupSound: EnablePower
|
|
||||||
PowerdownSound: DisablePower
|
|
||||||
Health:
|
Health:
|
||||||
HP: 400
|
HP: 400
|
||||||
Armor:
|
Armor:
|
||||||
@@ -554,17 +536,19 @@ AGUN:
|
|||||||
LocalOffset: 520,100,450, 520,-150,450
|
LocalOffset: 520,100,450, 520,-150,450
|
||||||
MuzzleSequence: muzzle
|
MuzzleSequence: muzzle
|
||||||
AttackTurreted:
|
AttackTurreted:
|
||||||
|
RequiresCondition: !disabled
|
||||||
WithMuzzleOverlay:
|
WithMuzzleOverlay:
|
||||||
RenderRangeCircle:
|
RenderRangeCircle:
|
||||||
RangeCircleType: aa
|
RangeCircleType: aa
|
||||||
Power:
|
Power:
|
||||||
|
RequiresCondition: !powerdown
|
||||||
Amount: -50
|
Amount: -50
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
UseClassicFacingFudge: True
|
UseClassicFacingFudge: True
|
||||||
|
|
||||||
DOME:
|
DOME:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
|
||||||
Inherits@shape: ^2x2Shape
|
Inherits@shape: ^2x2Shape
|
||||||
HitShape:
|
HitShape:
|
||||||
UseTargetableCellsOffsets: false
|
UseTargetableCellsOffsets: false
|
||||||
@@ -584,10 +568,6 @@ DOME:
|
|||||||
LocalCenterOffset: 0,-512,0
|
LocalCenterOffset: 0,-512,0
|
||||||
Targetable:
|
Targetable:
|
||||||
TargetTypes: Ground, Structure, C4, DetonateAttack, SpyInfiltrate
|
TargetTypes: Ground, Structure, C4, DetonateAttack, SpyInfiltrate
|
||||||
RequiresPower:
|
|
||||||
CanPowerDown:
|
|
||||||
PowerupSound: EnablePower
|
|
||||||
PowerdownSound: DisablePower
|
|
||||||
Health:
|
Health:
|
||||||
HP: 1000
|
HP: 1000
|
||||||
Armor:
|
Armor:
|
||||||
@@ -611,10 +591,9 @@ DOME:
|
|||||||
RequiresCondition: !disabled
|
RequiresCondition: !disabled
|
||||||
RenderDetectionCircle:
|
RenderDetectionCircle:
|
||||||
Power:
|
Power:
|
||||||
|
RequiresCondition: !powerdown
|
||||||
Amount: -40
|
Amount: -40
|
||||||
ProvidesPrerequisite@buildingname:
|
ProvidesPrerequisite@buildingname:
|
||||||
GrantConditionOnDisabled@IDISABLE:
|
|
||||||
Condition: disabled
|
|
||||||
ExternalCondition@JAMMED:
|
ExternalCondition@JAMMED:
|
||||||
Condition: jammed
|
Condition: jammed
|
||||||
|
|
||||||
@@ -810,7 +789,7 @@ FTUR:
|
|||||||
|
|
||||||
SAM:
|
SAM:
|
||||||
Inherits: ^Defense
|
Inherits: ^Defense
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
|
||||||
Inherits@AUTOTARGET: ^AutoTargetAir
|
Inherits@AUTOTARGET: ^AutoTargetAir
|
||||||
Inherits@shape: ^2x1Shape
|
Inherits@shape: ^2x1Shape
|
||||||
HitShape:
|
HitShape:
|
||||||
@@ -829,10 +808,6 @@ SAM:
|
|||||||
Building:
|
Building:
|
||||||
Footprint: xx
|
Footprint: xx
|
||||||
Dimensions: 2,1
|
Dimensions: 2,1
|
||||||
RequiresPower:
|
|
||||||
CanPowerDown:
|
|
||||||
PowerupSound: EnablePower
|
|
||||||
PowerdownSound: DisablePower
|
|
||||||
Health:
|
Health:
|
||||||
HP: 400
|
HP: 400
|
||||||
Armor:
|
Armor:
|
||||||
@@ -854,17 +829,19 @@ SAM:
|
|||||||
LocalOffset: 0,0,320
|
LocalOffset: 0,0,320
|
||||||
MuzzleSequence: muzzle
|
MuzzleSequence: muzzle
|
||||||
AttackTurreted:
|
AttackTurreted:
|
||||||
|
RequiresCondition: !disabled
|
||||||
WithMuzzleOverlay:
|
WithMuzzleOverlay:
|
||||||
RenderRangeCircle:
|
RenderRangeCircle:
|
||||||
RangeCircleType: aa
|
RangeCircleType: aa
|
||||||
Power:
|
Power:
|
||||||
|
RequiresCondition: !powerdown
|
||||||
Amount: -40
|
Amount: -40
|
||||||
BodyOrientation:
|
BodyOrientation:
|
||||||
UseClassicFacingFudge: True
|
UseClassicFacingFudge: True
|
||||||
|
|
||||||
ATEK:
|
ATEK:
|
||||||
Inherits: ^ScienceBuilding
|
Inherits: ^ScienceBuilding
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
Inherits@IDISABLE: ^DisableOnLowPower
|
||||||
Inherits@shape: ^2x2Shape
|
Inherits@shape: ^2x2Shape
|
||||||
Buildable:
|
Buildable:
|
||||||
Queue: Building
|
Queue: Building
|
||||||
@@ -902,7 +879,6 @@ ATEK:
|
|||||||
LaunchSpeechNotification: SatelliteLaunched
|
LaunchSpeechNotification: SatelliteLaunched
|
||||||
DisplayTimerStances: Ally, Neutral, Enemy
|
DisplayTimerStances: Ally, Neutral, Enemy
|
||||||
SupportPowerChargeBar:
|
SupportPowerChargeBar:
|
||||||
RequiresPower:
|
|
||||||
Power:
|
Power:
|
||||||
Amount: -200
|
Amount: -200
|
||||||
ProvidesPrerequisite@buildingname:
|
ProvidesPrerequisite@buildingname:
|
||||||
@@ -1422,7 +1398,6 @@ AFLD:
|
|||||||
|
|
||||||
POWR:
|
POWR:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
|
||||||
Inherits@POWER_OUTAGE: ^DisabledByPowerOutage
|
Inherits@POWER_OUTAGE: ^DisabledByPowerOutage
|
||||||
Inherits@shape: ^2x2Shape
|
Inherits@shape: ^2x2Shape
|
||||||
HitShape:
|
HitShape:
|
||||||
@@ -1461,7 +1436,6 @@ POWR:
|
|||||||
|
|
||||||
APWR:
|
APWR:
|
||||||
Inherits: ^Building
|
Inherits: ^Building
|
||||||
Inherits@IDISABLE: ^DisabledOverlay
|
|
||||||
Inherits@POWER_OUTAGE: ^DisabledByPowerOutage
|
Inherits@POWER_OUTAGE: ^DisabledByPowerOutage
|
||||||
Inherits@shape: ^3x2Shape
|
Inherits@shape: ^3x2Shape
|
||||||
HitShape:
|
HitShape:
|
||||||
|
|||||||
Reference in New Issue
Block a user