Avorion Script API Documentation

TradingGood

function TradingGood(string name, string plural, string description, string icon, float price, float size)

Returns

A new instance of TradingGood

property Color color[read-only]
property bool dangerous
property string description
property string displayDescription[read-only]
property string icon
property bool illegal
property string mesh
property string name
property string plural
property float price
property float size
property bool stolen
property bool suspicious
property string tagDescription[read-only]
property table_t tags

function bool __eq(TradingGood other)

function string __tostring()

function string displayName(int amount)

function PluralForm pluralForm(int amount)

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