This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
script:module:defs [2019-11-17 17:53] skyjake [Defs (Module)] |
script:module:defs [2019-11-17 17:56] skyjake [Constants] |
||
---|---|---|---|
Line 47: | Line 47: | ||
- | The ''order'' variable contains a regular array where the definitions are stored in the order they were read from the [[ded]] files. The order is meaningful because generally later definitions override earlier ones. The indices in this list are also available in the definition records as ''__order__''. | + | The ''order'' variable contains a regular array where the definitions are stored in the order they were read from the [[:DED]] files. The order is meaningful because generally later definitions override earlier ones. The indices in this list are also available in the definition records as ''<nowiki>__order__</nowiki>''. |
Line 60: | Line 60: | ||
- | The ''Defs.SN_*'' constants are used as indices in the ''states'' array of thing definitions. | + | The ''Defs.SN_*'' constants are used as indices in the ''states'' array of [[ded:thing|Thing definitions]]. |
- | The ''Defs.SDN_*'' constants are used as indices in the ''sounds'' array of thing definitions. | + | The ''Defs.SDN_*'' constants are used as indices in the ''sounds'' array of [[ded:thing|Thing definitions]]. |