VoidExpanse/scope-station

From AtomicTorchWiki
Revision as of 10:27, 18 February 2014 by Damonwall (talk | contribs)


Scope station

Useful during store generation process.

Visibility: Global.

List of functions

AddItem
Arguments Returns Example
  • int: base_id
  • string: item_type
  • (optional) int: quantity

void

station.AddItem(12, "SomeItemToSell", 10);
Description

Adds item to station's store.


GetBaseByID
Arguments Returns Example
  • int: base_id

object:

  • string: faction
  • int: tech_level
  • string: name
  • double: coord_x
  • double: coord_y
station.GetBaseByID(131);
Description

Returns info about base.