/*********************************************
**  Apfel									**
*********************************************/
INSTANCE Apple(C_Item)
{	
	name =			"Jablko";
	
	mainflag =		ITEM_VZ;
	flags =			ITEM_THROW;	

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

	nutrition =		1;

	visual =		"apple.3ds"; 
	material =		MAT_LEATHER;
};

/*********************************************
**  Brotleib								**
*********************************************/
INSTANCE Loaf(C_Item)
{	
	name =			"Bochenek Chleba";

	mainflag =		ITEM_VZ;
	flags =			ITEM_SB;	

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

	nutrition =		1;

	visual =		"bread.3ds";
	material =		MAT_LEATHER;
};

/*********************************************
**  Hammelkeule								**
*********************************************/
INSTANCE Mutton (C_Item)
{	
	name =			"Barani Udziec";

	mainflag =		ITEM_VZ;
	flags =			0;	

	hp =			1;
	hp_max =		1;
	weight =		3;
	value =			1;

	nutrition =		2;

	visual =		"leg_of_mutton.3ds";
	material =		MAT_LEATHER;
};

/*********************************************
**  Kase									**
*********************************************/
INSTANCE Cheese(C_Item)
{	
	name =			"Ser";

	mainflag =		ITEM_VZ;
	flags =			0;	

	hp =			1;
	hp_max =		1;
	weight =		3;
	value =			1;

	nutrition =		2;

	visual =		"cheese.3ds";
	material =		MAT_LEATHER;
};

/********************************************
**  Allohol 							   **
********************************************/
INSTANCE Beer(C_Item)
{
	name =				"Piwo";
	hp =				1;
	hp_max =			1;
	mainflag =			ITEM_VZ;
	flags =				ITEM_DRINK;
	weight =			1;
	value =				10;	
	material =			MAT_GLAS;

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

FUNC VOID UseBeer()
{
	Npc_SetToDrunk (self,20);		// 20 Sekunden betrunken
};

/*********************************************
**  Wein									**
*********************************************/
INSTANCE Wine(C_Item)
{	
	name =			"Wino";

	mainflag =		ITEM_VZ;
	
	flags =			ITEM_DRINK;	

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

	nutrition =		1;
	
	on_use =		UseWine;

	visual =		"winepipe.3ds";
	material =		MAT_LEATHER;
};
func void UseWine()
{
	Npc_SetToDrunk	(self,	30);
};

/********************************************
**  Wahnsinn in Flaschen			       **
********************************************/
INSTANCE MadBull(C_Item)
{
	name =				"Szalony Byk";
	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 =			"drug.3ds";
	on_use =			UseMadBull;
};

FUNC VOID UseMadBull()
{
	Npc_SetToMad (self,30);		// 30 Sekunden betrunken
};

/*********************************************
**  Honigpilz								**
*********************************************/
INSTANCE HoneyMushroom(C_Item)
{	
	name =			"Grzyb Miodowy";

	mainflag =		ITEM_VZ;
	flags =			0;	

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

	nutrition =		5;

	visual =		"mushroom.3ds";
	material =		MAT_LEATHER;
};

/*********************************************
**  Stinkmorchel							**
*********************************************/
INSTANCE StinkMushroom(C_Item)
{	
	name =			"Smierdzacy Grzyb";

	mainflag =		ITEM_VZ;
	flags =			0;	

	hp =			1;
	hp_max =		1;
	weight =		1;
	value =			1;

	nutrition =		-5;

	visual =		"mushroom.3ds";
	material =		MAT_LEATHER;
};

/*********************************************
**  Teufelspilz								**
*********************************************/
INSTANCE DevilMushroom(C_Item)
{	
	name =			"Diabelski Grzyb";

	mainflag =		ITEM_VZ;
	flags =			0;	

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

	nutrition =		-15;

	visual =		"apple.3ds";
	material =		MAT_LEATHER;
};











