%if %getGlobalVar $player-name schiff9; == true goto start; %q term; @start %msg all Jetzt, wo es uns doch so gut geht, lass uns einen Kuchen backen. Hier hast du drei Eimer, besorge dir alle Zutaten von der Insel. Wenn du alles zusammen hast, stelle einen Kuchen her und platziere ihn auf dem Ofen.; %msg all Für einen Kuchen brauchst du: 3 Eimer Milch, 2 Zucker, 1 Ei (Huhn rechtsklicken) und 3 Weizen.; %loadEvent block-break; %loadEvent entity-click; %loadEvent craft; %setVar milk 0; %setVar canebroken 0; %setVar sugarcrafted 0; %setVar eggsgiven 0; %setVar playerwheat1 %getItemAmountPlayer $player-name WHEAT:0:1; %spawnMob $shipstartloc CHICKEN; %spawnMob $shipstartloc COW; @wait %wait; %if $event == block-break && $block-type == SUGAR_CANE_BLOCK && %blockType %modLoc $block-loc 0 -1 0;; == SUGAR_CANE_BLOCK goto harvest; %if $event == craft && $item-type == SUGAR && $canebroken >= 2 goto craft; %if $event == entity-click && entity-type == COW goto milk; %if $event == entity-click && entity-type == CHICKEN goto egg; %if $event == block-break && $block-type == CROPS && $block-data == 7 goto harvest2; %goto wait; @harvest %setVar cancel false; %if %blockType %modLoc $block-loc 0 1 0;; == SUGAR_CANE_BLOCK goto add2; %setVar canebroken %add $canebroken 1;; %goto wait1; @add2 %setVar canebroken %add $canebroken 2;; %goto wait; @craft %setVar sugarcrafted %add $sugarcrafted $item-amount;; %if $sugarcrafted >= 2 goto craft2; %msg all Es fehlen noch %sub 2 $sugarcrafted; Stück Zucker.; %goto wait; @craft2 %setVar sugar true; %goto checkcake; @milk %setVar milk true; %goto checkcake; @egg %giveItemPlayer $player-name EGG:0:1; %setVar eggsgiven %add $eggsgiven 1; %if $eggsgiven >= 2 goto egg2; %goto wait; @egg2 %setVar egg true; %goto checkcake; @harvest2 %setVar cancel false; %setVar playerwheat2 %getItemAmountPlayer $player-name WHEAT:0:1; %if %sub $playerwheat2 $playerwheat1; >= 8 goto wheat; %goto wait1; @wheat %setVar wheat true; %goto checkcake; @checkcake %if $wheat == true && $sugar == true && $milk == true && $egg == true goto cake; %goto wait; @cake %unloadEvent entity-click; %unloadEvent block-break; %goto wait2; @wait2 %if $event == craft && $item-type == CAKE goto cake; %goto wait2; @cake2 %unloadEvent craft; %loadEvent block-place; @wait3 %wait; %if $event == block-place && $block-loc == $cakeloc && $block-type == CAKE goto endQuest; %goto wait3; @endQuest %setGlobalVar $player-name schiff10 true %setGlobalVar $player-name schiff9 false; %msg all Auf das wir noch ein langes Leben haben.; %endQuest 8;