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
	ProducibleWithLevel:
		Prerequisites: ships.upgraded
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: ships.upgraded

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
	ProducibleWithLevel:
		Prerequisites: ships.upgraded
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: ships.upgraded

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
	ProducibleWithLevel:
		Prerequisites: ships.upgraded
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: ships.upgraded

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
	ProducibleWithLevel:
		Prerequisites: ships.upgraded
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: ships.upgraded

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
	Mobile:
		PauseOnCondition: notmobile || being-captured
	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: 500
	Mobile:
		TurnSpeed: 28
		Speed: 128
	Turreted@PRIMARY:
		Turret: primary
		Offset: 512,0,0
		TurnSpeed: 28
	Turreted@SECONDARY:
		Turret: secondary
		Offset: -512,0,0
		TurnSpeed: 28
	Armament@PRIMARY:
		Turret: primary
	Armament@SECONDARY:
		Turret: primary
	Armament@TERTIARY:
		Turret: secondary
		Weapon: M24mg
		LocalOffset: 128,0,43
		MuzzleSequence: muzzle2
	AttackTurreted:
		Turrets: primary, secondary
	-WithSpriteTurret:
	WithSpriteTurret@PRIMARY:
		Turret: primary
		Sequence: turret2
	WithSpriteTurret@SECONDARY:
		Turret: secondary
	ProducibleWithLevel:
		Prerequisites: ships.upgraded
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: ships.upgraded

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
	ProducibleWithLevel:
		Prerequisites: ships.upgraded
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: ships.upgraded

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 || being-captured
	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
	ProducibleWithLevel:
		Prerequisites: ships.upgraded
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: ships.upgraded

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
	ProducibleWithLevel:
		Prerequisites: ships.upgraded
	WithProductionIconOverlay:
		Types: Veterancy
		Prerequisites: ships.upgraded

CARR.Mobile:
	Inherits: ^Ship
	Inherits@selection: ^SelectableSupportUnit
	Buildable:
		Queue: Ship
		BuildPaletteOrder: 80
		Prerequisites: techcenter, ~techlevel.high
		Description: actor-carr.description
	Valued:
		Cost: 1000
	Tooltip:
		Name: actor-carr.name
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 35000
	Armor:
		Type: Heavy
	Mobile:
		Locomotor: lcraft
		Speed: 78
	RevealsShroud:
		MinRange: 5c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 5c0
	-Chronoshiftable:
	Selectable:
		DecorationBounds: 1536, 1536
	Transforms:
		IntoActor: carr.deployed
		Offset: 0,0
		Facing: 0
	CommandBarBlacklist:
		DisableStop: false
	-Targetable@REPAIR:
	-GrantConditionOnDamageState@DAMAGED:
	-Guard:
	-MustBeDestroyed:
	-AttackMove:
	RenderSprites:
		Image: carr

CARR.Deployed:
	Inherits: CARR.Mobile
	-Buildable:
	-Mobile:
	-RepairableNear:
	-WithFacingSpriteBody:
	Building:
		Dimensions: 1,1
		Footprint: x
		TerrainTypes: Water
		RequiresBaseProvider: false
		BuildSounds:
		UndeploySounds:
	WithSpriteBody:
	Reservable:
	WithResupplyAnimation:
	RallyPoint:
		ForceSetType: Helicopter
	Transforms:
		IntoActor: carr.mobile
		Offset: 0,0
		Facing: 0
		PauseOnCondition: being-captured
	TransformsIntoMobile:
		Locomotor: lcraft
		RequiresForceMove: true
	RepairsUnits:
		ValuePercentage: 0
		HpPerStep: 0
		Interval: 100
		StartRepairingNotification:
		StartRepairingTextNotification:
		FinishRepairingNotification:
		FinishRepairingTextNotification:
	ProximityExternalCondition@AIRCRAFTREPAIR:
		Condition: airrepair
		Range: 1c0
	WithDecoration@deployed:
		Position: Top
		Margin: 0, -6
		Image: pips
		Sequence: tag-deployed
		Palette: effect
	RenderSprites:
		Image: carr

ENGB:
	Inherits: ^Ship
	Inherits@selection: ^SelectableSupportUnit
	Buildable:
		Queue: Ship
		BuildPaletteOrder: 90
		Prerequisites: fix, ~techlevel.medium
		Description: actor-engb.description
	Valued:
		Cost: 500
	Tooltip:
		Name: actor-engb.name
	UpdatesPlayerStatistics:
		AddToArmyValue: true
	Health:
		HP: 20000
	Armor:
		Type: Heavy
	Mobile:
		TurnSpeed: 12
		Speed: 56
	RevealsShroud:
		MinRange: 5c0
		Range: 6c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 5c0
	Selectable:
		DecorationBounds: 1194, 1194
	CaptureManager:
	Captures:
		CaptureTypes: naval-building, tech-building
		PlayerExperience: 0
		CaptureDelay: 375
		ConsumedByCapture: False
		EnterCursor: ability
		EnterBlockedCursor: move-blocked
	InstantlyRepairs:
		Types: naval-building, tech-building
		RepairSound: build5.aud
	RepairsBridges:
