module Base { model 87toyotaMR2Headlights { mesh = vehicles/Vehicles_87toyotaMR2_Body|mr2_lights, shader = vehicle, static = FALSE, scale = 0.1, boneWeight = headlights_bone 1.0, } template vehicle MR2PopupLights { part MR2PopupLights { model lights57984 { file = 87toyotaMR2Headlights, } anim Close { anim = lights_opening, reverse = TRUE, rate = 1.00, } anim Open { anim = lights_opening, rate = 1.00, } anim Closed { anim = lights_opening, animate = FALSE, } anim Opened { anim = lights_opening, reverse = TRUE, animate = FALSE, } category = lights, door { } anim Open { sound = VehicleWindowElectricOpen, } anim Close { sound = VehicleWindowElectricClose, } itemType = Base.87toyotaMR2PopupLights, area = Front, mechanicRequireKey = true, repairMechanic = true, table install { items { 1 { type = Base.Wrench, count = 1, keep = true, equip = primary, } } time = 700, skills = Mechanics:2, recipes = Intermediate Mechanics, test = KI5.InstallTest.Default, complete = Vehicles.InstallComplete.Door, } table uninstall { items { 1 { type = Base.Wrench, count = 1, keep = true, equip = primary, } } time = 700, skills = Mechanics:2, recipes = Intermediate Mechanics, test = KI5.UninstallTest.Default, complete = Vehicles.UninstallComplete.Door, requireUninstalled = HeadlightLeft;HeadlightRight, } lua { create = Vehicles.Create.Default, init = Vehicles.Init.Door, update = Vehicles.Update.EngineDoor, use = Vehicles.Use.EngineDoor, } } } }