Avorion Script API Documentation

PlanGenerator Script Predefined Functions

Tip: Scroll down for an example script!

function topLevelGenerate(seed, settings)

Generates a part from a plan part template.

Parameters

seed The seed that is to be used
settings The settings for the generation

Expected return values

The new generated part


PlanGenerator Example Script

-- Generates a part from a plan part template.
function topLevelGenerate(seed, settings)

end
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