User Tools

Site Tools


script:module:defs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
script:module:defs [2019-11-17 17:55]
skyjake [Order]
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]].
  
  
  
  
script/module/defs.txt ยท Last modified: 2019-11-17 17:56 by skyjake