module Base
{
    template vehicle ATAVehicleWrecker
    {
        part ATAVehicleWrecker
        {
            area = TruckBed,
            specificItem = false,
            category = nodisplay,
            itemType = Base.LightBulb,
            
            table ATAVehicleWrecker
            {
                spawnDist = 2,
                spawnSize = 1,
            }
            
            table install
            {
                items
                {
                    1
                    {
                        type = Base.Screwdriver,
                        count = 1,
                        keep = true,
                        equip = primary,
                    }
                }
                skills = Mechanics:6,
                time = 400,
                test = ATATuning.InstallTest.multiRequire,
                complete = ATATuning.InstallComplete.DefaultModel,
            }
            table uninstall
            {
                items
                {
                    1
                    {
                        type = Base.Screwdriver,
                        count = 1,
                        keep = true,
                        equip = primary,
                    }
                }
                skills = Mechanics:5,
                time = 400,
                test = ATATuning.UninstallTest.multiRequire,
                complete = ATATuning.UninstallComplete.DefaultModel,
            }
            
            lua
            {
                create = ATATuning.Create.Chance0,
                init = ATATuning.Init.Default,
            }
        }
        
        part wrecker_Battery
        {
        }
        
        part wrecker_BrakeFrontLeft
        {
        }
        part wrecker_BrakeFrontRight
        {
        }
        part wrecker_BrakeRearLeft
        {
        }
        part wrecker_BrakeRearRight
        {
        }
        
        part wrecker_DoorFrontLeft
        {
        }
        part wrecker_DoorFrontRight
        {
        }
        part wrecker_DoorMiddleLeft
        {
        }
        part wrecker_DoorMiddleRight
        {
        }
        part wrecker_DoorRearLeft
        {
        }
        part wrecker_DoorRearRight
        {
        }
        part wrecker_DoorRear
        {
        }
        
        part wrecker_Engine
        {
        }
        
        part wrecker_EngineDoor
        {
        }
        
        part wrecker_GasTank
        {
        }
        part wrecker_GloveBox
        {
        }
        
        part wrecker_HeadlightLeft
        {
        }
        part wrecker_HeadlightRight
        {
        }
        part wrecker_HeadlightRearLeft
        {
        }
        part wrecker_HeadlightRearRight
        {
        }
        
        part wrecker_Heater
        {
        }
        
        part wrecker_Muffler
        {
        }
        
        part wrecker_Radio
        {
        }
        
        part wrecker_SeatFrontLeft
        {
        }
        part wrecker_SeatFrontRight
        {
        }
        part wrecker_SeatMiddleLeft
        {
        }
        part wrecker_SeatMiddleRight
        {
        }
        part wrecker_SeatRearLeft
        {
        }
        part wrecker_SeatRearRight
        {
        }
        
        part wrecker_SuspensionFrontLeft
        {
        }
        part wrecker_SuspensionFrontRight
        {
        }
        part wrecker_SuspensionRearLeft
        {
        }
        part wrecker_SuspensionRearRight
        {
        }
        
        part wrecker_TireFrontLeft
        {
        }
        part wrecker_TireFrontRight
        {
        }
        part wrecker_TireRearLeft
        {
        }
        part wrecker_TireRearRight
        {
        }
        
        part wrecker_TruckBed
        {
        }
        part wrecker_TruckBedOpen
        {
        }
        part wrecker_TrunkDoor
        {
        }
        
        part wrecker_WindowFrontLeft
        {
        }
        part wrecker_WindowFrontRight
        {
        }
        part wrecker_WindowMiddleLeft
        {
        }
        part wrecker_WindowMiddleRight
        {
        }
        part wrecker_WindowRearLeft
        {
        }
        part wrecker_WindowRearRight
        {
        }
        part wrecker_Windshield
        {
        }
        part wrecker_WindshieldRear
        {
        }
        
        part wrecker_ATABagMotoRight
        {
        }
        part wrecker_ATABagMotoLeft
        {
        }
        part wrecker_ATABagMotoHolsterLeft
        {
        }
        part wrecker_ATABagMotoHolsterRight
        {
        }
        
        part wrecker_ATAMotoTireFrontWheel
        {
        }
        part wrecker_ATAMotoTireRearWheel
        {
        }
        
        
        part wrecker*
        {
            itemType = Base.LightBulb,
            category = nodisplay,
            table install
            {
                items
                {
                    1
                    {
                        type = Base.Screwdriver,
                        count = 1,
                        keep = true,
                        equip = primary,
                    }
                }
                time = 100,
            }
            table uninstall
            {
                items
                {
                    1
                    {
                        type = Base.Screwdriver,
                        count = 1,
                        keep = true,
                        equip = primary,
                    }
                }
                time = 100,
            }
        }
    }
}