Spoiler ### Egg Nog
id=157
name=Egg Nog
group=potion
color=232,232,232
icon=gfx\airpotion.bmp
model=gfx\airpotion.b3d
scale=0.28
mat=glass
weight=100
info=MMMM the taste of christmas!
script=start
on:eat {
process "drinking",1000;
drink 31,31,31,31;
addstate "unit",1,"tame";
find 106;
}
script=end
### Mistle Toe
id=156
name=Mistle Toe
group=material
icon=gfx\leaf.bmp
model=gfx\leaf.b3d
weaponstate=18
fx=16
behaviour=ammo:59,ammo:60,ammo:61,throw
scale=0.6
mat=leaf
weight=31
damage=0
info=Merry Christmas!!!
script=start
//Eat
on:impact {
$impact_class=impact_class();
$impact_id=impact_id();
if (compare_material($impact_class,$impact_id,"flesh")==1){
addstate $impact_class,$impact_id,"tame";
}
}
on:eat {
process "eating",100;
eat 0,0,0,0;
addstate "unit",1,"tame";
}
script=end