I can search it perfectly fine it's just the leg doesn't dissapear after searching here's the code:
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
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
### Lion Leg id=122 name=Lion Leg group=food icon=gfx\lionleg.bmp weight=300 info=a massive lion leg script=start 	on:use { 		process "searching",1500; 		local $id; 		if (random(3)==1){ 			play "mat_leaf1.wav"; 			speech "positive"; 			msg "Small Meat!",4; 			$id=create("item",11); 			store $id,"unit",1; 		}else{ 			play "mat_leaf1.wav"; 			speech "positive"; 			msg "Meat!",4; 			$id=create("item",9); 			store $id,"unit",0; 		} 		freestored "unit",1,102,1; 	} script=end