module Base
{
	template vehicle F700SwatTrunkCompartment
	{
		part F700TrunkSW
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = DAMN.ContainerAccess.TrunkInner,
                capacity = 180,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part F700TrunkSWGunrack
		{
			category = bodywork,
			area = SeatFrontRight,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = DAMN.ContainerAccess.Gunrack,
				capacity = 5,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

        part F700TrunkSWGuncabinet
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			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,
            durability = 5,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = DAMN.ContainerAccess.TrunkInner,
			}
			lua
			{
				create = DAMN.Create.Blank,
			}
		}
	}

    template vehicle F700BankTrunkCompartment
	{
		part F700TrunkBN
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = DAMN.ContainerAccess.TrunkInner,
                capacity = 260,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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

    template vehicle F700BoxTrunkCompartment
	{
		part F700TrunkBX
		{
			category = bodywork,
			area = TruckBed,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = Vehicles.ContainerAccess.TruckBed,
                capacity = 750,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part F700TrunkLeftBX
		{
			category = bodywork,
			area = StorageLeft,
			itemType = damnCraft.Trunk,
			mechanicRequireKey = true,
            durability = 5,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = B700.ContainerAccess.TrunkLeft,
                capacity = 12,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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