^new_tile_undestroyable:
	Inherits@1: ^ExistsInWorld
	Inherits@2: ^SpriteActor
	FrozenUnderFog:
	WithSpriteBody:
	CombatDebugOverlay:
	Building:
		TerrainTypes: Rock, Concrete, Cliff, Sand, Rock, Transition, Spice, SpiceSand, Dune,
	RenderSprites:
		Palette: terrain
	Health:
		HP: 20000
	Armor:
		Type: invulnerable
	HitShape:
		UseTargetableCellsOffsets: false
		Type: Rectangle
			TopLeft: -512, -512
			BottomRight: 512, 512
	MapEditorData:
		Categories: Tiles
	QuantizeFacingsFromSequence:
	Interactable:
	Tooltip:
		GenericName: pasage
		Name: passage
		ShowOwnerRow: false

^new_tile_destroyable:
	Inherits: ^new_tile_undestroyable
	Targetable:
		TargetTypes: Ground, Cliff
		RequiresForceFire: true
	Armor:
		Type: wall
	Health:
		HP: 20000
	Tooltip:
		GenericName: pasage (Destroable)
		Name: passage (Destroable)
	OwnerLostAction:
		Action: ChangeOwner
		Owner: Neutral
	HitShape:
		UseTargetableCellsOffsets: true
	Explodes:
		Type: CenterPosition
		Weapon: cliffExplode01
		EmptyWeapon: cliffExplode01
	ThrowsShrapnel@1:
		Weapons: derbisRock01, derbisRock02, derbisRock03
		Pieces: 0, 2
		Range: 1c0, 4c0
	ThrowsShrapnel@2:
		Weapons: derbisRock01, derbisRock02, derbisRock03
		Pieces: 1, 4
		Range: 0c512, 2c0
	MapEditorData:
		Categories: Tiles-Destroable

^new_tile_destroyed:
	Inherits: ^new_tile_undestroyable
	CaptureManager:
	Building:
	OwnerLostAction:
		Action: ChangeOwner
		Owner: Neutral
	Tooltip:
		GenericName: pasage (repairable)
		Name: passage (repairable)
	CaptureManager:
	CapturableProgressBar:
	CapturableProgressBlink:
		Interval: 30
	Capturable:
		Types: cliff
		ValidRelationships: Enemy, Neutral, Ally
	HitShape:
		UseTargetableCellsOffsets: true
		Type: Rectangle
			TopLeft: -1048, -1048
			BottomRight: 1024, 1054
	Targetable:
		TargetTypes: Ground, Cliff
		RequiresForceFire: true
	MapEditorData:
		Categories: Tiles-Repairable


rockpass01_left:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 3,3
		Footprint: xx= === xx=


rockpass01_right:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 3,3
		Footprint: =XX === =xx


rockpass01_top:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 3,3
		Footprint: x=x x=x ===


sandpass01_bottom:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,2
		Footprint: = =


sandpass01_top:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,2
		Footprint: _ _


sandpass01_left:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,1
		Footprint: __


sandpass01_right:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,1
		Footprint: __

rockslip01_right:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,2
		Footprint: XX __

rockslip01_right_alter:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,2
		Footprint: XX __

rockslip01_top:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,2
		Footprint: X_ X_

rockslip01_left:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,2
		Footprint: XX __

rockslip02_top_right:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 3,2
		Footprint: XX_ __X

rockslip02_top_left:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 3,2
		Footprint: ___ XX_

pass01_destroyable_bottom:
	Inherits: ^new_tile_destroyable
	RenderSprites:
		Image: rockpass01_bottom
	Building:
		Dimensions: 3,3
		Footprint: === X=X X=X
	HitShape:
		Type: Rectangle
			TopLeft: -512, -512
			BottomRight: 512, 900
	SpawnActorOnDeath:
		Actor: pass01_destroyed_bottom
		OwnerType: InternalName

pass01_destroyed_bottom:
	Inherits: ^new_tile_destroyed
	RenderSprites:
		Image: rockpass01_destroyed_bottom
	Building:
		Dimensions: 3,3
		Footprint: === xxx xxx
	TransformOnCapture:
		IntoActor: pass01_destroyable_bottom

