module Base
{
	template vehicle F700SwatTrunkCompartment
	{
		part F700TrunkSW
		{
			category = bodywork,
			area = TruckBed,
			itemType = Base.87fordB700Trunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = B700.ContainerAccess.TrunkF,
                capacity = 180,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part F700TrunkSWGunrack
		{
			category = bodywork,
			area = SeatFrontRight,
			itemType = Base.87fordB700SmallTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = B700.ContainerAccess.Gunrack,
				capacity = 5,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part F700TrunkSWGuncabinet
		{
			category = bodywork,
			area = TruckBed,
			itemType = Base.87fordB700SmallTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = B700.ContainerAccess.Guncabinet,
				capacity = 30,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part TruckBed
		{
			category = nodisplay,
			area = TruckBed,
			itemType = nil,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = B700.ContainerAccess.TrunkF,
			}
			lua
			{
				create = DAMN.Create.Blank,
			}
		}
	}

    template vehicle F700BankTrunkCompartment
	{
		part F700TrunkBN
		{
			category = bodywork,
			area = TruckBed,
			itemType = Base.87fordB700Trunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = B700.ContainerAccess.TrunkF,
                capacity = 290,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part TruckBed
		{
			category = nodisplay,
			area = TruckBed,
			itemType = nil,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = B700.ContainerAccess.TrunkF,
			}
			lua
			{
				create = DAMN.Create.Blank,
			}
		}
	}

    template vehicle F700BoxTrunkCompartment
	{
		part F700TrunkBX
		{
			category = bodywork,
			area = TruckBed,
			itemType = Base.87fordB700Trunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = B700.ContainerAccess.TrunkX,
                capacity = 750,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part F700TrunkLeftBX
		{
			category = bodywork,
			area = StorageLeft,
			itemType = Base.87fordB700SmallTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = B700.ContainerAccess.TrunkLeft,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part TruckBed
		{
			category = nodisplay,
			area = TruckBed,
			itemType = nil,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = B700.ContainerAccess.TrunkX,
			}
			lua
			{
				create = DAMN.Create.Blank,
			}
		}
	}
}