Difference between revisions of "Manual:DIL Manual/islight()"

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import)
 
Line 1: Line 1:
 +
<span id="bfislight"></span>
  
 +
'''Function:  '''<i><!--CODE-->integer islight ( u : unitptr )</i><!--ENDCODE-->
  
 +
<!--TERM-->  '''u'''
 +
<!--DEFINITION-->        Unit that you are checking
 +
<!--TERM-->  '''returns'''
 +
<!--DEFINITION-->        ''TRUE' if item is a light, 'FALSE' if it is notway to small', 'to small', 'way to large', 'to large', or null if fits
 +
 +
Simply checks the item to see if it is a light.
 
<span id="bfislight"></span>
 
<span id="bfislight"></span>
  

Latest revision as of 22:34, 4 December 2025

Function:  integer islight ( u : unitptr )
  u
         Unit that you are checking
  returns
         TRUE' if item is a light, 'FALSE' if it is notway to small', 'to small', 'way to large', 'to large', or null if fits
Simply checks the item to see if it is a light.

Function:  integer islight ( u : unitptr )
  u
         Unit that you are checking
  returns
         TRUE' if item is a light, 'FALSE' if it is notway to small', 'to small', 'way to large', 'to large', or null if fits
Simply checks the item to see if it is a light.