+ Could Anyone Fix this 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
29
30
31
32
33
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
### Turtle Shell id=151 name=Turtle Shell group=stuff icon=gfx\turtleshell.bmp model=gfx\turtleshell.b3d mat=fruit scale=1 weight=250 info=Mabye theres some meat still in here script=start 	on:use { 		process "searching",1500; 		local $r; 		local $id; 		$r=random(1,3); 		if (random(10)==1){ 			speech "negative",1,2; 			play "mat_wood1.wav"; 			msg "The shell is broken!",3; 			freestored "unit",1,107,1;		 				play "mat_leaf1.wav"; 				speech "positive"; 				msg "Meat Fillet!",4; 				$id=create("item",99); 				store $id,"unit",1; 			else{ 				play "mat_leaf1.wav"; 				msg "I found nothing!",3; 			}	 		} 	} script=end
Beta unfinished map + unfinished units Link Coming in 3 days
edited 1×, last 22.08.10 10:22:01 am