[Thing Template=AAUSABuildingPackableDepot]
{
	IDS = usa_depot_oil
	name = "#usa_depot_oil_name"
	editor_name = "#usa_depot_oil_editor_name"
	
	[BodyComponent]
	health = 15000
	defense = 5
	
	[EconomyComponent]
	{
		[Cost]
		money = 10

		[Upkeep]
		building_limit_consumed = 1
		
		[Production]
		money = 2
		oil = 50
	}

	[PropertiesComponent]
	{
		[Property]
		property_ids = oil

		[Property]
		property_ids = economic_building
	}

	[Size]
	{
		blocking_shape = SQUARE
		square_size = 8

	}
	
	[View]
	{
		resource_prefix = USADepotOil/USADepotOil
		icon = /UI/Game/BuildingButtons/IconDepotOil.png

		[WhenConstructed Template=FXC_CreateVFX]
		{
			vfx_ids = ground_depot_dirt
			terrain_group_filter = dirt
		}
		
		[WhenConstructed Template=FXC_CreateVFX]
		{
			vfx_ids = ground_depot_desert
			terrain_group_filter = desert
		}
		
		[WhenConstructed Template=FXC_CreateVFX]
		{
			vfx_ids = ground_depot_snow
			terrain_group_filter = snow
		}
		
		[WhenSelected Template=FXC_PlaySFX]
		{
			audio_ids = depot_oil_select
		}
		
		;;------ Spot Lights --------------------
		
		[WhenConstructed Template=FXC_CreateVFX]
		{
			vfx_ids = spotlight_02_bright
			location = spotlight_ae_01
			attached = true
		}
		
		[WhenConstructed Template=FXC_CreateVFX]
		{
			vfx_ids = spotlight_03
			location = spotlight_ae_02
			attached = true
		}
		
		[WhenConstructed Template=FXC_CreateVFX]
		{
			vfx_ids = spotlight_02
			location = spotlight_ae_03
			attached = true
		}
	}

	[WhenEnter Template=FXC_PlaySFX]
	{
		actor_state = structure_packing
		audio_ids = pack_7s_sfx
	}
	
	[WhenEnter Template=FXC_PlaySFX]
	{
		actor_state = structure_unpacking
		audio_ids = unpack_7s_sfx
	}
}
