NAME
	complex_drink.c - multiple drink object

INHERITS
	/std/simple_drink.c	see simple_drink.doc for further details

SETUP FUNCTIONS
	set_sp_heal
	set_hp_heal
	set_full
	set_max_full
QUERY_FUNCTIONS
	query_sp_heal
	query_hp_heal
	query_full
	query_max_full
	query_full_string

REMOTE FUNCTIONS
	

SPECIAL PROPERTIES
	_show_full_message Will if true tell the player how much there is
			   left in the drink after he has drunk from it.

NOTA BENE
	Anything that uses this file has to be approved by the admin.

	Note that if you use set_heal() from simple_drink.c
	then it will heal that amount of spell and hit points 
	AND heal the spell points and hit points you set with set_sp_heal() 
	and set_hp_heal() every time you drink from it.
	
	
==========================================================================
NAME
	set_sp_heal - set how many spell points the drink shall heal.

SYNTAX
	void set_sp_heal(mixed sp_heal)

DESCRIPTION
	This function sets how many spell points the player will get 
	for every time he drinks from it.
	The value can also be negative. The value is sent to eval() when 
	the player drinks the drink.

==========================================================================
NAME
	set_hp_heal - set how many hit points the drink shall heal.

SYNTAX
	void set_hp_heal(mixed hp_heal)

DESCRIPTION
	This function sets how many hit points the player will get
	for every time he drinks from it.
	The value can also be negative. The value is sent to eval() when 
	the player drinks the drink.

==========================================================================
NAME
	set_full - set how many sips the player will get from this drink

SYNTAX
	void set_full(int full);

DESCRIPTION
	This function will define how many times you drink from it.
	If you try to put more into the drink then is possible,
	it expands so it can contain the new amount.
	Note that for EVERY SINGLE sip you will:

	* heal set_heal() hp and sp.
	* heal set_heal_sp() sp.
	* heal set_heal_hp() hp.
	* become set_strength() intoxicated.
	* become set_soak() soaked.

==========================================================================
NAME
	set_max_full - set how the drink can be filled.

SYNTAX
	void set_max_full(int max_full);

DESCRIPTION
	This function will define how full the drink can be.
	Also if it shrinks so much it can not contain the 
	current amount of sips, then how many times you can
	drink from it will be lowered to how full the drink can be.

==========================================================================

Help topics available:
complex_drink.doc complex_food.doc simple_food.doc simple_drink.doc smorgasbord.doc

[START|BACK ]




[ NannyMuds main page | FAQ | Contact us ]

You are guest number 89 since December 2019.
This file was last modified: June 2000.