Avorion Script API Documentation

Captain

function Captain()

Returns

A new instance of Captain

property string displayName[read-only]
property int experience
property int experiencePercentage[read-only]
property int factionIndex
property int genderId
property int hiringPrice[read-only]
property int level
property string name
property string nickName
property int primaryClass
property int requiredLevelUpExperience
property int salary
property int secondaryClass
property int tier

function int... getPerks()

function bool hasClass(int captainClass)

function bool hasPerk(int perk)

function var setPerks()

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