C1:
	Inherits@1: ^CivInfantry
	Inherits@2: ^ArmedCivilian

C2:
	Inherits: ^CivInfantry
	RenderSprites:
		Image: C1
	WithInfantryBody:
		Palette: civilian2
	WithDeathAnimation:
		DeathSequencePalette: civilian2
		DeathPaletteIsPlayerPalette: false

C3:
	Inherits: ^CivInfantry
	Voiced:
		VoiceSet: CivilianFemaleVoice
	RenderSprites:
		Image: C2

C4:
	Inherits: ^CivInfantry
	RenderSprites:
		Image: C2
	Voiced:
		VoiceSet: CivilianFemaleVoice
	WithInfantryBody:
		Palette: civilian4
	WithDeathAnimation:
		DeathSequencePalette: civilian4
		DeathPaletteIsPlayerPalette: false

C5:
	Inherits: ^CivInfantry
	RenderSprites:
		Image: C2
	Voiced:
		VoiceSet: CivilianFemaleVoice
	WithInfantryBody:
		Palette: civilian5
	WithDeathAnimation:
		DeathSequencePalette: civilian5
		DeathPaletteIsPlayerPalette: false

C6:
	Inherits: ^CivInfantry
	RenderSprites:
		Image: C1
	WithInfantryBody:
		Palette: civilian6
	WithDeathAnimation:
		DeathSequencePalette: civilian6
		DeathPaletteIsPlayerPalette: false

C7:
	Inherits@1: ^CivInfantry
	Inherits@2: ^ArmedCivilian
	RenderSprites:
		Image: C1
	WithInfantryBody:
		Palette: civilian7
	WithDeathAnimation:
		DeathSequencePalette: civilian7
		DeathPaletteIsPlayerPalette: false

C8:
	Inherits: ^CivInfantry
	RenderSprites:
		Image: C1
	WithInfantryBody:
		Palette: civilian8
	WithDeathAnimation:
		DeathSequencePalette: civilian8
		DeathPaletteIsPlayerPalette: false

C9:
	Inherits: ^CivInfantry
	RenderSprites:
		Image: C1
	WithInfantryBody:
		Palette: civilian9
	WithDeathAnimation:
		DeathSequencePalette: civilian9
		DeathPaletteIsPlayerPalette: false

C10:
	Inherits: ^CivInfantry
	RenderSprites:
		Image: C1
	Tooltip:
		Name: Scientist
	WithInfantryBody:
		Palette: civilian10
	WithDeathAnimation:
		DeathSequencePalette: civilian10
		DeathPaletteIsPlayerPalette: false

C11:
	Inherits: ^CivInfantry

TECN:
	Inherits@1: ^CivInfantry
	Inherits@2: ^ArmedCivilian
	Tooltip:
		Name: Technician
	RenderSprites:
		Image: C1

TECN2:
	Inherits@1: ^CivInfantry
	Inherits@2: ^ArmedCivilian
	Tooltip:
		Name: Technician
	RenderSprites:
		Image: C1
	WithInfantryBody:
		Palette: civilian7
	WithDeathAnimation:
		DeathSequencePalette: civilian7
		DeathPaletteIsPlayerPalette: false

FCOM:
	Inherits: ^TechBuilding
	Inherits@shape: ^2x2Shape
	Selectable:
		Bounds: 48,48
	OwnerLostAction:
		Action: ChangeOwner
	Building:
		Footprint: xx xx ==
		Dimensions: 2,3
		LocalCenterOffset: 0,-512,0
	Health:
		HP: 80000
	Armor:
		Type: Wood
	Tooltip:
		Name: Forward Command
	TooltipDescription@ally:
		Description: Provides buildable area.
		ValidRelationships: Ally
	TooltipDescription@other:
		Description: Capture to give buildable area.
		ValidRelationships: Neutral, Enemy
	RevealsShroud:
		MinRange: 4c0
		Range: 5c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 4c0
	WithBuildingBib:
	CaptureManager:
		BeingCapturedCondition: being-captured
	Capturable:
		Types: building
	CapturableProgressBar:
	CapturableProgressBlink:
	GivesBuildableArea:
		AreaTypes: building
	BaseProvider:
		PauseOnCondition: being-captured
		Range: 8c0
	EngineerRepairable:
	Power:
		Amount: 0
	ProvidesPrerequisite@buildingname:
	AppearsOnMapPreview:
	GpsDot:
		String: Forward

