^Item:
	AlwaysVisible:
	Interactable:
	ScriptTriggers:
	ScriptTags:
	Tooltip:
		Name: Item
	Buildable:
		Queue: Building
		BuildLimit: 1
		BuildDuration: 625
		BuildDurationModifier: 100
		Description: Unloack One time item usage
	Valued:
		Cost: 1000

^Upgrade:
	AlwaysVisible:
	Interactable:
	ScriptTriggers:
	ScriptTags:
	RenderSprites:
	Tooltip:
		Name: Construction Yard Upgrade
	Buildable:
		Queue: Upgrade
		BuildLimit: 1
		BuildDuration: 625
		BuildDurationModifier: 100
		Description: upgrade you unit
	Valued:
		Cost: 1000

item.repair:
	Inherits: ^Item
	Tooltip:
		Name: repair vehicle
	RenderSprites:
		Image: item.repair
	Buildable:
		Queue: Building
		BuildDuration: 200
		BuildDurationModifier: 100
		Prerequisites: item.repair, ~item.repair1
		Description: Ornithopters hit the targets with MG guns
		BuildPaletteOrder: 2
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 0
	Valued:
		Cost: 200
	SpawnActorPower@repair:
		EffectImage: carryall.husk_on_land
		EffectSequence:
		Actor: dummy.repair
		Name: Field repair
		ChargeInterval: 0
		Description: Repair units in selected area
		StartFullyCharged: true
		OneShot: true
		AllowMultiple: true
		Icon: repair
		DisplayRadarPing: true
		OrderName: SpawnActorPowerInfoOrder.repair
		SupportPowerPaletteOrder: 2

item.speedup:
	Inherits: ^Item
	Tooltip:
		Name: Speed up
	RenderSprites:
		Image: item.speedup
	Buildable:
		Queue: Building
		BuildDuration: 300
		BuildDurationModifier: 100
		Prerequisites: item.speedup, ~item.speedup1
		Description: Temporary increase speed to Ally units in the area
		BuildPaletteOrder: 5
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 0
	Valued:
		Cost: 300
	SpawnActorPower@speed_up:
		EffectImage: carryall.husk_on_land
		EffectSequence:
		Actor: dummy.speed_up
		Name: Speed up
		ChargeInterval: 0
		Description: Temporary increase speed for selected Ally units in the area
		StartFullyCharged: true
		OneShot: true
		AllowMultiple: true
		Icon: speed_up
		DeploySound: audio/ornithopter_motor_1c.wav
		DisplayRadarPing: true
		OrderName: SpawnActorPowerInfoOrder.speedup
		SupportPowerPaletteOrder: 5

item.jammer:
	Inherits: ^Item
	Tooltip:
		Name: Jammer
	RenderSprites:
		Image: item.jammer
	Buildable:
		Queue: Building
		BuildDuration: 300
		BuildDurationModifier: 100
		Prerequisites: ~item.jammer, ~item.jammer1
		Description: Reduce speed/vision of all vehicles in the area
		BuildPaletteOrder: 10
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 0
	Valued:
		Cost: 400
	SpawnActorPower@jammer:
		EffectImage: carryall.husk_on_land
		EffectSequence:
		Actor: dummy.jammer_point
		Name: Jammer
		ChargeInterval: 0
		Description: Reduce speed/vision of all vehicles in the area
		StartFullyCharged: true
		OneShot: true
		AllowMultiple: true
		Icon: jammer
		LaunchSound: audio/ironcur9.aud
		DisplayRadarPing: true
		OrderName: SpawnActorPowerInfoOrder.jammer
		SupportPowerPaletteOrder: 10

item.hide:
	Inherits: ^Item
	Tooltip:
		Name: Hide units
	RenderSprites:
		Image: item.hide
	Buildable:
		Queue: Building
		BuildDuration: 300
		BuildDurationModifier: 100
		Prerequisites: ~item.hide, ~item.hide1
		Description: Hide in selected area
		BuildPaletteOrder: 15
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 0
	Valued:
		Cost: 500
	SpawnActorPower@hideunits:
		EffectImage: carryall.husk_on_land
		EffectSequence:
		Actor: dummy.hide_units
		Name: Hide units
		ChargeInterval: 0
		Description: Hide units in selected area for short period of time
		StartFullyCharged: true
		OneShot: true
		AllowMultiple: true
		Icon: hide_units
		LaunchSound: audio/EBoD_hidenunits1.wav
		DisplayRadarPing: true
		OrderName: SpawnActorPowerInfoOrder.hide
		SupportPowerPaletteOrder: 5

