Avorion Script API Documentation

CraftStatsOverview

function CraftStatsOverview(Entity [or nil] entity)

Returns

A new instance of CraftStatsOverview

property bool includeCrew
property bool includeEnergy
property bool includeUpgrades

function float getEfficiency(CraftStatsOverview::Stat stat)

function string getUnit(CraftStatsOverview::Stat stat)

function var getValue(CraftStatsOverview::Stat key)

function bool isBadValue(CraftStatsOverview::Stat stat)

function bool isDangerousValue(CraftStatsOverview::Stat stat)

function bool isRelevant(CraftStatsOverview::Stat stat)

function var setIncludeImpact(bool crew, bool energy, bool upgrades)

Returns

nothing

function var update(Entity entity)

Returns

nothing

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