VE / powertrain
powertrainfunction beamBroke(id)function breakDevice(device)function calculateTreeInertia()function dumpsDeviceData(device)function getAllWheelPropulsionDevices()function getChildWheels(parentDevice, outputID)function getDevice(name)function getDevices()function getDevicesByCategory(category)function getDevicesByType(deviceType)function getEngineSoundID()function getHydraulicConsumer(consumerName)function getOrderedDevices()function getPartCondition(partTypeData)function getPoweredWheelNames()function getPropulsionDeviceForDevice(device)function getPropulsionDeviceForWheel(wheelName)function nop()function getStateEvents()function init()function initSounds()function isPhysicsStepUsed()function onCouplerAttached(nodeId, obj2id, obj2nodeId, attachSpeed, attachEnergy)function onCouplerDetached(nodeId, obj2id, obj2nodeId, breakForce)function onCouplerFound(nodeId, obj2id, obj2nodeId, nodeDist)function nop()function reset()function resetSounds()function sendDeviceTree()function sendTorqueData()function serializeDevicesInfo()function setDeviceMode(name, mode)function setPartCondition(partTypeData, odometer, integrity, visual)function nop()function setVehiclePath(path)function toggleDefaultDiffs()function toggleDeviceMode(name)function nop()function update(dt)function updateGFX(dt)function updateGFXLastStage(dt)function updateSimpleControlButtons()