item.thumper:
	Inherits: ^Item
	Tooltip:
		Name: Thumper
	Buildable:
		Queue: Building
		BuildDuration: 200
		BuildDurationModifier: 100
		Prerequisites: item.thumper, ~item.thumper1
		Description: Thumper
		BuildPaletteOrder: 1
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 0
	Valued:
		Cost: 100
	RenderSprites:
		Image: thumper
	SpawnActorPower@thumper:
		Actor: thumper
		ChargeInterval: 0
		OneShot: true
		AllowMultiple: true
		LifeTime: -1
		Name: Thumper
		Description: Distract nearby worms
		Icon: thumper
		EffectImage: carryall.husk_on_land
		EffectSequence:
		DisplayRadarPing: true
		OrderName: SpawnActorPowerInfoOrder.thumper
		SupportPowerPaletteOrder: 1

item.light_airstrike:
	Inherits: ^Item
	Tooltip:
		Name: Light AirStrike
	RenderSprites:
		Image: item.light_airstrike
	Buildable:
		Queue: Building
		BuildDuration: 400
		BuildDurationModifier: 100
		Prerequisites: ~item.light_airstrike, ~item.light_airstrike1
		Description: Ornithopters hit the targets with MG guns
		BuildPaletteOrder: 20
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 0
	Valued:
		Cost: 800
	SpawnActorPower@LightAirSrike:
		EffectImage: carryall.husk_on_land
		EffectSequence:
		Actor: waypoint.airtstrike_o
		Name: Light Air Strike
		ChargeInterval: 0
		Description: Ornithopters hit the targets with MG guns
		StartFullyCharged: true
		OneShot: true
		AllowMultiple: true
		Icon: lightStrike
		DisplayRadarPing: true
		OrderName: SpawnActorPowerInfoOrder.lightstrike
		SupportPowerPaletteOrder: 15

item.airstrike:
	Inherits: ^Item
	Tooltip:
		Name: Heavy AirStrike
	RenderSprites:
		Image: item.airstrike
	Buildable:
		Queue: Building
		BuildDuration: 500
		BuildDurationModifier: 100
		Prerequisites: ~harvester.d2k, item.airstrike, ~item.airstrike1
		Description: Ornithopters hit the targets with MG guns
		BuildPaletteOrder: 25
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 0
	Valued:
		Cost: 1200
	SpawnActorPower@LightAirSrike:
		EffectImage: carryall.husk_on_land
		EffectSequence:
		Cursor: nuke
		Actor: waypoint.airtstrike_a
		Name: Heavy Airstrike
		ChargeInterval: 0
		Description: Ornithopters hit the target multiple times with bombs
		StartFullyCharged: true
		OneShot: true
		AllowMultiple: true
		Icon: ornistrike
		DisplayRadarPing: true
		OrderName: SpawnActorPowerInfoOrder.airstrike
		SupportPowerPaletteOrder: 20

item.ion_cannon:
	Inherits: ^Item
	Tooltip:
		Name: Heavy AirStrike
	RenderSprites:
		Image: item.ion_cannon
		Palette: cnc_temperat
	Buildable:
		Queue: Building
		BuildDuration: 500
		BuildDurationModifier: 100
		Prerequisites: ~harvester.cnc, item.ion_cannon, ~item.ion_cannon1
		Description: Ion Cannon
		BuildPaletteOrder: 25
		IconPalette: cnc_temperat
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 0
	Valued:
		Cost: 1200

