### Beer
id=xx
name=Beer
group=potion
icon=gfx\beer.bmp
model=gfx\beer.b3d
scale=0.65
mat=glass
weight=500
info=brewing wheat with hops. drink in moderation.
script=start
	on:eat {
		process "drinking",2000;
		drink 1,0,30,0;
		$s2g_alc+=40;
		if ($s2g_alc>=100){
			addstate "unit",1,"fuddle";
			if ($s2g_alc>=200){
				$s2g_alc=50;
				process "vomiting",1000;
				consume -10,-5,-5,0;
				freestate "unit",1,"fuddle";
				play "vomit.wav";
				vomit 1;
			}
		}
	}
script=end

### Beer(bottlecap ver)
id=xx
name=Beer
group=potion
icon=gfx\bottlecapbeer.bmp
model=gfx\bottlecapbeer.b3d
scale=0.65
mat=glass
weight=500
info=brewing wheat with hops. drink in moderation.
script=start
	on:eat {
		process "drinking",2000;
		drink 1,0,30,0;
		$s2g_alc+=40;
		if ($s2g_alc>=100){
			addstate "unit",1,"fuddle";
			if ($s2g_alc>=200){
				$s2g_alc=50;
				process "vomiting",1000;
				consume -10,-5,-5,0;
				freestate "unit",1,"fuddle";
				play "vomit.wav";
				vomit 1;
			}
		}
	}
script=end