Return value#
| Type | Meaning |
|---|---|
none (MD action) |
Types describe the declared interface, not proof of a successful game effect. |
XML attributes#
libraries/common.xsd
| Attribute | Schema type | Required | Default / fixed |
|---|---|---|---|
chance |
expression |
no | not declared |
weight |
expression |
no | not declared |
comment |
comment |
no | not declared |
exact |
expression |
no | not declared |
list |
expression |
no | not declared |
min |
expression |
no | not declared |
max |
expression |
no | not declared |
profile |
profilelookup |
no | not declared |
scale |
inline:drop_cargo@scale |
no | not declared |
seed |
fixedrandomseed |
no | not declared |
autoadvanceseed |
autoadvancerandomseed |
no | not declared |
object |
object |
yes | not declared |
ware |
dropware |
yes | not declared |
groupname |
lvalueexpression |
no | not declared |
wares |
lvalueexpression |
no | not declared |
amounts |
lvalueexpression |
no | not declared |
unbundle |
booleanexpression |
no | not declared |
bundle |
booleanexpression |
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.