item.iron_curtain:
	Inherits: ^Item
	Tooltip:
		Name: Iron Curtain
	RenderSprites:
		Palette: temperat
		PlayerPalette: player_ra
	Buildable:
		Queue: Building
		BuildDuration: 500
		BuildDurationModifier: 100
		Prerequisites: ~harvester.ra, item.iron_curtain, ~item.iron_curtain1
		Description: Iron curtain
		BuildPaletteOrder: 30
		IconPalette: temperat
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 0
	Valued:
		Cost: 1200
	GrantExternalConditionPower@IRONCURTAIN:
		Icon: invuln
		IconPalette: temperat
		ChargeInterval: 1
		Name: Invulnerability
		Description: Makes a group of units invulnerable\nfor 20 seconds.
		Duration: 700
		DisplayRadarPing: True
		Condition: invulnerability
		OnFireSound: audio/ironcur9.aud
		SupportPowerPaletteOrder: 30
		Dimensions: 3, 3
		Footprint: _x_ xxx _x_
		StartFullyCharged: true
		OneShot: true
		AllowMultiple: true


item.aa_drone:
	Inherits: ^Item
	Tooltip:
		Name: Anti-Air Drone
	RenderSprites:
		Image: aa_drone
	Buildable:
		Queue: Building
		IconPalette: cnc_temperat
		BuildDuration: 200
		BuildDurationModifier: 100
		Prerequisites: item.aa_drone, ~item.aa_drone1
		Description: Attack enemy Aircrafts in the range
		BuildPaletteOrder: 10
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 0
	Valued:
		Cost: 300
	SpawnActorPower@LightAirSrike:
		EffectImage: carryall.husk_on_land
		EffectSequence:
		Actor: aa_drone
		Name: Anti-Air Drone
		ChargeInterval: 0
		LifeTime: -1
		Description: Attack enemy Aircrafts in the range
		StartFullyCharged: true
		OneShot: true
		AllowMultiple: true
		Icon: aa_drone
		DisplayRadarPing: true
		OrderName: SpawnActorPowerInfoOrder.aa_drone
		SupportPowerPaletteOrder: 10

item.aa_drone3:
	Inherits: item.aa_drone
	Buildable:
		Prerequisites: ~!item.aa_drone3
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 3

item.aa_drone2:
	Inherits: item.aa_drone
	Buildable:
		Prerequisites: ~item.aa_drone3, ~!item.aa_drone2
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 2

item.aa_drone1:
	Inherits: item.aa_drone
	Buildable:
		Prerequisites: ~item.aa_drone2, ~!item.aa_drone1
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 2

item.airstrike1:
	Inherits: item.airstrike
	Buildable:
		Prerequisites: ~harvester.d2k, ~!item.airstrike1
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 1

item.ion_cannon1:
	Inherits: item.ion_cannon
	RenderSprites:
		Image: item.ion_cannon
		Palette: cnc_temperat
	Buildable:
		Prerequisites: ~harvester.cnc, ~!item.ion_cannon1
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 1

item.iron_curtain1:
	Inherits: item.iron_curtain
	RenderSprites:
		Image: item.iron_curtain
		Palette: temperat
	Buildable:
		Prerequisites: ~harvester.ra, ~!item.iron_curtain1
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 1

item.thumper1:
	Inherits: item.thumper
	Buildable:
		Prerequisites: ~!item.thumper1, ~item.thumper2
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 1

item.thumper2:
	Inherits: item.thumper
	Buildable:
		Prerequisites: ~!item.thumper2, ~item.thumper3
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 2

item.thumper3:
	Inherits: item.thumper
	Buildable:
		Prerequisites: ~!item.thumper3
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: 3

item.hide3:
	Inherits: item.hide
	Buildable:
		Prerequisites: ~!item.hide3
	WithProductionIconOverlay:
		Types: 3
	ProvidesPrerequisite@upgradename:

item.hide2:
	Inherits: item.hide
	Buildable:
		Prerequisites: ~item.hide3, ~!item.hide2
	WithProductionIconOverlay:
		Types: 2
	ProvidesPrerequisite@upgradename:

item.hide1:
	Inherits: item.hide
	Buildable:
		Prerequisites: ~item.hide2, ~!item.hide1
	WithProductionIconOverlay:
		Types: 1
	ProvidesPrerequisite@upgradename:

item.speedup5:
	Inherits: item.speedup
	Buildable:
		Prerequisites: ~!item.speedup5
	WithProductionIconOverlay:
		Types: 5
	ProvidesPrerequisite@upgradename:

