A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Documentation Area
Document Path: /doc/object/query_value
Lfun: query_value - get the value of an object
Synopsis:
int query_value()
Description:
The query_value call gets the value from an object. Living objects
don't have any value (and cannot be sold therefore). Items with a
value of more than 2000 will be destructed when they are sold.
Return value:
The value of the object in gold coins using the old currency system,
else the value in copper coins.
Examples:
query_value() { return 8; }
See also:
This page was generated in LPC
Imprint / Impressum