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
//Leaf
			}elseif ($item==15){
				if (skillvalue("plant")>=200){
					if ($y>0){
						if (freespace($x,$y,$z,15,1,0,0,0)){
							freestored "unit",1,15,1;
							$typ=random(30,44);
								if ($typ==43){
								$typ=45; }
								if ($typ==44){
								$typ=185; }		
							$id=create("object",$typ,$x,$z);
							$tmp=growtime($typ);
							$tmp=(-$tmp);
							$tmp++;
							spawntimer $id,$tmp;
							process "Busch pflanzen",2000;
							play "dig.wav";
							play "mat_leaf1.wav";
							event "iskill_plant","global";
						}else{
							speech "negative";
							msg "Hier ist nicht genug Platz!",3;
						}
					}else{
						speech "negative";
						msg "Im Wasser wächst das nicht!",3;
					}
				}else{
					speech "negative";
					msg "Das kann ich noch nicht machen!",3;
				}