item.speedup4:
	Inherits: item.speedup
	Buildable:
		Prerequisites: ~!item.speedup4, ~item.speedup5
	WithProductionIconOverlay:
		Types: 4
	ProvidesPrerequisite@upgradename:

item.speedup3:
	Inherits: item.speedup
	Buildable:
		Prerequisites: ~!item.speedup3, ~item.speedup4
	WithProductionIconOverlay:
		Types: 3
	ProvidesPrerequisite@upgradename:

item.speedup2:
	Inherits: item.speedup
	Buildable:
		Prerequisites: ~item.speedup3, ~!item.speedup2
	WithProductionIconOverlay:
		Types: 2
	ProvidesPrerequisite@upgradename:

item.speedup1:
	Inherits: item.speedup
	Buildable:
		Prerequisites: ~item.speedup2, ~!item.speedup1
	WithProductionIconOverlay:
		Types: 1
	ProvidesPrerequisite@upgradename:


item.jammer3:
	Inherits: item.jammer
	Buildable:
		Prerequisites: ~!item.jammer3
	WithProductionIconOverlay:
		Types: 3
	ProvidesPrerequisite@upgradename:

item.jammer2:
	Inherits: item.jammer
	Buildable:
		Prerequisites: ~item.jammer3, ~!item.jammer2
	WithProductionIconOverlay:
		Types: 2
	ProvidesPrerequisite@upgradename:

item.jammer1:
	Inherits: item.jammer
	Buildable:
		Prerequisites: ~item.jammer2, ~!item.jammer1
	WithProductionIconOverlay:
		Types: 1
	ProvidesPrerequisite@upgradename:


item.light_airstrike2:
	Inherits: item.light_airstrike
	Buildable:
		Prerequisites: ~!item.light_airstrike2
	WithProductionIconOverlay:
		Types: 2
	ProvidesPrerequisite@upgradename:


item.light_airstrike1:
	Inherits: item.light_airstrike
	Buildable:
		Prerequisites: ~!item.light_airstrike1, ~item.light_airstrike2
	WithProductionIconOverlay:
		Types: 1
	ProvidesPrerequisite@upgradename:

item.repair5:
	Inherits: item.repair
	Buildable:
		Prerequisites: ~!item.repair5
	WithProductionIconOverlay:
		Types: 5
	ProvidesPrerequisite@upgradename:

item.repair4:
	Inherits: item.repair
	Buildable:
		Prerequisites: ~!item.repair4, ~item.repair5
	WithProductionIconOverlay:
		Types: 4
	ProvidesPrerequisite@upgradename:

item.repair3:
	Inherits: item.repair
	Buildable:
		Prerequisites: ~!item.repair3, ~item.repair4
	WithProductionIconOverlay:
		Types: 3
	ProvidesPrerequisite@upgradename:

item.repair2:
	Inherits: item.repair
	Buildable:
		Prerequisites: ~!item.repair2, ~item.repair3
	WithProductionIconOverlay:
		Types: 2
	ProvidesPrerequisite@upgradename:

item.repair1:
	Inherits: item.repair
	Buildable:
		Prerequisites: ~!item.repair1, ~item.repair2
	WithProductionIconOverlay:
		Types: 1
	ProvidesPrerequisite@upgradename:


upgrade.vision1:
	Inherits: ^Upgrade
	RenderSprites:
		Image: upgrade.vision
	Tooltip:
		Name: Vision upgrade
	Buildable:
		BuildDuration: 100
		BuildPaletteOrder: 1
		Prerequisites: ~!upgrade.vision1, ~!upgrade.vision2, ~!upgrade.vision3
		Description: Detect Cloak Units ,Level 1
	Valued:
		Cost: 100
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: level_1

upgrade.vision2:
	Inherits: upgrade.vision1
	RenderSprites:
		Image: upgrade.vision
	Valued:
		Cost: 200
	Buildable:
		BuildDuration: 200
		Prerequisites: ~upgrade.vision1,~!upgrade.vision2, ~!upgrade.vision3
		Description: Detect Cloak Units ,Level 2
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: level_2

