/********************************************
**  Heiltrank                              **
********************************************/
INSTANCE HealingPotion(C_Item)
{
	name =				"Mikstura Lecznicza";
	hp =				1;
	hp_max =			1;
	mainflag =			ITEM_VZ;
	flags =				ITEM_DRINK;
	weight =			1;
	value =				10;	
	material =			MAT_GLAS;

	change_atr[0]=		ATR_HITPOINTS;
	change_value[0] =	5;

	visual =			"health.3ds";
};

/********************************************
**  Manatrank                              **
********************************************/
INSTANCE ManaPotion(C_Item)
{
	name =				"Mikstura Many";
	hp =				1;
	hp_max =			1;
	mainflag =			ITEM_VZ;
	flags =				ITEM_DRINK;
	weight =			1;
	value =				10;	
	material =			MAT_GLAS;

	change_atr[0]=		ATR_MANA;
	change_value[0] =	5;

	visual =			"mana.3ds";
};

/********************************************
**  PSI-Phiole      	                   **
********************************************/
INSTANCE PsiPotion (C_Item)
{	
	name =				"Fiolka Psionika";

	mainflag =			ITEM_VZ;
	flags =				ITEM_DRINK;
	

	hp =				1;
	hp_max =			1;
	weight =			1;
	value =				10;
	material =			MAT_GLAS;

	change_atr[0]=		ATR_MADNESS;
	change_value[0] =	5;

	visual =			"drug.3ds";
};

/********************************************
**  Heiliges Wasser                        **
********************************************/
INSTANCE HolyWater(C_Item)
{
	name =				"Woda Swiecona";
	hp =				1;
	hp_max =			1;
	mainflag =			ITEM_VZ;
	flags	=			ITEM_DRINK;
	weight =			1;
	value =				100;	
	material =			MAT_GLAS;

	change_atr[0]=		ATR_HITPOINTS;
	change_value[0] =	10;
	change_atr[1]=		ATR_MANA;
	change_value[1] =	10;
	change_atr[2]=		ATR_MADNESS;
	change_value[2] =	10;

	visual =			"mana.3ds";
};

/********************************************
**  Inferno Trank                          **
********************************************/
INSTANCE InfernoPotion(C_Item)
{
	name =				"Piekielna Mikstura";
	hp =				1;
	hp_max =			1;
	mainflag =			ITEM_VZ;
	flags	=			ITEM_DRINK;
	weight =			1;
	value =				10;	
	material =			MAT_GLAS;

	on_use =			OnUse_InfernoPotion;
	visual =			"health.3ds";
};

INSTANCE SprintingHorse (C_Item)
{	
	name =			"Galopujacy Kon";

	mainflag =		ITEM_VZ;
	
	flags =			ITEM_DRINK;	

	hp =			1;
	hp_max =		1;
	weight =		5;
	value =			2;

	nutrition =		1;
	
	on_use =		UseSprintingHorse;

	visual =		"winepipe.3ds";
	material =		MAT_LEATHER;
};
func void UseSprintingHorse()
{
	Mdl_ApplyOverlayMds (self,"HUMANS_SPRINT.mds");
};
func void OnUse_InfernoPotion()
{
	PrintDebug("Learn Spell");
	//Npc_LearnSpell		(PC_Hero,	SPL_FIREBALL);
};

