A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/object/query_weight
Lfun: query_weight - get the weight of an object
Synopsis:
int query_weight()
Description:
The query_weight call gets the weight from an object. It is auto-
matically called by the transfer efun.
Classification:
0 - (almost) no weight
1 - light
2 - normal
3-5 - heavy
6-9 - very heavy
Living objects have weight 6. Note that objects only have a weight,
no size.
Return value:
An integer stating the weigth of the object.
Examples:
query_weight() { return 2; }
See also:
This page was generated in LPC
Imprint / Impressum