schiff_6_Baumaterial_besorgen.txt 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. %if %getGlobalVar $player-name schiff5; == true goto start;
  2. %q term;
  3. @start;
  4. %msg all Fälle den Baum am Strand und gib mir das Holz. Dann kann ich uns ein schönes Floß bauen.;
  5. %loadEvent block-break;
  6. %setVar broken 0;
  7. %setBlock %modLoc $treeloc 0 -3 0; LOG:3:1;
  8. %setBlock %modLoc $treeloc 0 -2 0; LOG:3:1;
  9. %setBlock %modLoc $treeloc 0 -1 0; LOG:3:1;
  10. %setBlock %modLoc $treeloc 0 0 0; LOG:3:1;
  11. %setBlock %modLoc $treeloc 0 1 0; LOG:3:1;
  12. %setBlock %modLoc $treeloc 0 2 0; LOG:3:1;
  13. %setBlock %modLoc $treeloc 0 3 0; LOG:3:1;
  14. %setBlock %modLoc $treeloc 0 4 0; LOG:3:1;
  15. %setBlock %modLoc $treeloc -2 2 -1; LEAVES:3:1;
  16. %setBlock %modLoc $treeloc -2 2 0; LEAVES:3:1;
  17. %setBlock %modLoc $treeloc -2 2 1; LEAVES:3:1;
  18. %setBlock %modLoc $treeloc -1 2 -2; LEAVES:3:1;
  19. %setBlock %modLoc $treeloc -1 2 -1; LEAVES:3:1;
  20. %setBlock %modLoc $treeloc -1 2 0; LEAVES:3:1;
  21. %setBlock %modLoc $treeloc -1 2 1; LEAVES:3:1;
  22. %setBlock %modLoc $treeloc -1 2 2; LEAVES:3:1;
  23. %setBlock %modLoc $treeloc 0 2 -2; LEAVES:3:1;
  24. %setBlock %modLoc $treeloc 0 2 -1; LEAVES:3:1;
  25. %setBlock %modLoc $treeloc 0 2 1; LEAVES:3:1;
  26. %setBlock %modLoc $treeloc 0 2 2; LEAVES:3:1;
  27. %setBlock %modLoc $treeloc 1 2 -2; LEAVES:3:1;
  28. %setBlock %modLoc $treeloc 1 2 -1; LEAVES:3:1;
  29. %setBlock %modLoc $treeloc 1 2 0; LEAVES:3:1;
  30. %setBlock %modLoc $treeloc 1 2 1; LEAVES:3:1;
  31. %setBlock %modLoc $treeloc 1 2 2; LEAVES:3:1;
  32. %setBlock %modLoc $treeloc 2 2 -1; LEAVES:3:1;
  33. %setBlock %modLoc $treeloc 2 2 0; LEAVES:3:1;
  34. %setBlock %modLoc $treeloc 2 2 1; LEAVES:3:1;
  35. %setBlock %modLoc $treeloc -2 3 -2; LEAVES:3:1;
  36. %setBlock %modLoc $treeloc -2 3 -1; LEAVES:3:1;
  37. %setBlock %modLoc $treeloc -2 3 0; LEAVES:3:1;
  38. %setBlock %modLoc $treeloc -2 3 1; LEAVES:3:1;
  39. %setBlock %modLoc $treeloc -2 3 2; LEAVES:3:1;
  40. %setBlock %modLoc $treeloc -1 3 -2; LEAVES:3:1;
  41. %setBlock %modLoc $treeloc -1 3 -1; LEAVES:3:1;
  42. %setBlock %modLoc $treeloc -1 3 0; LEAVES:3:1;
  43. %setBlock %modLoc $treeloc -1 3 1; LEAVES:3:1;
  44. %setBlock %modLoc $treeloc -1 3 2; LEAVES:3:1;
  45. %setBlock %modLoc $treeloc 0 3 -2; LEAVES:3:1;
  46. %setBlock %modLoc $treeloc 0 3 -1; LEAVES:3:1;
  47. %setBlock %modLoc $treeloc 0 3 1; LEAVES:3:1;
  48. %setBlock %modLoc $treeloc 0 3 2; LEAVES:3:1;
  49. %setBlock %modLoc $treeloc 1 3 -2; LEAVES:3:1;
  50. %setBlock %modLoc $treeloc 1 3 -1; LEAVES:3:1;
  51. %setBlock %modLoc $treeloc 1 3 0; LEAVES:3:1;
  52. %setBlock %modLoc $treeloc 1 3 1; LEAVES:3:1;
  53. %setBlock %modLoc $treeloc 1 3 2; LEAVES:3:1;
  54. %setBlock %modLoc $treeloc 2 3 -2; LEAVES:3:1;
  55. %setBlock %modLoc $treeloc 2 3 -1; LEAVES:3:1;
  56. %setBlock %modLoc $treeloc 2 3 0; LEAVES:3:1;
  57. %setBlock %modLoc $treeloc 2 3 1; LEAVES:3:1;
  58. %setBlock %modLoc $treeloc 2 3 2; LEAVES:3:1;
  59. %setBlock %modLoc $treeloc -1 4 -1; LEAVES:3:1;
  60. %setBlock %modLoc $treeloc -1 4 0; LEAVES:3:1;
  61. %setBlock %modLoc $treeloc -1 4 1; LEAVES:3:1;
  62. %setBlock %modLoc $treeloc 0 4 -1; LEAVES:3:1;
  63. %setBlock %modLoc $treeloc 0 4 1; LEAVES:3:1;
  64. %setBlock %modLoc $treeloc 1 4 -1; LEAVES:3:1;
  65. %setBlock %modLoc $treeloc 1 4 0; LEAVES:3:1;
  66. %setBlock %modLoc $treeloc 1 4 1; LEAVES:3:1;
  67. %setBlock %modLoc $treeloc -1 5 0; LEAVES:3:1;
  68. %setBlock %modLoc $treeloc 0 5 -1; LEAVES:3:1;
  69. %setBlock %modLoc $treeloc 0 5 0; LEAVES:3:1;
  70. %setBlock %modLoc $treeloc 0 5 1; LEAVES:3:1;
  71. %setBlock %modLoc $treeloc 1 5 0; LEAVES:3:1;
  72. @wait1
  73. %wait;
  74. %if $event == block-break && $block-type == LOG && %distance $block-loc $treeloc; <= 5 goto breaklog;
  75. %if $event == block-break && $block-type == LEAVES && %distance $block-loc $treeloc; <= 7 goto breakleaves;
  76. %goto wait1;
  77. @breaklog
  78. %setVar cancel false;
  79. %setVar broken %add $broken 1;
  80. %if $broken >= 8 goto give2;
  81. %goto wait1;
  82. @breakleaves
  83. %setVar cancel false;
  84. %goto wait1;
  85. @give2
  86. %loadEvent villager-give;
  87. %unloadEvent block-break;
  88. %setVar given 0;
  89. @wait2
  90. %wait;
  91. %if $event == villager-give && $item-type == LOG && $item-data == 3 goto checkloc;
  92. %setVar cancel true;
  93. %msg all Was soll ich damit?;
  94. %goto wait2;
  95. @checkloc
  96. %if %distance $villager-loc $shipstartloc; <= 4 goto give;
  97. %setVar cancel true;
  98. %msg all Tut mir leid, ich bin nicht dein Kamerad.;
  99. %goto wait2;
  100. @give
  101. %setVar given %add $given $item-amount;;
  102. %if $given >= 8 goto endQuest;
  103. %msg all Ich brauche noch %sub 8 $given; Stück Holz.;
  104. %goto wait2;
  105. @endQuest
  106. %setGlobalVar $player-name schiff6 true
  107. %setGlobalVar $player-name schiff5 false;
  108. %msg all Bald kann die Reise beginnen.;
  109. %endQuest 2;