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
wares ware no not declared
unbundle booleanexpression no not declared
bundle booleanexpression no not declared
chance expression no not declared
weight expression no not declared
comment comment no not declared
result lvaluename yes not declared
multiple findmultiple no not declared
tradepartner container no not declared
buyer container no not declared
seller container no not declared
space space no not declared
excludeempty boolean no not declared
excludemissions booleanexpression no not declared
usereservations boolean 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.