module Base { model 70barracudahood0 { mesh = vehicles/Vehicles_70barracuda_Body|cuda_hood_stock, shader = vehicle, static = FALSE, scale = 0.1, } template vehicle CUDA0EngineDoor { part EngineDoor { model hood0 { file = 70barracudahood0, } anim Close { anim = hood_opening, reverse = TRUE, rate = 0.70, } anim Open { anim = hood_opening, rate = 1.25, } anim Closed { anim = hood_opening, animate = FALSE, } anim Opened { anim = hood_opening, reverse = TRUE, animate = FALSE, } category = bodywork, area = Engine, door { } anim Open { sound = VehicleHoodOpenStandard, } anim Close { sound = VehicleHoodCloseStandard, } anim ActorOpen { anim = WindowOpenSuccess, rate = 0.15, angle = 0.0 0.0 0.0, } anim ActorClose { anim = Attack_Shove, rate = 0.3, angle = 0.0 180.0 0.0, } specificItem = false, itemType = Base.CUDAEngineDoorStock, mechanicRequireKey = true, repairMechanic = true, table install { items { 1 { type = Base.Wrench, count = 1, keep = true, equip = primary, } } time = 1000, skills = Mechanics:2, recipes = Intermediate Mechanics, test = Vehicles.InstallTest.Default, complete = Vehicles.InstallComplete.Door, } table uninstall { items { 1 { type = Base.Wrench, count = 1, keep = true, equip = primary, } } time = 1000, skills = Mechanics:2, recipes = Intermediate Mechanics, test = Vehicles.UninstallTest.Default, complete = Vehicles.UninstallComplete.Door, } lua { create = Vehicles.Create.Default, init = Vehicles.Init.Door, update = Vehicles.Update.EngineDoor, use = Vehicles.Use.EngineDoor, } } } }