HOSP:
	Inherits: ^TechBuilding
	Inherits@shape: ^2x2Shape
	OwnerLostAction:
		Action: ChangeOwner
	Selectable:
		Priority: 0
		Bounds: 48,48
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	Health:
		HP: 80000
	CaptureManager:
	Capturable:
		Types: building
	CapturableProgressBar:
	CapturableProgressBlink:
	EngineerRepairable:
	Tooltip:
		Name: Hospital
	TooltipDescription@ally:
		Description: Provides infantry with self-healing.
		ValidRelationships: Ally
	TooltipDescription@other:
		Description: Capture to enable self-healing for infantry.
		ValidRelationships: Neutral, Enemy
	RevealsShroud:
		Range: 4c0
	WithBuildingBib:
		HasMinibib: true
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	ProvidesPrerequisite@buildingname:
	AppearsOnMapPreview:
	GpsDot:
		String: Hospital

V01:
	Inherits: ^CivBuilding
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	Tooltip:
		Name: Church
	RevealsShroud:
		Range: 10c0
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: -490,-384,0, 0,0,0, 0,470,0
		Type: Rectangle
			TopLeft: -768, -597
			BottomRight: 896, 683

V02:
	Inherits: ^CivBuilding
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: -490,-512,0, 0,0,0, 0,512,0
		Type: Rectangle
			TopLeft: -1024, -512
			BottomRight: 1024, 597

V03:
	Inherits: ^CivBuilding
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: -490,-512,0, 0,0,0, 421,512,0, -210,512,0
		Type: Rectangle
			TopLeft: -1024, -597
			BottomRight: 1024, 597

V04:
	Inherits: ^CivBuilding
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: 0,0,0, -421,-256,0, -421,256,0
		Type: Rectangle
			TopLeft: -683, -432
			BottomRight: 683, 683

V05:
	Inherits: ^CivBuilding
	Inherits@shape: ^2x1Shape
	Building:
		Footprint: xx
		Dimensions: 2,1
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V06:
	Inherits: ^CivBuilding
	Inherits@shape: ^2x1Shape
	Building:
		Footprint: xx
		Dimensions: 2,1
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V07:
	Inherits: ^CivBuilding
	Inherits@shape: ^2x1Shape
	Building:
		Footprint: xx
		Dimensions: 2,1
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V08:
	Inherits: ^CivBuilding
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V09:
	Inherits: ^CivBuilding
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V10:
	Inherits: ^CivBuilding
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V11:
	Inherits: ^CivBuilding
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V12:
	Inherits: ^CivBuilding
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V13:
	Inherits: ^CivBuilding
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V14:
	Inherits: ^CivField
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V15:
	Inherits: ^CivField
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V16:
	Inherits: ^CivField
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V17:
	Inherits: ^CivField
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V18:
	Inherits: ^CivField
	MapEditorData:
		ExcludeTilesets: DESERT, INTERIOR

V19:
	Inherits: ^CivBuilding
	RenderSprites:
		Palette: player
	Tooltip:
		Name: Oil Pump
	-SpawnActorOnDeath@1:
	-SpawnActorOnDeath@2:
	-SpawnActorOnDeath@3:
	SpawnActorOnDeath:
		Actor: V19.Husk
	Targetable:
		TargetTypes: GroundActor, C4, DetonateAttack, Structure, NoAutoTarget

V19.Husk:
	Inherits: ^CivBuilding
	RenderSprites:
		Palette: player
	Tooltip:
		Name: Husk (Oil Pump)
	WithSpriteBody:
	WithIdleOverlay:
		StartSequence: fire-start
		Sequence: fire-loop
	-Selectable:
	-Targetable:
	-Demolishable:
	-HitShape:
	-Health:
	-Explodes:
	-Explodes@CIVPANIC:
	Interactable:

BARL:
	Inherits: ^TechBuilding
	-Selectable:
	Health:
		HP: 1000
	Explodes:
		Weapon: BarrelExplode
	Tooltip:
		Name: Explosive Barrel
		ShowOwnerRow: False
	Armor:
		Type: None
	Targetable:
		TargetTypes: GroundActor, DemoTruck, Barrel, NoAutoTarget
	-ShakeOnDeath:
	-SoundOnDamageTransition:
	-Demolishable:
	MapEditorData:
		Categories: Decoration
	Interactable:
		Bounds: 24,24

