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
on:drop {
		ai_behavioursignal "eat","raptor",1450;
		ai_behavioursignal "eat","killerbird",2500;
		setrot "item",currentid(),"self",random(360),"self";
		//Cooking
		$i=currentid();
		rpos "item", $i,0,20,0;
		if (count_inrange("object",256,50,"item",$i) > 0){
			if ($difficulty>=3){
				extendscript "item",currentid(),"sys/scripts/cooking_scripts_hard.s2s";
				$mct=$mct*5;
				$rU=$rU*5;
				$rL=$rL*5;
			}elseif ($difficulty==2){
				extendscript "item",currentid(),"sys/scripts/cooking_scripts_medium.s2s";
				$mct=$mct*2.5;
				$rU=$rU*2.5;
				$rL=$rL*2.5;
			}else{
				extendscript "item",currentid(),"sys/scripts/cooking_scripts.s2s";
			}
			timer "self",5000,1,"cookmeat";
		}
		freevar $i;
	}
1
timer "self",5000,1,"cookmeat";