SS:
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMovePrioritizeShips
	Buildable:
		Prerequisites: ~spen, ~techlevel.low, ~!player.ukraine
		Description: actor-ss.description-new
	Valued:
		Cost: 850
	Armament:
		Turret:
	Armament@SECONDARY:
		Name: secondary
		Turret: secondary
		Weapon: GrenadeLauncher
		LocalOffset: 156,0,24
		MuzzleSequence: muzzle
	AttackFrontal:
		Armaments: primary, secondary
		FacingTolerance: 0
	Turreted:
		Turret: secondary
		TurnSpeed: 20
		Offset: 648,0,0
	WithMuzzleOverlay:
	GrantConditionOnBotOwner@IAMBOT:
		Condition: botowner
		Bots: rush, normal, turtle, naval
	GrantConditionOnAttack@STOPSHOOTINGROCKS:
		Condition: im-dumb
		RequiredShotsPerInstance: 2
		MaximumInstances: 3
		RevokeDelay: 110
		RevokeOnNewTarget: true
		RevokeAll: true
		RequiresCondition: botowner
	RangeMultiplier@STOPSHOOTINGROCKS1:
		Modifier: 50
		RequiresCondition: im-dumb == 1
	RangeMultiplier@STOPSHOOTINGROCKS2:
		Modifier: 35
		RequiresCondition: im-dumb == 2
	RangeMultiplier@STOPSHOOTINGROCKS3:
		Modifier: 25
		RequiresCondition: im-dumb == 3

SS.Ukraine:
	Inherits: SS
	Buildable:
		Prerequisites: ~spen, ~player.ukraine, ~techlevel.low
	ProducibleWithLevel:
		Prerequisites: techlevel.infonly
		InitialLevels: 1
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: techlevel.infonly
	UpdatesPlayerStatistics:
		OverrideActor: ss
	RenderSprites:
		Image: ss
	-MapEditorData:

MSUB:
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMovePrioritizeDefenses
	Buildable:
		BuildPaletteOrder: 50
		Prerequisites: ~spen, dome, ~techlevel.medium, ~!player.ukraine
		Description: actor-msub.description-new
	Valued:
		Cost: 1650
	Mobile:
		Speed: 48
	-Armament@SECONDARY:
	DetectCloaked:
		Range: 5c0

MSUB.Ukraine:
	Inherits: MSUB
	Buildable:
		Prerequisites: ~spen, dome, ~player.ukraine, ~techlevel.medium
	ProducibleWithLevel:
		Prerequisites: techlevel.infonly
		InitialLevels: 1
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: techlevel.infonly
	UpdatesPlayerStatistics:
		OverrideActor: msub
	RenderSprites:
		Image: msub
	-MapEditorData:

DD:
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMovePrioritizeAir
	Buildable:
		Prerequisites: ~syrd, dome, ~techlevel.medium, ~!player.england
		Description: actor-dd.description-new
	Valued:
		Cost: 900
	Armament@PRIMARY:
		PauseOnCondition: reload-air
		ReloadingCondition: reload-ground
	Armament@SECONDARY:
		Weapon: DepthCharge2
		LocalOffset: 0,-100,0, 0,100,0
		LocalYaw: 80, -80
	Armament@TERTIARY:
		PauseOnCondition: reload-ground
		ReloadingCondition: reload-air

DD.England:
	Inherits: DD
	Buildable:
		Prerequisites: ~syrd, dome, ~player.england, ~techlevel.medium
	ProducibleWithLevel:
		Prerequisites: techlevel.infonly
		InitialLevels: 1
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: techlevel.infonly
	UpdatesPlayerStatistics:
		OverrideActor: dd
	RenderSprites:
		Image: dd
	-MapEditorData:

CA:
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMovePrioritizeDefenses
	Buildable:
		Prerequisites: ~syrd, atek, ~techlevel.high, ~!player.france
	Valued:
		Cost: 1800