BRL3:
	Inherits: ^TechBuilding
	-Selectable:
	Health:
		HP: 1000
	Explodes:
		Weapon: BarrelExplode
	Tooltip:
		Name: Explosive Barrel
		ShowOwnerRow: False
	Armor:
		Type: None
	Targetable:
		TargetTypes: GroundActor, DemoTruck, Barrel, NoAutoTarget
	-ShakeOnDeath:
	-SoundOnDamageTransition:
	-Demolishable:
	MapEditorData:
		Categories: Decoration
	Interactable:
		Bounds: 24,24

AMMOBOX1:
	Inherits: ^AmmoBox

AMMOBOX2:
	Inherits: ^AmmoBox

AMMOBOX3:
	Inherits: ^AmmoBox

MISS:
	Inherits: ^TechBuilding
	Inherits@shape: ^3x2Shape
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: 0,0,0, 840,0,0, 840,-1024,0, 420,768,0, -840,0,0, -840,-1024,0, -840,1024,0
	Selectable:
		Priority: 0
		Bounds: 72,48
	OwnerLostAction:
		Action: ChangeOwner
	Building:
		Footprint: xxx xxx ===
		Dimensions: 3,3
		LocalCenterOffset: 0,-512,0
	Health:
		HP: 60000
	RevealsShroud:
		MinRange: 6c0
		Range: 10c0
		RevealGeneratedShroud: False
	RevealsShroud@GAPGEN:
		Range: 6c0
	Armor:
		Type: Wood
	Tooltip:
		Name: Communications Center
	TooltipDescription@ally:
		Description: Provides range of vision.
		ValidRelationships: Ally
	TooltipDescription@other:
		Description: Capture to give visual range.
		ValidRelationships: Neutral, Enemy
	WithBuildingBib:
	CaptureManager:
	Capturable:
		Types: building
	CapturableProgressBar:
	CapturableProgressBlink:
	EngineerRepairable:
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	ProvidesPrerequisite@buildingname:
	AppearsOnMapPreview:
	GpsDot:
		String: Communications

BIO:
	Inherits: ^TechBuilding
	Inherits@shape: ^2x2Shape
	Selectable:
		Bounds: 48,48
	OwnerLostAction:
		Action: ChangeOwner
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	RevealsShroud:
		Range: 4c0
	CaptureManager:
	CapturableProgressBlink:
	Capturable:
		Types: building
	CapturableProgressBar:
	EngineerRepairable:
	Tooltip:
		Name: Biological Lab
	TooltipDescription@ally:
		Description: Provides prerequisite for Bio-Lab units.
		ValidRelationships: Ally
	TooltipDescription@other:
		Description: Capture to produce Bio-Lab units.
		ValidRelationships: Neutral, Enemy
	WithDeathAnimation:
		DeathSequence: dead
		UseDeathTypeSuffix: false
	ProvidesPrerequisite@buildingname:
	AppearsOnMapPreview:
	GpsDot:
		String: Biohazard

OILB:
	Inherits: ^TechBuilding
	Inherits@shape: ^2x2Shape
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: 0,0,0, 630,-300,0, 420,512,0, -420,-512,0, -630,300,0
	Selectable:
		Priority: 0
		Bounds: 48,48
	OwnerLostAction:
		Action: ChangeOwner
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	Health:
		HP: 80000
	RevealsShroud:
		Range: 4c0
	CaptureManager:
	Capturable:
		Types: building
	CapturableProgressBar:
	CapturableProgressBlink:
	EngineerRepairable:
	CashTrickler:
		Interval: 375
		Amount: 100
		RequiresCondition: enabled
	Tooltip:
		Name: Oil Derrick
	TooltipDescription@ally:
		Description: Provides additional funds.
		ValidRelationships: Ally
	TooltipDescription@other:
		Description: Capture to receive additional funds.
		ValidRelationships: Neutral, Enemy
	Explodes:
		Weapon: BarrelExplode
	GpsDot:
		String: Oil
	AppearsOnMapPreview:
	GivesCashOnCapture:
		Amount: 100
	UpdatesDerrickCount:
	GrantConditionOnCombatantOwner:
		Condition: enabled

BR1:
	Inherits: ^Bridge
	Bridge:
		Template: 235
		DamagedTemplate: 236
		DestroyedTemplate: 237
		SouthOffset: 0,2
	FreeActor:
		Actor: bridgehut
		SpawnOffset: 2,0

