Avorion Script API Documentation

ReadOnlyEnergySystem

function ReadOnlyEnergySystem(var id)

Parameters

id The id of the entity, must be an index of an existing entity or nil for the entity in the current script context

Returns

A new instance of ReadOnlyEnergySystem

property double capacity[read-only]
property double consumableEnergy[read-only]
property double energy[read-only]
property Entity entity[read-only]
property uuid entityId[read-only]
property double productionRate[read-only]
property double rechargeRate[read-only]
property double requiredEnergy[read-only]
property double superflousEnergy[read-only]
Overview
Home Functions Search
Search:

This is the official documentation for the scripting API of Avorion. This documentation is automatically generated and not necessarily complete. Depending on the context in which functions exist, some documentation such as descriptions, return values or variable names or types may be missing.

Work in Progress. Documentation of Avorion Version: 2.5.7 c8e4beec84f7