Difference between revisions of "Manual:DIL Manual/set weight"

From DikuMUD Wiki
Jump to navigation Jump to search
(Created page with "= set_weight( u : unitptr, i : integer ) = ''' Parameters ''' u : the unit on which you wish to alter the weight. i : the new weight ''' Description ''' Use this procedu...")
 
Line 1: Line 1:
= set_weight( u : unitptr, i : integer ) =
+
= set_weight( u : unitptr, lbs : integer ) =
  
 
''' Parameters '''
 
''' Parameters '''
 
   u : the unit on which you wish to alter the weight.
 
   u : the unit on which you wish to alter the weight.
   i : the new weight
+
   lbs : the new weight in pounds (½ kg)
  
 
''' Description '''
 
''' Description '''
 
Use this procedure on a unit to change it's weight (not the base
 
Use this procedure on a unit to change it's weight (not the base
 
weight).
 
weight).

Revision as of 20:46, 29 November 2020

set_weight( u : unitptr, lbs : integer )

Parameters

 u : the unit on which you wish to alter the weight.
 lbs : the new weight in pounds (½ kg)

Description Use this procedure on a unit to change it's weight (not the base weight).