begin: elements;
...
end: elements;
Every element card has the following format:
<card> ::= <elem_type> : <arglist>
[ , output , { yes | no } ] ;
where elem_type is one of the following:
In case of elements that can be instantiated only once, like the gravity or the air properties elements, the arglist doesn't contain any label; otherwise, a label is expected first, to allow for checks on duplicated elements, namely:
<arglist> ::= <label> , <normal_arglist>
The data manager reads the element type and the label and checks for
duplication. If the element is not defined yet, the proper read function is
called, which parses the rest of the card and constructs the element.
The elements are read as follows.