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

Documentation Area

Document Path: /doc/player/eat_food


Name: eat_food - make a player eat some food

Syntax:
	int eat_food(int stuff)

Description:
	The eat_food call makes a player eat some food. Depending on the
	level, a player is not able to eat any more food if he is too stuffed.

	This call is mainly used in obj/food.

Return value:
	1, if successful, 0 if not.


Examples:
	this_player()->eat_food(10);
	
See also:


This page was generated in LPC

Imprint / Impressum