Files
OpenRA/mods/d2k/rules/structures.yaml
reaperrr be310ab6a6 Streamline resource anim traits
- Replaces WithSiloAnimation with
  WithResourceLevelSpriteBody.

PlayFetchIndex on a With*Animation trait conflicts
with the animation concept, as it's bound to conflict
with pretty much all 'normal' animation traits and
blocks progress on the animation priority system.

We also already have multiple similar SpriteBody traits,
like WithGateSpriteBody and WithWallSpriteBody.

- Rename WithResources to WithResourceLevelOverlay

Make name more accurate and consistent with sprite body
equivalent.
Also fix TS silo yaml setup (bleed setup stems from times
before WithResources was introduced).
2018-12-24 21:29:42 +13:00

1248 lines
27 KiB
YAML

^concrete:
AlwaysVisible:
Interactable:
Building:
TerrainTypes: Rock
BuildSounds: CHUNG.WAV
AllowInvalidPlacement: true
RequiresBuildableArea:
AreaTypes: building
Adjacent: 4
LaysTerrain:
Template: 88
TerrainTypes: Rock
Tooltip:
Name: Concrete
GenericName: Structure
RenderSprites:
KillsSelf:
RemoveInstead: true
Buildable:
Queue: Building
BuildPaletteOrder: 10
Description: Provides a strong foundation that prevents\ndamage from the terrain.
concretea:
Inherits: ^concrete
Building:
Footprint: xx xx
Dimensions: 2,2
Tooltip:
Name: Concrete Slab
Valued:
Cost: 20
Buildable:
BuildPaletteOrder: 10
BuildDuration: 54
BuildDurationModifier: 40
concreteb:
Inherits: ^concrete
Building:
Footprint: xxx xxx xxx
Dimensions: 3,3
Tooltip:
Name: Large Concrete Slab
Valued:
Cost: 50
Buildable:
BuildPaletteOrder: 40
Prerequisites: upgrade.conyard
BuildDuration: 81
BuildDurationModifier: 40
construction_yard:
Inherits: ^Building
Buildable:
Description: Produces structures.
-DamagedByTerrain:
Building:
Footprint: xxx xxx ===
Dimensions: 3,3
LocalCenterOffset: 0,-512,0
LaysTerrain:
TerrainTypes: Rock
Template: 88
WithBuildingBib:
Selectable:
Bounds: 96,64
Health:
HP: 30000
HitShape:
Type: Rectangle
TopLeft: -1536, -1024
BottomRight: 1536, 1024
Armor:
Type: cy
RevealsShroud:
Range: 5c768
Production:
Produces: Building, Upgrade
Exit:
Valued:
Cost: 2000
Tooltip:
Name: Construction Yard
CustomSellValue:
Value: 2000
SpawnActorsOnSell:
ActorTypes: light_inf, light_inf, engineer
BaseBuilding:
ProductionBar:
ProductionType: Building
Power:
Amount: 20
RenderSprites:
Image: conyard.ordos
FactionImages:
atreides: conyard.atreides
fremen: conyard.atreides
harkonnen: conyard.harkonnen
corrino: conyard.harkonnen
WithBuildingPlacedOverlay:
RequiresCondition: !build-incomplete
Palette: d2k
PrimaryBuilding:
PrimaryCondition: primary
ProductionQueues: Building
SelectionNotification: PrimaryBuildingSelected
ProvidesPrerequisite@buildingname:
GrantConditionOnPrerequisite:
Prerequisites: upgrade.conyard
Condition: stardecoration
WithDecoration@upgraded:
RequiresSelection: true
Image: pips
Sequence: tag-upgraded
ReferencePoint: Top, Right
ZOffset: 256
RequiresCondition: stardecoration
WithTextDecoration@primary:
RequiresSelection: true
Text: PRIMARY
ReferencePoint: Top
ZOffset: 256
RequiresCondition: primary
RevealOnDeath:
Radius: 5c768
wind_trap:
Inherits: ^Building
Buildable:
Queue: Building
BuildPaletteOrder: 20
BuildDuration: 180
BuildDurationModifier: 40
Description: Provides power for other structures.
Selectable:
Bounds: 64,64
Valued:
Cost: 225
Tooltip:
Name: Wind Trap
Building:
Footprint: xx xx ==
Dimensions: 2,3
LocalCenterOffset: 0,-512,0
Health:
HP: 30000
HitShape:
Type: Rectangle
TopLeft: -1024, -1024
BottomRight: 1024, 1024
Armor:
Type: building
RevealsShroud:
Range: 3c768
RenderSprites:
Image: power.ordos
FactionImages:
atreides: power.atreides
fremen: power.atreides
harkonnen: power.harkonnen
corrino: power.harkonnen
WithBuildingBib:
WithIdleOverlay@ZAPS:
RequiresCondition: !build-incomplete
Sequence: idle-zaps
Power:
Amount: 200
ScalePowerWithHealth:
ProvidesPrerequisite@buildingname:
RevealOnDeath:
Radius: 3c768
barracks:
Inherits: ^Building
Buildable:
Prerequisites: wind_trap
Queue: Building
BuildPaletteOrder: 50
BuildDuration: 231
BuildDurationModifier: 40
Description: Trains infantry.
Selectable:
Bounds: 64,64
Valued:
Cost: 225
Tooltip:
Name: Barracks
Building:
Footprint: xx xx ==
Dimensions: 2,3
LocalCenterOffset: 0,-512,0
Health:
HP: 32000
HitShape:
Type: Rectangle
TopLeft: -1024, -1024
BottomRight: 1024, 1024
Armor:
Type: building
RevealsShroud:
Range: 3c768
RallyPoint:
Offset: 1,2
Exit@1:
SpawnOffset: 352,576,0
ExitCell: 0,2
Exit@2:
SpawnOffset: 512,480,0
ExitCell: 1,2
Production:
Produces: Infantry, Upgrade
PrimaryBuilding:
PrimaryCondition: primary
ProductionQueues: Infantry
SelectionNotification: PrimaryBuildingSelected
ProductionBar:
ProductionType: Infantry
ProvidesPrerequisite@atreides:
Prerequisite: barracks.atreides
Factions: atreides
ProvidesPrerequisite@ordos:
Prerequisite: barracks.ordos
Factions: ordos
ProvidesPrerequisite@harkonnen:
Prerequisite: barracks.harkonnen
Factions: harkonnen
Power:
Amount: -30
RenderSprites:
Image: barracks.ordos
FactionImages:
atreides: barracks.atreides
fremen: barracks.atreides
harkonnen: barracks.harkonnen
corrino: barracks.harkonnen
WithBuildingBib:
ProvidesPrerequisite@buildingname:
GrantConditionOnPrerequisite:
Prerequisites: upgrade.barracks
Condition: stardecoration
WithDecoration@upgraded:
RequiresSelection: true
Image: pips
Sequence: tag-upgraded
ReferencePoint: Top, Right
ZOffset: 256
RequiresCondition: stardecoration
WithTextDecoration@primary:
RequiresSelection: true
Text: PRIMARY
ReferencePoint: Top
ZOffset: 256
RequiresCondition: primary
RevealOnDeath:
Radius: 3c768
refinery:
Inherits: ^Building
Buildable:
Prerequisites: wind_trap
Queue: Building
BuildPaletteOrder: 30
BuildDuration: 540
BuildDurationModifier: 40
Description: Harvesters unload Spice here for processing.
Selectable:
Bounds: 96,64
Valued:
Cost: 1500
Tooltip:
Name: Spice Refinery
Building:
Footprint: =xx xx= ===
Dimensions: 3,3
LocalCenterOffset: 0,-512,0
Health:
HP: 30000
HitShape:
Type: Rectangle
TopLeft: -512, -1024
BottomRight: 1536, 0
HitShape@BOTTOM:
Type: Rectangle
TopLeft: -1536, 0
BottomRight: 512, 1024
Armor:
Type: heavy
RevealsShroud:
Range: 3c768
Refinery:
DockAngle: 160
DockOffset: 2,1
TickRate: 20
StoresResources:
PipColor: green
PipCount: 10
Capacity: 2000
CustomSellValue:
Value: 500
FreeActorWithDelivery:
Actor: harvester
DeliveryOffset: 2,2
DeliveringActor: carryall.reinforce
Facing: 160
RenderSprites:
Image: refinery.ordos
FactionImages:
atreides: refinery.atreides
fremen: refinery.atreides
harkonnen: refinery.harkonnen
corrino: refinery.harkonnen
WithBuildingBib:
WithIdleOverlay@TOP:
RequiresCondition: !build-incomplete
Sequence: idle-top
WithDockedOverlay@SMOKE:
RequiresCondition: !build-incomplete
Sequence: smoke
Power:
Amount: -75
ProvidesPrerequisite@buildingname:
silo:
Inherits: ^Building
Buildable:
Prerequisites: refinery
Queue: Building
BuildPaletteOrder: 120
BuildDuration: 135
BuildDurationModifier: 40
Description: Stores excess harvested Spice.
Selectable:
Bounds: 32,32
Valued:
Cost: 120
Tooltip:
Name: Silo
RequiresBuildableArea:
Adjacent: 4
-GivesBuildableArea:
Health:
HP: 15000
Armor:
Type: building
RevealsShroud:
Range: 2c768
RenderSprites:
Image: silo.ordos
FactionImages:
atreides: silo.atreides
fremen: silo.atreides
harkonnen: silo.harkonnen
corrino: silo.harkonnen
-WithSpriteBody:
WithResourceLevelSpriteBody:
Sequence: stages
StoresResources:
PipColor: green
PipCount: 5
Capacity: 2000
-SpawnActorsOnSell:
Power:
Amount: -15
MustBeDestroyed:
RequiredForShortGame: false
ThrowsShrapnel:
Weapons: Debris, Debris2, Debris3, Debris4
Pieces: 3, 5
Range: 2c0, 5c0
RevealOnDeath:
Radius: 2c768
light_factory:
Inherits: ^Building
Buildable:
Prerequisites: refinery
Queue: Building
BuildPaletteOrder: 60
BuildDuration: 277
BuildDurationModifier: 40
Description: Produces light vehicles.
Selectable:
Bounds: 96,64
Valued:
Cost: 500
Tooltip:
Name: Light Factory
Building:
Footprint: xxx xx= ===
Dimensions: 3,3
LocalCenterOffset: 0,-512,0
Health:
HP: 33000
HitShape:
TargetableOffsets: -210,608,0
Type: Rectangle
TopLeft: -1536, -1024
BottomRight: 1536, 1024
Armor:
Type: building
RevealsShroud:
Range: 5c768
RenderSprites:
Image: light.ordos
FactionImages:
atreides: light.atreides
fremen: light.atreides
harkonnen: light.harkonnen
corrino: light.harkonnen
WithBuildingBib:
WithIdleOverlay@TOP:
RequiresCondition: !build-incomplete
Sequence: idle-top
WithProductionOverlay@WELDING:
RequiresCondition: !build-incomplete
Queues: Vehicle
Sequence: production-welding
RallyPoint:
Offset: 2,2
Exit@1:
SpawnOffset: 544,-224,0
ExitCell: 2,1
Production:
Produces: Vehicle, Upgrade
PrimaryBuilding:
PrimaryCondition: primary
ProductionQueues: Vehicle
SelectionNotification: PrimaryBuildingSelected
ProductionBar:
ProductionType: Vehicle
ProvidesPrerequisite@atreides:
Prerequisite: light.atreides
Factions: atreides
ProvidesPrerequisite@ordos:
Prerequisite: light.ordos
Factions: ordos
ProvidesPrerequisite@harkonnen:
Prerequisite: light.harkonnen
Factions: harkonnen
ProvidesPrerequisite@trike:
Prerequisite: light.trike
Factions: atreides, fremen, harkonnen, corrino
ProvidesPrerequisite@raider:
Prerequisite: light.raider
Factions: ordos, smuggler, mercenary
ProvidesPrerequisite@buildingname:
Power:
Amount: -125
GrantConditionOnPrerequisite:
Prerequisites: upgrade.light
Condition: stardecoration
WithDecoration@upgraded:
RequiresSelection: true
Image: pips
Sequence: tag-upgraded
ReferencePoint: Top, Right
ZOffset: 256
RequiresCondition: stardecoration
WithTextDecoration@primary:
RequiresSelection: true
Text: PRIMARY
ReferencePoint: Top
ZOffset: 256
RequiresCondition: primary
heavy_factory:
Inherits: ^Building
Buildable:
Prerequisites: refinery
Queue: Building
BuildPaletteOrder: 90
BuildDuration: 648
BuildDurationModifier: 40
Description: Produces heavy vehicles.
Selectable:
Bounds: 96,96
Valued:
Cost: 1000
Tooltip:
Name: Heavy Factory
Building:
Footprint: _x_ xxx =xX ===
Dimensions: 3,4
LocalCenterOffset: 0,-512,0
Health:
HP: 35000
HitShape:
TargetableOffsets: -1155,-704,0, -1365,832,0
Type: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 1536
HitShape@TOP:
Type: Rectangle
TopLeft: -512, -1536
BottomRight: 512, -512
Armor:
Type: building
RevealsShroud:
Range: 4c768
RallyPoint:
Offset: 0,3
Exit@1:
SpawnOffset: 256,192,0
ExitCell: 0,2
Production:
Produces: Armor, Upgrade
PrimaryBuilding:
PrimaryCondition: primary
ProductionQueues: Armor
SelectionNotification: PrimaryBuildingSelected
ProductionBar:
ProductionType: Armor
ProvidesPrerequisite@atreides:
Prerequisite: heavy.atreides
Factions: atreides
ProvidesPrerequisite@ordos:
Prerequisite: heavy.ordos
Factions: ordos
ProvidesPrerequisite@harkonnen:
Prerequisite: heavy.harkonnen
Factions: harkonnen
ProvidesPrerequisite@atreides_combat:
Prerequisite: heavy.atreides_combat
Factions: atreides, fremen
ProvidesPrerequisite@ordos_combat:
Prerequisite: heavy.ordos_combat
Factions: ordos, smuggler, mercenary
ProvidesPrerequisite@harkonnen_combat:
Prerequisite: heavy.harkonnen_combat
Factions: harkonnen, corrino
ProvidesPrerequisite@missile_tank:
Prerequisite: heavy.missile_tank
Factions: atreides, fremen, harkonnen, corrino
RenderSprites:
Image: heavy.ordos
FactionImages:
atreides: heavy.atreides
fremen: heavy.atreides
harkonnen: heavy.harkonnen
corrino: heavy.harkonnen
mercenary: heavy.mercenary
WithBuildingBib:
WithIdleOverlay@TOP:
RequiresCondition: !build-incomplete
Sequence: idle-top
WithProductionOverlay@WELDING:
RequiresCondition: !build-incomplete
Queues: Armor
Sequence: production-welding
Power:
Amount: -150
ProvidesPrerequisite@buildingname:
GrantConditionOnPrerequisite:
Prerequisites: upgrade.heavy
Condition: stardecoration
WithDecoration@upgraded:
RequiresSelection: true
Image: pips
Sequence: tag-upgraded
ReferencePoint: Top, Right
ZOffset: 256
RequiresCondition: stardecoration
WithTextDecoration@primary:
RequiresSelection: true
Text: PRIMARY
ReferencePoint: Top
ZOffset: 256
RequiresCondition: primary
outpost:
Inherits: ^Building
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
Buildable:
Prerequisites: barracks, ~techlevel.medium
Queue: Building
BuildPaletteOrder: 80
BuildDuration: 270
BuildDurationModifier: 40
Description: Provides a radar map of the battlefield.\n Requires power to operate.
Selectable:
Bounds: 96,64
Valued:
Cost: 750
Tooltip:
Name: Outpost
Building:
Footprint: xxx xxx ===
Dimensions: 3,3
LocalCenterOffset: 0,-512,0
Health:
HP: 35000
HitShape:
Type: Rectangle
TopLeft: -1536, -1024
BottomRight: 1536, 1024
Armor:
Type: building
RevealsShroud:
Range: 5c768
ProvidesRadar:
RequiresCondition: !disabled
RenderSprites:
Image: outpost.ordos
FactionImages:
atreides: outpost.atreides
fremen: outpost.atreides
harkonnen: outpost.harkonnen
corrino: outpost.harkonnen
WithBuildingBib:
WithIdleOverlay@DISH:
RequiresCondition: !build-incomplete && !severe-damaged
Sequence: idle-dish
PauseOnCondition: disabled
GrantConditionOnDamageState@STOPDISH:
Condition: severe-damaged
Power:
Amount: -125
ProvidesPrerequisite@buildingname:
starport:
Inherits: ^Building
Tooltip:
Name: Starport
Buildable:
Prerequisites: heavy_factory, outpost, ~techlevel.high
Queue: Building
BuildPaletteOrder: 70
BuildDuration: 540
BuildDurationModifier: 40
Description: Dropzone for quick reinforcements, at a price.
Valued:
Cost: 1500
Building:
Footprint: xxx x=x =x=
Dimensions: 3,3
Selectable:
Bounds: 96,96
Health:
HP: 35000
HitShape:
Type: Rectangle
TopLeft: -1536, -1536
BottomRight: 1536, 512
HitShape@BOTTOM:
Type: Rectangle
TopLeft: -512, 512
BottomRight: 512, 1536
Armor:
Type: heavy
RevealsShroud:
Range: 3c768
RallyPoint:
Offset: 1,3
Exit@1:
SpawnOffset: 0,-480,0
ExitCell: 2,2
Exit@2:
SpawnOffset: 0,-480,0
ExitCell: 0,2
ProductionAirdrop:
Produces: Starport
ActorType: frigate
RenderSprites:
Image: starport.ordos
FactionImages:
atreides: starport.atreides
fremen: starport.atreides
harkonnen: starport.harkonnen
corrino: starport.harkonnen
smuggler: starport.smuggler
WithDeliveryOverlay:
RequiresCondition: !build-incomplete
Palette: starportlights
ProductionBar:
ProductionType: Starport
PrimaryBuilding:
PrimaryCondition: primary
ProductionQueues: Starport
SelectionNotification: PrimaryBuildingSelected
ProvidesPrerequisite@atreides:
Prerequisite: starport.atreides
Factions: atreides
ProvidesPrerequisite@ordos:
Prerequisite: starport.ordos
Factions: ordos
ProvidesPrerequisite@harkonnen:
Prerequisite: starport.harkonnen
Factions: harkonnen
ProvidesPrerequisite@atreides_combat:
Prerequisite: starport.atreides_combat
Factions: atreides, fremen
ProvidesPrerequisite@ordos_combat:
Prerequisite: starport.ordos_combat
Factions: ordos, smuggler, mercenary
ProvidesPrerequisite@harkonnen_combat:
Prerequisite: starport.harkonnen_combat
Factions: harkonnen, corrino
Power:
Amount: -150
ProvidesPrerequisite@buildingname:
WithTextDecoration@primary:
RequiresSelection: true
Text: PRIMARY
ReferencePoint: Top
ZOffset: 256
RequiresCondition: primary
wall:
Inherits@1: ^SpriteActor
Interactable:
CombatDebugOverlay:
FrozenUnderFog:
ScriptTriggers:
OwnerLostAction:
Action: ChangeOwner
Buildable:
Queue: Building
Prerequisites: barracks
BuildPaletteOrder: 130
BuildDuration: 54
BuildDurationModifier: 40
Description: Stop units and blocks enemy fire.
Valued:
Cost: 20
CustomSellValue:
Value: 0
Tooltip:
Name: Concrete Wall
GenericName: Structure
AppearsOnRadar:
Building:
BuildSounds: CHUNG.WAV
TerrainTypes: Rock, Concrete
RequiresBuildableArea:
AreaTypes: building
Adjacent: 7
Health:
HP: 20000
Armor:
Type: wall
RevealsShroud:
Range: 1c768
Crushable:
CrushClasses: wall
BlocksProjectiles:
Height: 512
LineBuild:
Range: 5
NodeTypes: wall, turret
LineBuildNode:
Types: wall
Targetable:
TargetTypes: Ground, Wall
WithWallSpriteBody:
Sellable:
SellSounds: CHUNG.WAV
Guardable:
Explodes:
Weapon: WallExplode
EmptyWeapon: WallExplode
ThrowsShrapnel:
Weapons: Debris2, Debris3
Pieces: 1, 1
Range: 1c512, 2c768
HitShape:
Type: Rectangle
TopLeft: -512, -512
BottomRight: 512, 512
MapEditorData:
Categories: Defense
Replaceable:
Types: Tower
medium_gun_turret:
Inherits: ^Defense
Inherits@AUTOTARGET: ^AutoTargetGround
Buildable:
Queue: Building
Prerequisites: barracks
BuildPaletteOrder: 100
BuildDuration: 231
BuildDurationModifier: 40
Description: Defensive structure.\n Strong vs Tanks\n Weak vs Infantry, Aircraft
Valued:
Cost: 550
Tooltip:
Name: Gun Turret
Building:
BuildSounds: CHUNG.WAV
RequiresBuildableArea:
Adjacent: 4
Sellable:
SellSounds: CHUNG.WAV
Selectable:
Bounds: 32,32
DecorationBounds: 32,40,0,-8
Priority: 3
Health:
HP: 27000
Armor:
Type: heavy
RevealsShroud:
Range: 4c768
BodyOrientation:
QuantizedFacings: 32
WithMuzzleOverlay:
Turreted:
TurnSpeed: 6
InitialFacing: 128
Armament:
Weapon: 110mm_Gun
LocalOffset: 512,0,432
MuzzleSequence: muzzle
Power:
Amount: -50
Replacement:
ReplaceableTypes: Tower
large_gun_turret:
Inherits: ^Defense
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
Inherits@AUTOTARGET: ^AutoTargetGround
AttackTurreted:
PauseOnCondition: disabled
Buildable:
Queue: Building
Prerequisites: outpost, upgrade.conyard, ~techlevel.medium
BuildPaletteOrder: 110
BuildDuration: 270
BuildDurationModifier: 40
Description: Defensive structure.\n Strong vs Infantry, Aircraft\n Weak vs Tanks\n\n Requires power to operate.
Valued:
Cost: 750
Tooltip:
Name: Rocket Turret
Building:
BuildSounds: CHUNG.WAV
RequiresBuildableArea:
Adjacent: 4
Sellable:
SellSounds: CHUNG.WAV
Selectable:
Bounds: 32,32
DecorationBounds: 32,40,0,-8
Priority: 3
Health:
HP: 30000
Armor:
Type: heavy
RevealsShroud:
Range: 5c768
BodyOrientation:
QuantizedFacings: 32
Armament:
Weapon: TowerMissile
LocalOffset: 256,384,768, 256,-384,768
Turreted:
TurnSpeed: 8
InitialFacing: 128
Power:
Amount: -60
RevealOnDeath:
Radius: 5c768
Replacement:
ReplaceableTypes: Tower
repair_pad:
Inherits: ^Building
Buildable:
Queue: Building
Prerequisites: heavy_factory, upgrade.heavy, ~techlevel.medium
BuildPaletteOrder: 150
BuildDuration: 324
BuildDurationModifier: 40
Description: Repairs vehicles.\n Allows construction of MCVs
Valued:
Cost: 800
Tooltip:
Name: Repair Pad
Building:
Footprint: =x= xxx =x=
Dimensions: 3,3
Health:
HP: 30000
HitShape:
Type: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 512
HitShape@TOPANDBOTTOM:
Type: Rectangle
TopLeft: -512, -1536
BottomRight: 512, 1536
Armor:
Type: building
RevealsShroud:
Range: 3c768
Selectable:
Bounds: 96,96
Reservable:
RepairsUnits:
Interval: 10
HpPerStep: 800
StartRepairingNotification: Repairing
FinishRepairingNotification: UnitRepaired
PlayerExperience: 15
RallyPoint:
Offset: 1,3
RenderSprites:
Image: repair_pad.ordos
FactionImages:
atreides: repair_pad.atreides
fremen: repair_pad.atreides
harkonnen: repair_pad.harkonnen
corrino: repair_pad.harkonnen
WithRepairOverlay:
RequiresCondition: !build-incomplete
Palette: effect75alpha
Power:
Amount: -50
ProvidesPrerequisite@buildingname:
high_tech_factory:
Inherits: ^Building
Buildable:
Prerequisites: outpost, ~techlevel.medium
Queue: Building
BuildPaletteOrder: 140
BuildDuration: 405
BuildDurationModifier: 40
Description: Unlocks advanced technology.
Selectable:
Bounds: 96,96
Valued:
Cost: 1150
Tooltip:
Name: High Tech Factory
ProductionFromMapEdge:
Produces: Aircraft, Upgrade
ProductionBar:
ProductionType: Aircraft
PrimaryBuilding:
PrimaryCondition: primary
ProductionQueues: Aircraft
SelectionNotification: PrimaryBuildingSelected
Exit:
SpawnOffset: 0,0,728
ExitCell: 0,0
Building:
Footprint: _X_ xxx XXX ===
Dimensions: 3,4
LocalCenterOffset: 0,-512,0
Health:
HP: 35000
HitShape:
TargetableOffsets: -1312,0,0, -1312,-1024,0, -1312,1024,0
Type: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 1536
HitShape@TOP:
TargetableOffsets: 1280,0,0
Type: Rectangle
TopLeft: -512, -1536
BottomRight: 512, -512
Armor:
Type: building
RevealsShroud:
Range: 4c768
RenderSprites:
Image: hightech.ordos
FactionImages:
atreides: hightech.atreides
fremen: hightech.atreides
harkonnen: hightech.harkonnen
corrino: hightech.harkonnen
WithBuildingBib:
WithProductionOverlay@WELDING:
RequiresCondition: !build-incomplete
Queues: Aircraft
Sequence: production-welding
ProvidesPrerequisite@upgrade:
Prerequisite: hightech.atreides
Factions: atreides
ProvidesPrerequisite@buildingname:
AirstrikePower:
Icon: ornistrike
Description: Air Strike
Prerequisites: ~techlevel.superweapons, upgrade.hightech
ChargeInterval: 7500
SquadSize: 3
SquadOffset: -1536, 1024, 0
LongDesc: Ornithopters hit the target with bombs
UnitType: ornithopter
DisplayBeacon: True
CameraActor: camera
ArrowSequence: arrow
CircleSequence: circles
Power:
Amount: -75
GrantConditionOnPrerequisite:
Prerequisites: upgrade.hightech
Condition: stardecoration
WithDecoration@upgraded:
RequiresSelection: true
Image: pips
Sequence: tag-upgraded
ReferencePoint: Top, Right
ZOffset: 256
RequiresCondition: stardecoration
WithTextDecoration@primary:
RequiresSelection: true
Text: PRIMARY
ReferencePoint: Top
ZOffset: 256
RequiresCondition: primary
research_centre:
Inherits: ^Building
Buildable:
Queue: Building
Prerequisites: outpost, heavy_factory, upgrade.heavy, ~techlevel.high
BuildPaletteOrder: 160
BuildDuration: 270
BuildDurationModifier: 40
Description: Unlocks advanced tanks.
Selectable:
Bounds: 96,96
Valued:
Cost: 1000
Tooltip:
Name: IX Research Center
Building:
Footprint: _X_ xxx XXX ===
Dimensions: 3,4
LocalCenterOffset: 0,-512,0
Health:
HP: 25000
HitShape:
TargetableOffsets: -1574,-158,0, -1050,-1024,0, -1155,960,0
Type: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 1536
HitShape@TOP:
TargetableOffsets: 1312,0,0
Type: Rectangle
TopLeft: -512, -1536
BottomRight: 512, -512
Armor:
Type: building
RevealsShroud:
Range: 4c768
RenderSprites:
Image: research.ordos
FactionImages:
atreides: research.atreides
fremen: research.atreides
harkonnen: research.harkonnen
corrino: research.harkonnen
WithBuildingBib:
WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights
Power:
Amount: -175
ProvidesPrerequisite@buildingname:
palace:
Inherits: ^Building
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
Buildable:
Prerequisites: research_centre, ~techlevel.high
Queue: Building
BuildPaletteOrder: 170
BuildDuration: 810
BuildDurationModifier: 40
Description: Unlocks elite infantry and weapons.
Selectable:
Bounds: 96,96
Valued:
Cost: 1600
Tooltip:
Name: Palace
Building:
Footprint: xx= xxx =xx
Dimensions: 3,3
Health:
HP: 40000
HitShape:
Type: Rectangle
TopLeft: -1536, -512
BottomRight: 1536, 512
HitShape@TOP:
Type: Rectangle
TopLeft: -1536, -1536
BottomRight: 512, -512
HitShape@BOTTOM:
Type: Rectangle
TopLeft: -512, 512
BottomRight: 1536, 1536
Armor:
Type: heavy
RevealsShroud:
Range: 4c768
RenderSprites:
Image: palace.ordos
FactionImages:
atreides: palace.atreides
fremen: palace.atreides
harkonnen: palace.harkonnen
corrino: palace.corrino
WithBuildingBib:
HasMinibib: True
WithNukeLaunchOverlay:
RequiresCondition: !build-incomplete && !launchpad-damaged && harkonnen
GrantConditionOnDamageState@LAUNCHPADDAMAGED:
Condition: launchpad-damaged
Power:
Amount: -200
ProvidesPrerequisite@nuke:
Prerequisite: palace.nuke
Factions: harkonnen
ProvidesPrerequisite@fremen:
Prerequisite: palace.fremen
Factions: atreides
ProvidesPrerequisite@saboteur:
Prerequisite: palace.saboteur
Factions: ordos
ProvidesPrerequisite@sardaukar:
Prerequisite: palace.sardaukar
Factions: corrino
PrimaryBuilding:
PrimaryCondition: primary
RequiresCondition: atreides || ordos
SelectionNotification: PrimaryBuildingSelected
WithTextDecoration@primary:
RequiresSelection: true
Text: PRIMARY
ReferencePoint: Top
ZOffset: 256
RequiresCondition: primary && (atreides || ordos)
NukePower:
Cursor: nuke
Icon: deathhand
PauseOnCondition: disabled
RequiresCondition: harkonnen
Prerequisites: ~techlevel.superweapons, ~palace.nuke
ChargeInterval: 7500
Description: Death Hand
LongDesc: Launches an atomic missile at a target location
BeginChargeSpeechNotification: DeathHandMissilePrepping
EndChargeSpeechNotification: DeathHandMissileReady
LaunchSpeechNotification: MissileLaunchDetected
MissileWeapon: atomic
MissileDelay: 19
SpawnOffset: -512,1c171,0
DisplayBeacon: True
DisplayRadarPing: True
CameraRange: 10c0
ArrowSequence: arrow
CircleSequence: circles
ProduceActorPower@fremen:
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
RequiresCondition: atreides
Prerequisites: ~techlevel.superweapons, ~palace.fremen
Actors: fremen, fremen
Type: Fremen
ChargeInterval: 2250
ReadyAudio: Reinforce
BlockedAudio: NoRoom
OrderName: ProduceActorPower.Fremen
ProduceActorPower@saboteur:
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
RequiresCondition: ordos
Prerequisites: ~techlevel.superweapons, ~palace.saboteur
Actors: saboteur
Type: Saboteur
ChargeInterval: 2250
ReadyAudio: Reinforce
BlockedAudio: NoRoom
OrderName: ProduceActorPower.Saboteur
Exit@1:
SpawnOffset: -704,768,0
ExitCell: -1,2
Exit@2:
SpawnOffset: -704,768,0
ExitCell: -1,3
Exit@3:
SpawnOffset: -704,768,0
ExitCell: 0,3
Production@Atreides:
Produces: Fremen
RequiresCondition: atreides
Production@Ordos:
Produces: Saboteur
RequiresCondition: ordos
GrantConditionOnFaction@Atreides:
Condition: atreides
Factions: atreides, fremen
GrantConditionOnFaction@Harkonnen:
Condition: harkonnen
Factions: harkonnen
GrantConditionOnFaction@Ordos:
Condition: ordos
Factions: ordos, mercenary, smuggler
SupportPowerChargeBar:
RequiresCondition: atreides || harkonnen || ordos
ProvidesPrerequisite@buildingname:
conyard.atreides:
Inherits: construction_yard
Buildable:
Queue: Building
BuildPaletteOrder: 1000
Prerequisites: ~disabled
ForceFaction: atreides
RenderSprites:
Image: conyard.atreides
-FactionImages:
conyard.harkonnen:
Inherits: construction_yard
Buildable:
Queue: Building
BuildPaletteOrder: 1000
Prerequisites: ~disabled
ForceFaction: harkonnen
RenderSprites:
Image: conyard.harkonnen
-FactionImages:
conyard.ordos:
Inherits: construction_yard
Buildable:
Queue: Building
BuildPaletteOrder: 1000
Prerequisites: ~disabled
ForceFaction: ordos
RenderSprites:
Image: conyard.ordos
-FactionImages: