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

From DikuMUD Wiki
Jump to navigation Jump to search
 
Line 8: Line 8:
 
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).
 +
 +
 +
See also:
 +
  [[Manual:DIL_Manual/set_weight_base|set_weight_base()]]

Latest revision as of 21:51, 9 December 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).


See also:

 set_weight_base()