Avorion Script API Documentation

CraftDesign

function CraftDesign()

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

Returns

A new instance of CraftDesign

property bool empty[read-only]
property static Box getCoaxialTurretDesignBoundingBox(float numTurrets[read-only]

function BlockPlan getMovePlan()

function TurretDesign getMoveTurret(int i)

function BlockPlan getPlan()

function TurretDesign getTurret(int i)

function int... getTurrets()

function var setMovePlan(BlockPlan plan)

Returns

nothing

function var setMoveTurret(int i, TurretDesign turret)

Returns

nothing

function var setPlan(BlockPlan plan)

Returns

nothing

function var setTurret(int i, TurretDesign [or nil] turret)

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