pass01_destroyable_left:
	Inherits: ^new_tile_destroyable
	RenderSprites:
		Image: rockpass01_left
	HitShape:
		Type: Rectangle
			TopLeft: -700, -512
			BottomRight: 712, 512
	Building:
		Dimensions: 3,3
		Footprint: xx= === xx=
	SpawnActorOnDeath:
		Actor: pass01_destroyed_left
		OwnerType: InternalName


pass01_destroyed_left:
	Inherits: ^new_tile_destroyed
	RenderSprites:
		Image: rockpass01_destroyed_left
	Building:
		Dimensions: 3,3
		Footprint: xxx xxx xxx
	TransformOnCapture:
		IntoActor: pass01_destroyable_left

pass01_destroyable_right:
	Inherits: ^new_tile_destroyable
	RenderSprites:
		Image: rockpass01_right
	HitShape:
		Type: Rectangle
			TopLeft: -700, -512
			BottomRight: 700, 512
	Building:
		Dimensions: 3,3
		Footprint: =xx === =xx
	SpawnActorOnDeath:
		Actor: pass01_destroyed_right
		OwnerType: InternalName

pass01_destroyed_right:
	Inherits: ^new_tile_destroyed
	RenderSprites:
		Image: rockpass01_destroyed_right
	Building:
		Dimensions: 3,3
		Footprint: xxx xxx xxx
	TransformOnCapture:
		IntoActor: pass01_destroyable_right

pass01_destroyable_top:
	Inherits: ^new_tile_destroyable
	RenderSprites:
		Image: rockpass01_top
	HitShape:
		Type: Rectangle
			TopLeft: -512, -900
			BottomRight: 512, 512
	Building:
		Dimensions: 3,3
		Footprint: X=X X=X ===
	SpawnActorOnDeath:
		Actor: pass01_destroyed_top
		OwnerType: InternalName

pass01_destroyed_top:
	Inherits: ^new_tile_destroyed
	RenderSprites:
		Image: rockpass01_destroyed_top
	Building:
		Dimensions: 3,3
		Footprint: XxX xxx xxx
	TransformOnCapture:
		IntoActor: pass01_destroyable_top

merge_title01:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,2
		Footprint: XX XX
merge_title02:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,2
		Footprint: XX XX
merge_title03:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,2
		Footprint: XX XX
merge_title04:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,2
		Footprint: XX XX

transition_tile_01:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 3,2
		Footprint: XXX XXX

transition_tile_02:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 3,2
		Footprint: XXX XXX

transition_tile_03:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 3,2
		Footprint: XXX XXX

transition_tile_04:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 3,2
		Footprint: XXX XXX

transition_tile_05:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 3,2
		Footprint: XXX XXX

transition_tile_06:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 3,2
		Footprint: XXX XXX

bridge1_end_top_left:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,1
		Footprint: X_

bridge1_end_bottom_left:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,1
		Footprint: X_

bridge1_end_top:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

bridge1_end_bottom:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

bridge1_end_left:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

bridge1_end_right:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

platform_sand_bottom:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

platform_sand_bottom_left:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,2
		Footprint: X_ X_

platform_sand_bottom_right:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,2
		Footprint: _X _X

platform_rock_right_bottom:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

platform_rock_righ_top:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

bridge01_sand_right:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

sand_end01:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,2
		Footprint: __ __

signle_cell1:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

signle_cell2:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,1
		Footprint: __

signle_cell3:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,2
		Footprint: _ _

signle_cell4:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 2,1
		Footprint: __

platform_left_01:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

platform_left_02:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

platform_left_03:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

platform_right_01:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

platform_right_02:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

platform_right_03:
	Inherits: ^new_tile_undestroyable
	Building:
		Dimensions: 1,1
		Footprint: _

custom_rock03_h_barracks:
	Inherits: ^new_tile_undestroyable
	RenderSprites:
		Palette: terrain
	Building:
		Dimensions: 2,3
		Footprint: XX XX XX

custom_rock04_a_barracks:
	Inherits: ^new_tile_undestroyable
	RenderSprites:
		Palette: terrain
	Building:
		Dimensions: 2,2
		Footprint: XX XX

custom_rock05_o_barracks:
	Inherits: ^new_tile_undestroyable
	RenderSprites:
		Palette: terrain
	Building:
		Dimensions: 2,3
		Footprint: X_ XX XX