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 var blockCategoryIndex[read-only]
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 int harvestableResources[read-only]
property double harvestFactor[read-only]
property bool hasAO[read-only]
property int index[read-only]
property double maintenance[read-only]
property float mass[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 Color secondaryColor
property double staticMoneyCostFactor[read-only]
property int structure[read-only]
property double surfaceCostFactor[read-only]
property bool valid[read-only]
property float volume[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: 2.5.7 c8e4beec84f7