module Base
{
    template vehicle ATA2InteractiveTrunk
    {
        part ATA2RoofBase
        {
            area = TruckBed,
            category = nodisplay,
            specificItem = false,
            mechanicRequireKey = false,
            repairMechanic = true,
            itemType = Base.LightBulb,
            table install
            {
                test = ATATuning2.InstallTest.Tuning,
                complete = ATATuning2.InstallComplete.Tuning,
            }
            table uninstall
            {
                test = ATATuning2.UninstallTest.Tuning,
                complete = ATATuning2.UninstallComplete.Tuning,
            }
            lua
            {
                create = ATATuning2.Create.Chance0,
                init = ATATuning2.Init.Tuning,
            }
        }
        
        part ATA2InteractiveTrunkRoofRack
        {
            
        }
        
        part ATA2InteractiveTrunkWindowRearRack
        {
            
        }
        
        part ATA2InteractiveTrunkWheelRack
        {
            
        }
        
        part ATA2InteractiveTrunkFront
        {
            
        }
        part ATA2InteractiveTrunkRear
        {
            
        }
        
        part ATA2InteractiveTrunk*
        {
            area = TruckBed,
            category = nodisplay,
            itemType = ATA2.ATA2ItemContainer,
            specificItem = false,
            mechanicRequireKey = false,
            container
            {
                conditionAffectsCapacity = true,
                test = ATATuning2.ContainerAccess.Tuning,
            }
            table install
            {
                test = ATATuning2.InstallTest.Tuning,
                complete = ATATuning2.InstallComplete.Tuning,
            }
            table uninstall
            {
                test = ATATuning2.UninstallTest.Tuning,
                complete = ATATuning2.UninstallComplete.Tuning,
            }
            lua
            {
                create = ATATuning2.Create.Tuning,
                init = ATATuning2.Init.Tuning,
            }
        }
        part ATA2RoofRackToolbox
        {
            area = TruckBed,
            category = nodisplay,
            itemType = ATA2.ATA2ItemContainer,
            specificItem = false,
            mechanicRequireKey = false,
            container
            {
                conditionAffectsCapacity = true,
                test = Vehicles.ContainerAccess.TruckBedOpen,
            }
            table install
            {
                test = ATATuning2.InstallTest.Tuning,
                complete = ATATuning2.InstallComplete.Tuning,
            }
            table uninstall
            {
                test = ATATuning2.UninstallTest.Tuning,
                complete = ATATuning2.UninstallComplete.Tuning,
            }
            lua
            {
                create = ATATuning2.Create.Tuning,
                init = ATATuning2.Init.Tuning,
            }
        }
    }
}