quests.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. %msg all Script quests wurde geladen.;
  2. %loadEvent chat;
  3. @wait
  4. %wait;
  5. %if $event == chat goto checkargs;
  6. %goto wait;
  7. @checkargs
  8. %if %getListElementAt args 0; == quest goto show;
  9. %goto wait;
  10. @show
  11. %menu $player-name §8Quests wait GRASS §rInsel1 §rStartinsel insel1 GRASS §rInsel2 null insel2 AIR null null wait AIR null null wait AIR null null wait AIR null null wait AIR null null wait AIR null null wait WOOD_DOOR §rSchließen null close;
  12. %goto wait;
  13. @close
  14. %closemenu $player-name;
  15. %goto wait;
  16. @insel1
  17. %menu $player-name §8Insel1 wait WHEAT §rWeizenernten null weizen STONE_HOE %concat §rHacke besorgen; null hoe AIR null null wait AIR null null wait AIR null null wait AIR null null wait AIR null null wait AIR null null wait WOOD_DOOR §rZurück null show;
  18. %goto wait;
  19. @weizen
  20. %setVar done INK_SACK:1;
  21. %if %getGlobalVar $player-name insel1_bauer_wheat; != true goto wheatnotdone;
  22. %setVar done INK_SACK:10;
  23. @wheatnotdone
  24. %menu $player-name §8Weizenernten wait $done §rStatus null wait SKULL_ITEM:3 §rDorfbewohner §rAlfried wait AIR null null wait AIR null null wait AIR null null wait AIR null null wait AIR null null wait AIR null null wait WOOD_DOOR §rZurück null insel1;
  25. %goto wait;
  26. @hoe
  27. %setVar done INK_SACK:1;
  28. %if %getGlobalVar $player-name insel1_bauer_hoe; != true goto hoenotdone;
  29. %setVar done INK_SACK:10;
  30. @hoenotdone
  31. %menu $player-name %concat §8Hacke besorgen; wait $done §rStatus null wait SKULL_ITEM:3 §rDorfbewohner §rJohann wait AIR null null wait AIR null null wait AIR null null wait AIR null null wait AIR null null wait AIR null null wait WOOD_DOOR §rZurück null insel1;
  32. %goto wait;
  33. @insel2
  34. #%menu $player-name §8Insel1 wait
  35. %goto wait;