Avorion Script API Documentation

BlockPlanBlock

function BlockPlanBlock()

This is the default constructor of BlockPlanBlock. No further arguments are required.

Returns

A new instance of BlockPlanBlock

property int blockIndex
property Box box
property Color color
property double costFactor[read-only]
property double density[read-only]
property double durability
property double durabilityFactor[read-only]
property double harvestFactor[read-only]
property bool hasAO[read-only]
property int index[read-only]
property double maintenance[read-only]
property Material material
property double maxDurability
property double moneyCostFactor[read-only]
property int numChildren[read-only]
property Matrix orientation
property var parent[read-only]
property double processingPower[read-only]
property double resourceCostFactor[read-only]
property double staticMoneyCostFactor[read-only]
property double surfaceCostFactor[read-only]
property bool valid[read-only]
property double volumeCostFactor[read-only]
property double volumeFactor[read-only]

function int... getChildren()

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: 1.0 r22021 59065310fc1a