Move plugs and superweapons to Building queue.

This commit is contained in:
Paul Chote
2020-03-24 10:43:01 +00:00
committed by atlimit8
parent b0dfea0a09
commit 0e436bc686
5 changed files with 223 additions and 223 deletions

View File

@@ -3,7 +3,7 @@ NAPOWR:
Inherits@SHAPE: ^2x2Shape
Buildable:
Queue: Building
BuildPaletteOrder: 20
BuildPaletteOrder: 10
Prerequisites: ~structures.nod, ~techlevel.low
Description: Provides power for other structures.
Valued:
@@ -40,7 +40,7 @@ NAAPWR:
Inherits@SHAPE: ^2x3Shape
Buildable:
Queue: Building
BuildPaletteOrder: 120
BuildPaletteOrder: 70
Prerequisites: factory, ~structures.nod, ~techlevel.medium
Description: Provides twice as much power as\nthe normal Power Plant.
Valued:
@@ -79,7 +79,7 @@ NAHAND:
Inherits@PRIMARY: ^PrimaryBuilding
Buildable:
Queue: Building
BuildPaletteOrder: 40
BuildPaletteOrder: 20
Prerequisites: anypower, ~structures.nod, ~techlevel.low
Description: Produces infantry.
Valued:
@@ -174,7 +174,7 @@ NAWEAP:
Prerequisite: factory
Buildable:
Queue: Building
BuildPaletteOrder: 70
BuildPaletteOrder: 50
Prerequisites: proc, ~structures.nod, ~techlevel.low
Description: Produces vehicles.
Building:
@@ -227,7 +227,7 @@ NAHPAD:
Tooltip:
Name: Helipad
Buildable:
BuildPaletteOrder: 140
BuildPaletteOrder: 80
Queue: Building
Prerequisites: naradr, ~structures.nod, ~techlevel.medium
Description: Produces, rearms and\nrepairs helicopters.
@@ -278,7 +278,7 @@ NARADR:
Inherits@SHAPE: ^2x2Shape
Buildable:
Queue: Building
BuildPaletteOrder: 90
BuildPaletteOrder: 40
Prerequisites: proc, ~structures.nod, ~techlevel.low
Description: Provides an overview of the battlefield.\nCan detect cloaked units.\nRequires power to operate.
Valued:
@@ -321,7 +321,7 @@ NATECH:
Inherits@SHAPE: ^2x2Shape
Buildable:
Queue: Building
BuildPaletteOrder: 160
BuildPaletteOrder: 90
Prerequisites: naweap, naradr, ~structures.nod, ~techlevel.medium
Description: Provides access to advanced Nod technologies.
Valued:
@@ -347,6 +347,47 @@ NATECH:
Amount: -150
ProvidesPrerequisite@buildingname:
NASTLH:
Inherits: ^Building
Inherits@IDISABLED: ^DisableOnLowPowerOrPowerDown
Inherits@SHAPE: ^3x2Shape
HitShape:
TargetableOffsets: 250,0,0, 600,-864,0
Valued:
Cost: 2500
Tooltip:
Name: Stealth Generator
Buildable:
Queue: Building
BuildPaletteOrder: 100
Prerequisites: proc, natech, ~structures.nod, ~techlevel.high
Description: Generates a cloaking field\nto hide your forces from the enemy.
Building:
Footprint: xxx XXX
Dimensions: 3,2
Health:
HP: 60000
Armor:
Type: Wood
RevealsShroud:
Range: 6c0
MaxHeightDelta: 3
WithIdleOverlay@pulse:
RequiresCondition: !build-incomplete && !empdisable && !disabled
Sequence: pulse
WithRangeCircle:
Range: 12c0
Type: cloakgenerator
Power:
Amount: -350
ProximityExternalCondition:
RequiresCondition: !empdisable && !disabled
Condition: cloakgenerator
Range: 12c0
EnableSound: cloak5.aud
DisableSound: cloak5.aud
AffectsParent: true
NATMPL:
Inherits: ^Building
Inherits@IDISABLED: ^DisableOnLowPowerOrPowerDown
@@ -355,7 +396,7 @@ NATMPL:
TargetableOffsets: -1280,363,0
Buildable:
Queue: Building
BuildPaletteOrder: 180
BuildPaletteOrder: 110
Prerequisites: natech, ~structures.nod, ~techlevel.high
Description: Provides access to advanced Nod technologies.
ProvidesPrerequisite@buildingname:
@@ -396,3 +437,117 @@ NATMPL:
ExitsDebugOverlay:
IsometricSelectable:
Height: 60
NAMISL:
Inherits: ^Building
Inherits@IDISABLE: ^DisableOnLowPowerOrPowerDown
Inherits@SHAPE: ^2x2Shape
Buildable:
Queue: Building
BuildPaletteOrder: 120
Prerequisites: natech, ~structures.nod, ~techlevel.superweapons
BuildLimit: 1
Description: Launches a devastating missile\nat a target location.\nRequires power to operate.\nMaximum 1 can be built.
Valued:
Cost: 1300
Tooltip:
Name: Nod Missile Silo
ProvidesPrerequisite:
Prerequisite: tech
Building:
Footprint: xx xx
Dimensions: 2,2
Health:
HP: 100000
Armor:
Type: Wood
RevealsShroud:
Range: 4c0
WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete && !disabled
Sequence: idle-lights
Power:
Amount: -50
ProvidesPrerequisite@buildingname:
SupportPowerChargeBar:
NukePower:
PauseOnCondition: empdisable || disabled
Cursor: nuke
Icon: clustermissile
ChargeInterval: 13500
Description: Cluster Missile
LongDesc: Launches an explosive cluster warhead\nat a target location.
EndChargeSpeechNotification: ClusterMissileReady
SelectTargetSpeechNotification: SelectTarget
IncomingSpeechNotification: MissileLaunchDetected
LaunchSound: icbm1.aud
MissileWeapon: ClusterMissile
MissileDelay: 10
DetonationAltitude: 5c0
SpawnOffset: 72,72,0
DisplayTimerStances: None
DisplayBeacon: False
DisplayRadarPing: True
BeaconPoster:
CameraRange: 10c0
FlightVelocity: 1c0
TrailImage: small_smoke_trail
TrailPalette: effectalpha75
TrailInterval: 0
TrailSequences: idle
WithNukeLaunchOverlay:
NAWAST:
Inherits: ^Building
HitShape:
Type: Rectangle
TopLeft: -1536, -1536
BottomRight: 512, 1536
Valued:
Cost: 1600
Tooltip:
Name: Waste Refinery
Buildable:
Queue: Buildig
BuildPaletteOrder: 130
Prerequisites: namisl, ~structures.nod, ~techlevel.superweapons
BuildLimit: 1
Description: Processes Veins\ninto useable resources.\nMaximum 1 can be built.
Building:
Footprint: Xx= xx= Xx=
Dimensions: 3,3
Health:
HP: 40000
RevealsShroud:
Range: 6c0
MaxHeightDelta: 3
TiberianSunRefinery:
DockAngle: 160
DockOffset: 2,1
StoresResources:
Capacity: 56
Power:
Amount: -40
FreeActor:
Actor: WEED
SpawnOffset: 3,1
Facing: 160
WithIdleOverlay@GLOW:
RequiresCondition: !build-incomplete
Sequence: idle-glow
WithIdleOverlay@LIGHTS:
RequiresCondition: !build-incomplete
Sequence: idle-lights
WithIdleOverlay@BIB:
RequiresCondition: !build-incomplete
Sequence: bib
ProvidesPrerequisite@buildingname:
WithResourceStoragePipsDecoration:
Position: BottomLeft
RequiresSelection: true
Margin: 8, 2
FullSequence: pip-red-building
EmptySequence: pip-empty-building
PipStride: 4, 2
PipCount: 15
Palette: pips