Return value#

Type Meaning
none (MD action) Types describe the declared interface, not proof of a successful game effect.

Types and methods

XML attributes#

How schema types work

libraries/common.xsd

Attribute Schema type Required Default / fixed
free booleanexpression no not declared
size expression no not declared
storage booleanexpression no not declared
building booleanexpression no not declared
trading booleanexpression no not declared
allowplayeronly booleanexpression no not declared
walkable booleanexpression no not declared
locked booleanexpression no not declared
hidden booleanexpression no not declared
showroom booleanexpression no not declared
ventureronly booleanexpression no not declared
ventureplatform expression no not declared
condition expression no not declared
negate boolean no not declared
comment comment no not declared

An MD action can write to a named variable or change the world. This is not a Lua return value. The output variable depends on the action and its attributes.

Example and context#

See language basics, types and methods and Lua / MD events. Examples there are independent learning examples. No project source files or private implementation fragments are distributed with this reference.