module Base
{
	
	model 69chargerspoilerD
	{
		mesh = vehicles/Vehicles_69charger_Body|daytona_wing,
		shader = damn_vehicle_shader,
		scale = 0.1,
	}

    template vehicle CHR69SpoilerD
        {
        part DAMNSpoiler
            {

            model spoiler0
            {
                    file = 69chargerspoilerD,
            }

            category = bodywork,
            area = TruckBed,
            itemType = Base.69chargerDaytonaSpoiler,
            mechanicRequireKey = false,

            table install
            {
                items
                {
                    item
                    {
                        type = Base.Wrench,
                        count = 1,
                        keep = true,
                        equip = primary,
                    }
                }
                time = 1000,
                skills = Mechanics:4,
                recipes = Advanced Mechanics,
                requireInstalled = TrunkDoor,
                test = Vehicles.InstallTest.Default,
                complete = Vehicles.InstallComplete.Default,
                
            }
            table uninstall
            {
                items
                {
                    item
                    {
                        type = Base.Wrench,
                        count = 1,
                        keep = true,
                        equip = primary,
                    }
                }
                time = 1000,
                skills = Mechanics:4,
                recipes = Advanced Mechanics,
                test = Vehicles.UninstallTest.Default,
                complete = Vehicles.UninstallComplete.Default,
            }
            lua
            {
                create = Vehicles.Create.Default,
            }
        }
    }

    template vehicle CHR69SpoilerH
        {
        part DAMNSpoiler
            {

            model spoiler0
            {
                    file = 69chargerspoilerD,
            }

            category = bodywork,
            area = TruckBed,
            itemType = Base.69chargerDaytonaSpoiler,
            mechanicRequireKey = false,

            table install
            {
                items
                {
                    item
                    {
                        type = Base.Wrench,
                        count = 1,
                        keep = true,
                        equip = primary,
                    }
                }
                time = 1000,
                skills = Mechanics:4,
                recipes = Advanced Mechanics,
                requireInstalled = TrunkDoor,
                test = Vehicles.InstallTest.Default,
                complete = Vehicles.InstallComplete.Default,
                
            }
            table uninstall
            {
                items
                {
                    item
                    {
                        type = Base.Wrench,
                        count = 1,
                        keep = true,
                        equip = primary,
                    }
                }
                time = 1000,
                skills = Mechanics:4,
                recipes = Advanced Mechanics,
                test = Vehicles.UninstallTest.Default,
                complete = Vehicles.UninstallComplete.Default,
            }
            lua
            {
                create = DAMN.Create.Blank,
            }
        }
    }
}