BR2:
	Inherits: ^Bridge
	Bridge:
		Template: 238
		DamagedTemplate: 239
		DestroyedTemplate: 240
		NorthOffset: 3,0
	FreeActor:
		Actor: bridgehut
		SpawnOffset: 1,1

BR3:
	Inherits: ^Bridge
	Bridge:
		Long: true
		ShorePieces: br1,br2
		Template: 241
		DamagedTemplate: 242
		DestroyedTemplate: 243
		DestroyedPlusNorthTemplate: 245
		DestroyedPlusSouthTemplate: 244
		DestroyedPlusBothTemplate: 246
		NorthOffset: 2,0
		SouthOffset: 0,1

BRIDGE1:
	Inherits: ^Bridge
	Bridge:
		Template: 131
		DamagedTemplate: 378
		DestroyedTemplate: 132
	Building:
		Footprint: _____ _____ _____
		Dimensions: 5,3
	FreeActor@north:
		Actor: bridgehut
		SpawnOffset: 2,-1
	FreeActor@south:
		Actor: bridgehut
		SpawnOffset: 0,1
	Interactable:
		Bounds: 120,72

BRIDGE2:
	Inherits: ^Bridge
	Bridge:
		Template: 133
		DamagedTemplate: 379
		DestroyedTemplate: 134
	Building:
		Footprint: _____ _____
		Dimensions: 5,2
	FreeActor@north:
		Actor: bridgehut
		SpawnOffset: 0,-1
	FreeActor@south:
		Actor: bridgehut
		SpawnOffset: 2,1
	Interactable:
		Bounds: 120,48

BRIDGE3:
	Inherits: ^Bridge
	Bridge:
		Template: 620
		DamagedTemplate: 621
		DestroyedTemplate: 622
	Building:
		Footprint: ____ ____
		Dimensions: 4,2
	FreeActor@north:
		Actor: bridgehut
		SpawnOffset: 1, -1
	FreeActor@south:
		Actor: bridgehut
		SpawnOffset: 0,1
	Interactable:
		Bounds: 96,48

BRIDGE4:
	Inherits: ^Bridge
	Bridge:
		Template: 624
		DamagedTemplate: 625
		DestroyedTemplate: 626
	Building:
		Footprint: ____ ____
		Dimensions: 4,2
	FreeActor@north:
		Actor: bridgehut
		SpawnOffset: 1, -1
	FreeActor@south:
		Actor: bridgehut
		SpawnOffset: 2,1
	Interactable:
		Bounds: 96,48

SBRIDGE1:
	Inherits: ^Bridge
	Bridge:
		Template: 520
		DamagedTemplate: 521
		DestroyedTemplate: 522
	Building:
		Footprint: ___ ___
		Dimensions: 3,2
	FreeActor@north:
		Actor: bridgehut.small
		SpawnOffset: 1,0
	FreeActor@south:
		Actor: bridgehut.small
		SpawnOffset: 1,1
	Interactable:
		Bounds: 72,48

SBRIDGE2:
	Inherits: ^Bridge
	Bridge:
		Template: 531
		DamagedTemplate: 532
		DestroyedTemplate: 533
	Building:
		Footprint: __ __ __
		Dimensions: 2,3
	FreeActor@west:
		Actor: bridgehut.small
		SpawnOffset: 0,1
	FreeActor@east:
		Actor: bridgehut.small
		SpawnOffset: 1,1
	Interactable:
		Bounds: 48,72

SBRIDGE3:
	Inherits: ^Bridge
	Bridge:
		Template: 523
		DamagedTemplate: 524
		DestroyedTemplate: 525
	FreeActor@north:
		Actor: bridgehut
		SpawnOffset: 2,-1
	FreeActor@south:
		Actor: bridgehut
		SpawnOffset: 0,1

SBRIDGE4:
	Inherits: ^Bridge
	Bridge:
		Template: 527
		DamagedTemplate: 528
		DestroyedTemplate: 529
	FreeActor@north:
		Actor: bridgehut
		SpawnOffset: 0,-1
	FreeActor@south:
		Actor: bridgehut
		SpawnOffset: 2,1

BRIDGEHUT:
	AlwaysVisible:
	Building:
		Footprint: __ __
		Dimensions: 2,2
	Selectable:
		Bounds: 48,48
		Priority: 2
	LegacyBridgeHut:
	Targetable:
		TargetTypes: BridgeHut, C4

BRIDGEHUT.small:
	AlwaysVisible:
	Building:
		Footprint: _
		Dimensions: 1,1
	Selectable:
		Bounds: 24,24
		Priority: 2
	LegacyBridgeHut:
	Targetable:
		TargetTypes: BridgeHut, C4

