1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
id=9
name=meat
icon=gfx\meat.bmp
group=food,std
model=gfx\meat.b3d
scale=0.15
mat=flesh
weight=500
info=blabla
behaviour=throw ammo:450
param=pan_skill,Wert
damage=0
speed=15
drag=1.8
rate=3000
script=start
on:start
	{
	if (parent_class("self")==0)
		{
		local $id,$x,$z;
		$x=getx("self");
		$z=getz("self");
		$id=create("item",10,$x,$z);
		event "create","item",$id;
		free "self";
		}
	}
on:drop
	{
	ai_behavioursignal "eat","raptor",300;
	if ((count_inrange("state",5,50)+count_inrange("state",4,50))>0)
		{
		timer 0,3000,1,"frying";
		}
	}
on:frying
	{
	create "item",10;
	freestored "unit",1,131,1;
	ai_signal "attract",1000;
	fry;
	event "iskill_cook","global";
	skipevent;
	}