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

From DikuMUD Wiki
Jump to navigation Jump to search
(XML import)
 
(XML import of LLM wiki pages)
 
(4 intermediate revisions by the same user not shown)
(No difference)

Latest revision as of 10:44, 4 December 2025


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.
---~---~---~---~---~---~---~---~---