A
          / \      _             Play Now                         Nemesis on fb
          | |     | |  _______   _        _   _______    _______   _    _______
          | |\    | | |   ____| |  \    /  | |   ____|  /   ____| | |  /   ____|
 /-------/-------------------------------------------------------------------,
O= Home <=XX|  About  News  Pics  Adventurers  Wizards  Download  Connect     >
 \-------\-------------------------------------------------------------------'
          | |   \   | |  |____  | |      | | |  |____   ___ \  \  | |  ___ \  \
          | |     \_| |_______| |_|      |_| |_______| |_______/  |_| |_______/
          \ /
           V  

Documentation Area

Document Path: /doc/player/compute_values


Name: compute_values - recursively compute the value of all items in player

Syntax:
	int compute_values(object player)

Description:
	The compute_values function recursively computes the value of all
	items a player is carrying. This call is mainly used by the save
	command.

Return value:
	The value of all items a player is carrying, added up.

Examples:
	int value;
	value=this_player()->compute_values(this_player());
	
See also:


This page was generated in LPC

Imprint / Impressum