module Base
{
    template vehicle ATA2VehicleWrecker
    {
        part ATA2VehicleWrecker
        {
            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_Container1
        {
        }
        part wrecker_Container2
        {
        }
        part wrecker_Container3
        {
        }
        part wrecker_Container4
        {
        }
        part wrecker_Container5
        {
        }
        part wrecker_Container6
        {
        }
        part wrecker_Container7
        {
        }
        part wrecker_Container8
        {
        }
        part wrecker_Container9
        {
        }
        part wrecker_Container10
        {
        }
        part wrecker_Container11
        {
        }
        part wrecker_Container12
        {
        }
        part wrecker_Container13
        {
        }
        part wrecker_Container14
        {
        }
        part wrecker_Container15
        {
        }
        part wrecker_Container16
        {
        }
        part wrecker_Container17
        {
        }
        part wrecker_Container18
        {
        }
        part wrecker_Container19
        {
        }
        part wrecker_Container20
        {
        }
        
        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,
            }
        }
    }
}