V20:
	Inherits: ^DesertCivBuilding
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: -840,-512,0, 0,0,0, -840,512,0
		Type: Rectangle
			TopLeft: -1024, -512
			BottomRight: 1024, 896

V21:
	Inherits: ^DesertCivBuilding
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: 840,-512,0, 420,0,0, 840,512,0
		Type: Rectangle
			TopLeft: -1024, -1024
			BottomRight: 1024, 0
	HitShape@WELL:
		TargetableOffsets: -770,512,0
		Type: Rectangle
			TopLeft: 0, 0
			BottomRight: 1024, 598

V22:
	Inherits: ^DesertCivBuilding
	Inherits@shape: ^2x1Shape
	Building:
		Footprint: xx
		Dimensions: 2,1

V23:
	Inherits: ^DesertCivBuilding

V24:
	Inherits: ^DesertCivBuilding
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: -630,-512,0, 0,0,0, -630,256,0, 420,-512,0
		Type: Rectangle
			TopLeft: -1024, -683
			BottomRight: 640, 853

V25:
	Inherits: ^DesertCivBuilding
	Building:
		Footprint: xx xx
		Dimensions: 2,2
	Tooltip:
		Name: Church
	RevealsShroud:
		Range: 10c0
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: 0,-128,0, 420,512,0
		Type: Rectangle
			TopLeft: -683, -683
			BottomRight: 1024, 512

V26:
	Inherits: ^DesertCivBuilding
	Inherits@shape: ^2x1Shape
	Building:
		Footprint: xx
		Dimensions: 2,1

V27:
	Inherits: ^DesertCivBuilding

V28:
	Inherits: ^DesertCivBuilding

V29:
	Inherits: ^DesertCivBuilding

V30:
	Inherits: ^DesertCivBuilding
	Inherits@shape: ^2x1Shape
	Building:
		Footprint: xx
		Dimensions: 2,1

V31:
	Inherits: ^DesertCivBuilding
	Inherits@shape: ^2x1Shape
	Building:
		Footprint: xx
		Dimensions: 2,1

V32:
	Inherits: ^DesertCivBuilding
	Inherits@shape: ^2x1Shape
	Building:
		Footprint: xx
		Dimensions: 2,1

V33:
	Inherits: ^DesertCivBuilding
	Inherits@shape: ^2x1Shape
	Building:
		Footprint: xx
		Dimensions: 2,1

V34:
	Inherits: ^DesertCivBuilding

V35:
	Inherits: ^DesertCivBuilding

V36:
	Inherits: ^DesertCivBuilding

V37:
	Inherits: ^DesertCivBuilding
	Building:
		Footprint: __xx_ ___xx
		Dimensions: 5,2
	HitShape:
		UseTargetableCellsOffsets: false
		TargetableOffsets: 0,0,0, 0,1024,0
		Type: Rectangle
			TopLeft: -512, -597
			BottomRight: 1536, 597

RICE:
	Inherits: ^CivField
	MapEditorData:
		RequireTilesets: TEMPERAT

RUSHOUSE:
	Inherits: ^CivBuilding
	MapEditorData:
		RequireTilesets: TEMPERAT
	Building:
		Footprint: x x
		Dimensions: 1,2
	HitShape:
		UseTargetableCellsOffsets: false

ASIANHUT:
	Inherits: ^CivBuilding
	MapEditorData:
		RequireTilesets: TEMPERAT

SNOWHUT:
	Inherits: ^CivBuilding
	MapEditorData:
		RequireTilesets: SNOW
	Building:
		Footprint: x x
		Dimensions: 1,2
	RenderSprites:
		Scale: 0.7
	HitShape:
		UseTargetableCellsOffsets: false

LHUS:
	Inherits: ^CivBuilding
	MapEditorData:
		RequireTilesets: TEMPERAT
	Selectable:
		Bounds: 24,48,0,-16
	Tooltip:
		Name: Lighthouse
	Building:
		Footprint: x
		Dimensions: 1,1

WINDMILL:
	Inherits: ^CivBuilding
	MapEditorData:
		RequireTilesets: TEMPERAT
	Selectable:
		Bounds: 24,24,0,-14
		DecorationBounds: 36,36,0,-14
	Tooltip:
		Name: Windmill
	Building:
		Footprint: x
		Dimensions: 1,1