CA.France:
	Inherits: CA
	Buildable:
		Prerequisites: ~syrd, atek, ~player.france, ~techlevel.high
	ProducibleWithLevel:
		Prerequisites: techlevel.infonly
		InitialLevels: 1
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: techlevel.infonly
	UpdatesPlayerStatistics:
		OverrideActor: ca
	RenderSprites:
		Image: ca
	-MapEditorData:

LST:
	Tooltip:
		Name: actor-lst.name-new
	Valued:
		Cost: 800
	Cargo:
		Types: Infantry, Vehicle
		MaxWeight: 8
		PassengerFacing: 0
		LoadingCondition: notmobile
		PassengerConditions:
			mech: selfrepair
			e7: tanyainside
			e8: volkovinside
	ChangesHealth@MECHANIC:
		RequiresCondition: selfrepair
		Step: 2000
		Delay: 81
		StartIfBelow: 100
		DamageCooldown: 150
	WithDecoration@COMMANDO:
		Image: pips
		Sequence: pip-skull
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: tanyainside
		BlinkInterval: 32
		BlinkPatterns:
			volkovinside: Off, On
	WithDecoration@COMMANDO2:
		Image: pips
		Sequence: pip-redstar
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: volkovinside
		BlinkInterval: 32
		BlinkPatterns:
			tanyainside: On, Off

PT:
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMovePrioritizeShips
	Buildable:
		Prerequisites: ~syrd, ~techlevel.low, ~!player.england
	Valued:
		Cost: 450
	Mobile:
		TurnSpeed: 28
		Speed: 128

PT.England:
	Inherits: PT
	Buildable:
		Prerequisites: ~syrd, ~player.england, ~techlevel.low
	ProducibleWithLevel:
		Prerequisites: techlevel.infonly
		InitialLevels: 1
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: techlevel.infonly
	UpdatesPlayerStatistics:
		OverrideActor: pt
	RenderSprites:
		Image: pt
	-MapEditorData:

TYPH:
	Inherits: ^Submarine
	Inherits@AUTOTARGET: ^AutoTargetGroundAssaultMove
	Buildable:
		Queue: Ship
		BuildAtProductionType: Submarine
		BuildPaletteOrder: 70
		Prerequisites: ~spen, stek, ~techlevel.high
		Description: actor-typh.description
		BuildLimit: 1
	Valued:
		Cost: 2350
	Tooltip:
		Name: actor-typh.name
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 52500
	Armor:
		Type: Light
	Mobile:
		TurnSpeed: 8
		Speed: 56
	RevealsShroud:
		MinRange: 5c0
		Range: 8c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 5c0
	Cloak:
		CloakDelay: 102
	Armament@PRIMARY:
		Turret:
		Weapon: TorpTubeNuke
		LocalOffset: 768,-171,0, 768,171,0
		FireDelay: 2
		PauseOnCondition: !ammo
	Armament@SECONDARY:
		Name: secondary
		Turret: secondary
		Weapon: SubMissileNuke
		LocalOffset: 0,-171,0, 0,171,0
		FireDelay: 2
		PauseOnCondition: !ammo
	Turreted:
		Turret: secondary
		TurnSpeed: 28
		Offset: 469,0,0
	AttackFrontal:
		FacingTolerance: 0
	AutoTarget:
		InitialStance: HoldFire
		InitialStanceAI: Defend
	DetectCloaked:
		DetectionTypes: Underwater
		Range: 5c0
	RenderDetectionCircle:
	FireWarheadsOnDeath:
		Weapon: UnitExplodeSubmarine
		EmptyWeapon: UnitExplodeSubmarine
	Selectable:
		DecorationBounds: 1877, 1877
	AmmoPool:
		Ammo: 4
		InitialAmmo: 2
		AmmoCondition: ammo
	ReloadAmmoPool:
		Delay: 515
		Count: 1
	WithAmmoPipsDecoration:
		Position: BottomLeft
		Margin: 4, 3
		RequiresSelection: true
		FullSequence: pip-yellow
	FireWarheadsOnDeath:
		Weapon: TorpTubeNuke
		EmptyWeapon: UnitExplodeShip

