Reads a package document: the MWL tags package, asset, character, animation,
sound_effect, music, script and import, into plain typed data. Macros and
#includes are expanded first, as for any MWL file. Nothing is executed: a script's when is
only checked for syntax and its do only for membership of the safe vocabulary.
character is a macro, not a compiled type of its own: it stays one record here and expands
into a unit_type (plus the animations, effects and scripts it names) when merged. A new
compiled table would need its own schema, validator and loader beside the one unit_type
already has; the macro reuses all of them, and the fields only a renderer or a player of
sound reads (portrait, sprite, theme) have no consumer in the rules core anyway.
Reads a package document: the MWL tags
package,asset,character,animation,sound_effect,music,scriptandimport, into plain typed data. Macros and#includes are expanded first, as for any MWL file. Nothing is executed: a script'swhenis only checked for syntax and itsdoonly for membership of the safe vocabulary.characteris a macro, not a compiled type of its own: it stays one record here and expands into aunit_type(plus the animations, effects and scripts it names) when merged. A new compiled table would need its own schema, validator and loader beside the oneunit_typealready has; the macro reuses all of them, and the fields only a renderer or a player of sound reads (portrait, sprite, theme) have no consumer in the rules core anyway.