Merge pull request #12503 from pchote/radarjammer

Migrate ProvidesRadar from IDisable to conditions.
This commit is contained in:
Oliver Brakmann
2017-01-21 20:55:37 +01:00
committed by GitHub
15 changed files with 130 additions and 78 deletions

View File

@@ -515,6 +515,9 @@ DOME:
Range: 10c0
Bib:
ProvidesRadar:
RequiresCondition: !jammed && !disabled
ExternalConditions@JAMMED:
Conditions: jammed
InfiltrateForExploration:
DetectCloaked:
Range: 10c0
@@ -522,6 +525,8 @@ DOME:
Power:
Amount: -40
ProvidesPrerequisite@buildingname:
GrantConditionOnDisabled@IDISABLE:
Condition: disabled
PBOX:
Inherits: ^Defense

View File

@@ -505,8 +505,14 @@ MRJ:
WithIdleOverlay@SPINNER:
Sequence: spinner
Offset: -256,0,256
JamsRadar:
ProximityExternalCondition@JAMMER:
Range: 15c0
ValidStances: Enemy, Neutral
Condition: jammed
WithRangeCircle@JAMMER:
Type: jammer
Range: 15c0
Color: 0000FF80
JamsMissiles:
Range: 4c0
DeflectionStances: Neutral, Enemy