Manual:DIL Manual/setweight()

From DikuMUD Wiki
< Manual:DIL Manual
Revision as of 13:08, 27 May 2020 by Nove (talk | contribs) (XML import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


setweight( u : unitptr, i : integer )
   u : the unit on which you wish to alter the weight.
   i : the new weight
   This is needed on for example drink-containers. I.e. if you wish to
   remove or add some liquid, you must also adjust the weight of the
   container, or you will mess up things.
---~---~---~---~---~---~---~---~---