module Base { template vehicle Supra_TrunkDoor { template = TrunkDoor, part TrunkDoor { itemType = Base.TrunkDoor, anim Close { anim = Trunk_closing, rate = 0.8, } anim Open { sound = VehicleTrunkOpenSportsCar, anim = Trunk_closing, reverse = TRUE, rate = 0.4, } anim Closed { sound = VehicleTrunkCloseSportsCar, anim = Trunk_closing, reverse = TRUE, animate = FALSE, } anim Opened { anim = Trunk_closing, animate = FALSE, } anim Lock { sound = LockVehicleDoorSportsCar, anim = Trunk_closing, animate = FALSE, } anim Unlock { sound = UnlockVehicleDoorSportsCar, anim = Trunk_closing, animate = FALSE, } anim IsLocked { sound = VehicleDoorIsLockedSportsCar, anim = Trunk_closing, animate = FALSE, } table install { items { 1 { type = Base.Wrench, count = 1, keep = true, equip = primary, } } time = 300, skills = Mechanics:3, recipes = Basic Mechanics, test = Vehicles.InstallTest.Default, complete = Vehicles.InstallComplete.Door, } table uninstall { items { 1 { type = Base.Wrench, count = 1, keep = true, equip = primary, } } time = 300, skills = Mechanics:3, recipes = Basic Mechanics, test = Vehicles.UninstallTest.Default, complete = Vehicles.UninstallComplete.Door, } lua { create = Vehicles.Create.Default, init = Vehicles.Init.Door, update = Vehicles.Update.TrunkDoor, use = Vehicles.Use.TrunkDoor, } } } }