module Base
{
	template vehicle E150TrunkSpace
	{
		part E150Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = Base.E150dndTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = DAMN.ContainerAccess.TrunkInner,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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

	}

    template vehicle E150TrunkSpacePayday
	{
		part E150Trunk
		{
			category = bodywork,
			area = TruckBed,
			itemType = Base.E150dndTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = E150.ContainerAccess.PaydayTrunk,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

		part E150RearCabinet
		{
			category = bodywork,
			area = TruckBed,
			itemType = Base.E150pdTrunk,
			mechanicRequireKey = true,
			repairMechanic = true,
			container
			{
				conditionAffectsCapacity = false,
				test = E150.ContainerAccess.PaydayTrunk,
			}
			lua
			{
				create = Vehicles.Create.Default,
			}
		}

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

	}

}

