Files
OpenRA/mods/ts/rules/nod-structures.yaml

446 lines
9.4 KiB
YAML

NAPOWR:
Inherits: ^Building
Inherits@SHAPE: ^2x2Shape
Buildable:
Queue: Building
BuildPaletteOrder: 20
Prerequisites: ~structures.nod, ~techlevel.low
Description: Provides power for other structures.
Valued:
Cost: 300
Tooltip:
Name: Nod Power Plant
ProvidesPrerequisite:
Prerequisite: anypower
Building:
Footprint: xx xx
Dimensions: 2,2
Selectable:
Bounds: 88, 48, 2, -6
DecorationBounds: 88, 80, 2, -12
Health:
HP: 75000
Armor:
Type: Wood
RevealsShroud:
Range: 4c0
MaxHeightDelta: 3
WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete && !empdisable
Sequence: idle-lights
Power:
Amount: 100
RequiresCondition: !empdisable
Targetable:
TargetTypes: Ground, Building, C4, SpyInfiltrate
ScalePowerWithHealth:
PowerTooltip:
SelectionDecorations:
NAAPWR:
Inherits: ^Building
Inherits@SHAPE: ^2x3Shape
Buildable:
Queue: Building
BuildPaletteOrder: 120
Prerequisites: factory, ~structures.nod, ~techlevel.medium
Description: Provides twice as much power as\nthe normal Power Plant.
Valued:
Cost: 500
Tooltip:
Name: Advanced Power Plant
ProvidesPrerequisite:
Prerequisite: anypower
Building:
Footprint: xxx xxx
Dimensions: 2,3
Selectable:
Bounds: 100, 54, 0, -4
DecorationBounds: 100, 74, 0, -12
Health:
HP: 75000
Armor:
Type: Wood
RevealsShroud:
Range: 4c0
MaxHeightDelta: 3
WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete && !empdisable
Sequence: idle-lights
Power:
Amount: 200
RequiresCondition: !empdisable
Targetable:
TargetTypes: Ground, Building, C4, SpyInfiltrate
ScalePowerWithHealth:
PowerTooltip:
SelectionDecorations:
ProvidesPrerequisite@buildingname:
NAHAND:
Inherits: ^Building
Inherits@SHAPE: ^3x2Shape
Buildable:
Queue: Building
BuildPaletteOrder: 40
Prerequisites: anypower, ~structures.nod, ~techlevel.low
Description: Produces infantry.
Valued:
Cost: 300
Tooltip:
Name: Hand of Nod
ProvidesPrerequisite:
Prerequisite: barracks
Building:
Footprint: xxx xxx
Dimensions: 3,2
Selectable:
Bounds: 116, 60, 3, -6
DecorationBounds: 116, 78, 3, -8
Health:
HP: 80000
Armor:
Type: Wood
RevealsShroud:
Range: 5c0
MaxHeightDelta: 3
Exit@1:
SpawnOffset: 384,768,0
ExitCell: 2,2
Priority: 2
Exit@2:
SpawnOffset: 384,768,0
ExitCell: 3,2
Priority: 2
Exit@fallback1:
SpawnOffset: 384,768,0
ExitCell: 1,2
Exit@fallback2:
SpawnOffset: 384,768,0
ExitCell: 3,1
Exit@fallback3:
SpawnOffset: 1086,362,0
ExitCell: 3,0
Exit@fallback4:
SpawnOffset: 1086,362,0
ExitCell: 3,-1
Exit@fallback5:
SpawnOffset: 1086,362,0
ExitCell: 2,-1
Exit@fallback6:
SpawnOffset: 362,-362,0
ExitCell: 1,-1
Exit@fallback7:
SpawnOffset: -362,-1086,0
ExitCell: 0,-1
Exit@fallback8:
SpawnOffset: -362,-1086,0
ExitCell: -1,-1
Exit@fallback9:
SpawnOffset: -362,-1086,0
ExitCell: -1,0
Exit@fallback10:
SpawnOffset: -1086,-362,0
ExitCell: -1,1
Exit@fallback11:
SpawnOffset: -1086,-362,0
ExitCell: -1,2
Exit@fallback12:
SpawnOffset: -1086,-362,0
ExitCell: 0,2
ExitsDebugOverlay:
RallyPoint:
Path: 3,3
Palette: mouse
IsPlayerPalette: false
LineWidth: 2
Production:
Produces: Infantry
PauseOnCondition: empdisable
PrimaryBuilding:
PrimaryCondition: primary
SelectionNotification: PrimaryBuildingSelected
ProductionBar:
ProductionType: Infantry
WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights
WithIdleOverlay@LIGHT:
RequiresCondition: !build-incomplete
Sequence: idle-light
Power:
Amount: -20
ProvidesPrerequisite@buildingname:
SelectionDecorations:
WithTextDecoration@primary:
RequiresSelection: true
Text: PRIMARY
ReferencePoint: Top
Color: E0D048
ZOffset: 256
RequiresCondition: primary
NAWEAP:
Inherits: ^Building
Inherits@SHAPE: ^4x3FactoryWithBibShape
Valued:
Cost: 2000
Tooltip:
Name: Nod War Factory
ProvidesPrerequisite:
Prerequisite: factory
Buildable:
Queue: Building
BuildPaletteOrder: 70
Prerequisites: proc, ~structures.nod, ~techlevel.low
Description: Produces vehicles.
Building:
Footprint: xxX+ xxX+ xxX+
Dimensions: 4,3
Selectable:
Bounds: 149, 80, -3, -10
DecorationBounds: 149, 116, -3, -20
Health:
HP: 100000
Armor:
Type: Heavy
RevealsShroud:
Range: 4c0
MaxHeightDelta: 3
RallyPoint:
Path: 4,1
Palette: mouse
IsPlayerPalette: false
LineWidth: 2
Exit@1:
SpawnOffset: -384,-384,0
ExitCell: 3,1
ExitDelay: 5
ExitsDebugOverlay:
Production:
Produces: Vehicle
PauseOnCondition: empdisable
PrimaryBuilding:
PrimaryCondition: primary
SelectionNotification: PrimaryBuildingSelected
ProductionBar:
ProductionType: Vehicle
WithIdleOverlay@ROOF:
RequiresCondition: !build-incomplete
Sequence: idle-roof
WithProductionDoorOverlay@DOOR:
RequiresCondition: !build-incomplete
WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights
WithIdleOverlay@BIB:
RequiresCondition: !build-incomplete
Sequence: bib
Power:
Amount: -30
ProvidesPrerequisite@buildingname:
SelectionDecorations:
WithTextDecoration@primary:
RequiresSelection: true
Text: PRIMARY
ReferencePoint: Top
Color: E0D048
ZOffset: 256
RequiresCondition: primary
NAHPAD:
Inherits: ^Building
Inherits@SHAPE: ^2x2Shape
Valued:
Cost: 500
Tooltip:
Name: Helipad
Buildable:
BuildPaletteOrder: 140
Queue: Building
Prerequisites: naradr, ~structures.nod, ~techlevel.medium
Description: Produces, rearms and\nrepairs helicopters.
Building:
Footprint: xx xx
Dimensions: 2,2
Health:
HP: 60000
RevealsShroud:
Range: 5c0
MaxHeightDelta: 3
Exit@1:
SpawnOffset: 0,-256,0
ExitsDebugOverlay:
RallyPoint:
Palette: mouse
IsPlayerPalette: false
LineWidth: 2
Production:
Produces: Air
PauseOnCondition: empdisable
PrimaryBuilding:
PrimaryCondition: primary
SelectionNotification: PrimaryBuildingSelected
Reservable:
RepairsUnits:
HpPerStep: 1000
PauseOnCondition: empdisable
PlayerExperience: 15
StartRepairingNotification: Repairing
ProductionBar:
ProductionType: Air
WithIdleOverlay@PLATFORM:
RequiresCondition: !build-incomplete
Sequence: idle-platform
WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights
WithDeathAnimation@BIB:
DeathSequence: dead-platform
UseDeathTypeSuffix: false
Power:
Amount: -10
Selectable:
Bounds: 78, 48, 0, -6
DecorationBounds: 78, 54, 0, -8
ProvidesPrerequisite@buildingname:
SelectionDecorations:
WithTextDecoration@primary:
RequiresSelection: true
Text: PRIMARY
ReferencePoint: Top
Color: E0D048
ZOffset: 256
RequiresCondition: primary
NARADR:
Inherits: ^Building
Inherits@IDISABLED: ^DisableOnLowPowerOrPowerDown
Inherits@SHAPE: ^2x2Shape
Buildable:
Queue: Building
BuildPaletteOrder: 90
Prerequisites: proc, ~structures.nod, ~techlevel.low
Description: Provides an overview of the battlefield.\nCan detect cloaked units.\nRequires power to operate.
Valued:
Cost: 1000
Tooltip:
Name: Nod Radar
ProvidesPrerequisite:
Prerequisite: radar
Building:
Footprint: xx xx
Dimensions: 2,2
Selectable:
Bounds: 96, 48, 0, -6
DecorationBounds: 96, 72, 0, -12
Health:
HP: 100000
Armor:
Type: Wood
ProvidesRadar:
RequiresCondition: !disabled && !empdisable
InfiltrateForExploration:
DetectCloaked:
Range: 10c0
RenderDetectionCircle:
RevealsShroud:
Range: 10c0
MaxHeightDelta: 3
WithIdleOverlay@DISH:
RequiresCondition: !build-incomplete
PauseOnCondition: disabled || empdisable
Sequence: idle-dish
Targetable:
TargetTypes: Ground, Building, C4, SpyInfiltrate
Power:
Amount: -40
ProvidesPrerequisite@buildingname:
SelectionDecorations:
NATECH:
Inherits: ^Building
Inherits@IDISABLED: ^DisableOnLowPower
Inherits@SHAPE: ^2x2Shape
Buildable:
Queue: Building
BuildPaletteOrder: 160
Prerequisites: naweap, naradr, ~structures.nod, ~techlevel.medium
Description: Provides access to advanced Nod technologies.
Valued:
Cost: 1500
Tooltip:
Name: Nod Tech Center
ProvidesPrerequisite:
Prerequisite: tech
Building:
Footprint: xx xx
Dimensions: 2,2
Selectable:
Bounds: 86, 48, 0, -4
DecorationBounds: 86, 58, 0, -4
Health:
HP: 50000
Armor:
Type: Wood
RevealsShroud:
Range: 4c0
MaxHeightDelta: 3
WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete && !disabled
Sequence: idle-lights
Power:
Amount: -150
ProvidesPrerequisite@buildingname:
SelectionDecorations:
NATMPL:
Inherits: ^Building
Inherits@IDISABLED: ^DisableOnLowPowerOrPowerDown
Inherits@SHAPE: ^4x3Shape
HitShape:
TargetableOffsets: -1280,363,0
Buildable:
Queue: Building
BuildPaletteOrder: 180
Prerequisites: natech, ~structures.nod, ~techlevel.high
Description: Provides access to advanced Nod technologies.
ProvidesPrerequisite@buildingname:
Valued:
Cost: 2000
Tooltip:
Name: Temple of Nod
Building:
Footprint: xxxx xxxx xxxX
Dimensions: 4,3
RequiresBuildableArea:
Adjacent: 3
Selectable:
Bounds: 134, 120, 12, -12
Health:
HP: 100000
Armor:
Type: Wood
RevealsShroud:
Range: 6c0
MaxHeightDelta: 3
Power:
Amount: -200
WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete && !disabled
Sequence: idle-lights
ProduceActorPower:
PauseOnCondition: empdisable || disabled
Description: Hunter Seeker
LongDesc: Releases a drone that will acquire and destroy an enemy target.
Prerequisites: ~techlevel.superweapons
Icon: hunterseeker
Actors: hunter
Type: HunterSeeker
ChargeInterval: 18000
Production:
Produces: HunterSeeker
PauseOnCondition: empdisable
Exit@1:
ExitsDebugOverlay: