Menu
Contents

Globals

$globals:description$

Constants

LUA_VERSION ≥ 0.1
Lua version and copyright, e.g. "Lua 5.3.3 Copyright (C) 1994-2016 Lua.org, PUC-Rio"
VERSION ≥ 0.1
Traintastic version, e.g. "0.1.0-master-380-e669a73b"
VERSION_MAJOR ≥ 0.1
Traintastic major version, e.g. 0
VERSION_MINOR ≥ 0.1
Traintastic minor version, e.g. 1
VERSION_PATCH ≥ 0.1
Traintastic patch level, e.g. 0

Libraries

class ≥ 0.1
Class library
enum ≥ 0.1
Enum library
log ≥ 0.1
Log library
math ≥ 0.1 Lua
Math library
set ≥ 0.1
Set library
string ≥ 0.1 Lua
String library
table ≥ 0.1 Lua
Table library

Objects

pv ≥ 0.3
The persistent variable table.
world ≥ 0.1
The global World object.

Functions

assert ≥ 0.1 Lua

assert()

$globals.assert:description$

ipairs ≥ 0.1 Lua

ipairs()

$globals.ipairs:description$

next ≥ 0.1 Lua

next()

$globals.next:description$

pairs ≥ 0.1 Lua

pairs()

$globals.pairs:description$

tonumber ≥ 0.1 Lua

tonumber()

$globals.tonumber:description$

tostring ≥ 0.1 Lua

tostring()

$globals.tostring:description$

type ≥ 0.1

type()

$globals.type:description$