SEAS:
	Inherits: ^Ship
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMovePrioritizeAir
	Inherits@CARGOPIPS: ^CargoPips
	Buildable:
		Queue: Ship
		BuildPaletteOrder: 20
		Prerequisites: ~spen, ~techlevel.low
		Description: actor-seas.description
	Valued:
		Cost: 600
	Tooltip:
		Name: actor-seas.name
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 20000
	Armor:
		Type: Heavy
	Mobile:
		TurnSpeed: 28
		Speed: 92
		PauseOnCondition: notmobile
	RevealsShroud:
		MinRange: 4c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Turreted:
		TurnSpeed: 28
		Offset: -300,0,110
	Armament@AA:
		Weapon: FLAK-23-AA
		Recoil: 48
		LocalOffset: 512,0,192
		MuzzleSequence: muzzle
		PauseOnCondition: reload-ground
		ReloadingCondition: reload-air
	Armament@AG:
		Name: secondary
		Weapon: FLAK-23-AG
		Recoil: 48
		LocalOffset: 512,0,192
		MuzzleSequence: muzzle
		PauseOnCondition: reload-air
		ReloadingCondition: reload-ground
	Armament@AS:
		Name: tertiary
		Weapon: DepthCharge
		LocalOffset: 512,0,192
		MuzzleSequence: muzzle
		PauseOnCondition: reload-air || reload-ground
	GrantConditionOnAttack:
		Condition: attack-air
		ArmamentNames: primary
		RevokeDelay: 18
		RevokeOnNewTarget: False
		RevokeAll: True
	AttackTurreted:
		Armaments: primary, secondary, tertiary
	WithMuzzleOverlay:
	WithSpriteTurret:
		RequiresCondition: !attack-air
	WithSpriteTurret@AIR:
		Sequence: turret-air
		RequiresCondition: attack-air
	DetectCloaked:
		DetectionTypes: Underwater
		Range: 4c0
	RenderDetectionCircle:
	Selectable:
		DecorationBounds: 1536, 1536
	Cargo:
		Types: Infantry
		MaxWeight: 2
		LoadingCondition: notmobile
		PassengerConditions:
			mech: selfrepair
			e7: tanyainside
			e8: volkovinside
	ChangesHealth@MECHANIC:
		RequiresCondition: selfrepair
		Step: 2000
		Delay: 81
		StartIfBelow: 100
		DamageCooldown: 150
	WithDecoration@COMMANDO:
		Image: pips
		Sequence: pip-skull
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: tanyainside
	WithDecoration@COMMANDO2:
		Image: pips
		Sequence: pip-redstar
		Palette: effect
		Position: TopLeft
		ValidRelationships: Ally, Enemy, Neutral
		RequiresCondition: volkovinside

DRED:
	Inherits: ^Ship
	Inherits@AUTOTARGET: ^AutoTargetAllAssaultMove
	Buildable:
		Queue: Ship
		BuildPaletteOrder: 60
		Prerequisites: ~spen, stek, ~techlevel.high
		Description: actor-dred.description
	Valued:
		Cost: 1800
	Tooltip:
		Name: actor-dred.name
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 80000
	Armor:
		Type: Heavy
	Mobile:
		TurnSpeed: 12
		Speed: 44
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	Turreted:
		TurnSpeed: 28
		Offset: 780,0,120
	Armament@PRIMARY:
		Weapon: SubMissileAA
		LocalOffset: 0,-171,0, 0,171,0
		PauseOnCondition: !ammo
	AmmoPool:
		Ammo: 2
		AmmoCondition: ammo
	ReloadAmmoPool:
		Delay: 215
		Count: 2
	AttackTurreted:
	WithSpriteTurret:
		RequiresCondition: ammo > 1
	WithSpriteTurret@OneMissile:
		RequiresCondition: ammo == 1
		Sequence: turret1
	WithSpriteTurret@NoMissiles:
		RequiresCondition: !ammo
		Sequence: turret0
	Selectable:
		DecorationBounds: 1877, 1877
	ChangesHealth:
		Step: 100
		Delay: 5
		StartIfBelow: 50
		DamageCooldown: 150
