User Tools

Site Tools


script:module:world

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:world [2020-01-18 07:42]
skyjake
script:module:world [2020-01-18 07:44] (current)
skyjake
Line 49: Line 49:
  #​@Arg_HTML~Number,​doSet~@#​ )  #​@Arg_HTML~Number,​doSet~@#​ )
  
-Changes thing flags. Each thing has three 32-bit integers for storing flags: //index// is 1, 2 or 3, for flags, flags2 and flags3. //flags// is a bitmask specifying which flags are being changed. If //doSet// evaluates to True, the flags will be set. Otherwise they will be unset.+Changes thing flags. Each thing has three 32-bit integers for storing flags: //index// is 1, 2 or 3, for ''​flags''​''​flags2'' ​and ''​flags3''​. //flags// is a bitmask specifying which flags are being changed. If //doSet// evaluates to True, the flags will be set. Otherwise they will be unset.
  
-#​@Identifier_HTML~flags~@#​ ( 
- #​@Arg_HTML~Number,​index~@#​ ) 
- 
-Returns thing flags. Each thing has three 32-bit integers for storing flags: //index// is 1, 2 or 3, for flags, flags2 and flags3. 
  
 #​@Identifier_HTML~dropItem~@#​ (  #​@Identifier_HTML~dropItem~@#​ ( 
Line 72: Line 68:
   ​   ​
 Returns the dropped thing as a World.Thing,​ or None. Returns the dropped thing as a World.Thing,​ or None.
 +
 +
 +#​@Identifier_HTML~flags~@#​ (
 + #​@Arg_HTML~Number,​index~@#​ )
 +
 +Returns thing flags. Each thing has three 32-bit integers for storing flags: //index// is 1, 2 or 3, for ''​flags'',​ ''​flags2''​ and ''​flags3''​.
  
  
script/module/world.1579326167.txt.gz ยท Last modified: 2020-01-18 07:42 by skyjake