module Base { model W460LWBrearwindshield { mesh = vehicles/Vehicles_84mercLWB_Body|w460_lwb_windshield_rear, shader = vehicle, static = FALSE, scale = 0.1, boneWeight = trunk_bone 1.0, } template vehicle W460LWBRearWindshield { part WindshieldRear { model windshieldRear { file = W460LWBrearwindshield, } parent = TrunkDoor, anim Close { anim = trunk_closing, rate = 1.5, } anim Open { anim = trunk_closing, reverse = TRUE, rate = 2.0, } anim Closed { anim = trunk_closing, reverse = TRUE, animate = FALSE, } anim Opened { anim = trunk_closing, animate = FALSE, } window { openable = false, } table uninstall { requireUninstalled = W460LWBWindshieldRearArmor, } itemType = Base.W460RearWindshield, area = TruckBed, category = bodywork, mechanicRequireKey = false, table install { items { 1 { type = Base.Screwdriver, count = 1, keep = true, equip = primary, } } time = 700, skills = Mechanics:5, recipes = Intermediate Mechanics, test = Vehicles.InstallTest.Default, complete = Vehicles.InstallComplete.Window, } table uninstall { items { 1 { type = Base.Screwdriver, count = 1, keep = true, equip = primary, } } time = 700, skills = Mechanics:5, recipes = Intermediate Mechanics, test = Vehicles.UninstallTest.Default, } lua { create = Vehicles.Create.Default, } } } }