Enigma value types
Aus EnigmaWiki
But first we need to introduce you to the special Enigma value types besides the standard
Lua types nil, boolean, string, function and table. Please note the three handles no, ti and wo.
Inhaltsverzeichnis |
position
A position within the world that can be described by an x and y coordinate.
object
An Enimga object like a stone, item, floor, other. Any object is a position, too.
group
A list of objects.
namedobjects
preset variable: no
The singleton type of the repository of all named objects.
default
default: preset variable: DEFAULT
The singleton type of default values that can be used instead of
Lua’s nil in anonymous table tile definitions.
tile
A description of one or several objects for a common grid position (floor, item, stone, actor)
tiles
preset variable: ti
The singleton type of the repository of all tile instances.
world
preset variable: wo
The singleton type of the world that contains all objects.
positon list
A list of positions.