upgrade.vision3:
	Inherits: upgrade.vision1
	RenderSprites:
		Image: upgrade.vision
	Valued:
		Cost: 300
	Buildable:
		BuildDuration: 300
		Prerequisites: ~upgrade.vision1, ~upgrade.vision2
		Description: Detect Cloak Units ,Level 1
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: level_3

upgrade.armor1:
	Inherits: ^Upgrade
	RenderSprites:
		Image: upgrade.healt
	Tooltip:
		Name: Armor upgrade
	Valued:
		Cost: 300
	Buildable:
		BuildDuration: 500
		Prerequisites: ~!upgrade.armor1
		BuildPaletteOrder: 10
		Description: Armor upgrade, Level 1
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: level_1

upgrade.armor2:
	Inherits: upgrade.armor1
	RenderSprites:
		Image: upgrade.healt
	Valued:
		Cost: 500
	Buildable:
		BuildDuration: 700
		Prerequisites: ~upgrade.armor1, ~!upgrade.armor2
		Description: Armor upgrade, Level 2
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: level_2


upgrade.armor3:
	Inherits: upgrade.armor1
	RenderSprites:
		Image: upgrade.healt
	Valued:
		Cost: 800
	Buildable:
		BuildDuration: 900
		Prerequisites: ~upgrade.armor1, ~upgrade.armor2, !upgrade.armor3
		Description: Armor upgrade, Level 3
	ProvidesPrerequisite@upgradename:
	WithProductionIconOverlay:
		Types: level_3

upgrade.turret_trike:
	Inherits: ^Upgrade
	Tooltip:
		Name: Trike turret
	Valued:
		Cost: 1000
	Buildable:
		BuildDuration: 1200
		BuildPaletteOrder: 20
		Prerequisites: ~harvester.d2k
		BuildLimit: 1
		Description: Trike turret
	ProvidesPrerequisite@upgradename:

upgrade.turret_buggy:
	Inherits: ^Upgrade
	Tooltip:
		Name: anti-infantry machine gun
	RenderSprites:
	Valued:
		Cost: 1000
	Buildable:
		BuildDuration: 900
		BuildPaletteOrder: 20
		BuildLimit: 1
		IconPalette: temperat
		Prerequisites: ~harvester.cnc
		Description: anti-infantry machine gun\n  Strong Infantry
	ProvidesPrerequisite@upgradename:

upgrade.turret_flak:
	Inherits: ^Upgrade
	Tooltip:
		Name: anti-infantry Flak cannon
	RenderSprites:
	Valued:
		Cost: 1000
	Buildable:
		BuildDuration: 900
		BuildPaletteOrder: 20
		BuildLimit: 1
		IconPalette: temperat
		Prerequisites: ~harvester.ra
		Description: anti-infantry Flak cannon \n  Strong Infantry\n
	ProvidesPrerequisite@upgradename:


upgrade.turret_cannon:
	Inherits: ^Upgrade
	Tooltip:
		Name: Cannon turret
	Valued:
		Cost: 1000
	Buildable:
		BuildDuration: 1200
		Prerequisites: ~harvester.d2k
		BuildPaletteOrder: 25
		BuildLimit: 1
		Description: Standart cannon turret. \n Strong vs Vehicle
	ProvidesPrerequisite@upgradename:


upgrade.turret_atwr:
	Inherits: ^Upgrade
	Tooltip:
		Name: All-purpose defensive turret.\n  Strong vs Vehicle, Aircraft, Infantry\n
	RenderSprites:
	Valued:
		Cost: 2000
	Buildable:
		BuildDuration: 1200
		BuildPaletteOrder: 25
		BuildLimit: 1
		Prerequisites: ~harvester.cnc
		IconPalette: cnc_temperat
		Description: All-purpose defensive structure.\n  Strong vs Aircraft, Infantry\n
	ProvidesPrerequisite@upgradename:


upgrade.turret_doble_cannon:
	Inherits: ^Upgrade
	Tooltip:
		Name: Double barrel cannon turret
	RenderSprites:
	Valued:
		Cost: 1500
	Buildable:
		BuildDuration: 900
		BuildPaletteOrder: 20
		BuildLimit: 1
		Prerequisites: ~harvester.ra
		IconPalette: temperat
		Description: Double barrel cannon turret \n  Strong Infantry\n
	ProvidesPrerequisite@upgradename:

