pile_bunker.txt 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. //===== rAthena Script =======================================
  2. //= Pile Bunker Quest
  3. //===== By: ==================================================
  4. //= JayPee Mateo
  5. //===== Current Version: =====================================
  6. //= 2.1
  7. //===== Compatible With: =====================================
  8. //= rAthena SVN
  9. //===== Description: =========================================
  10. //= 1.0 A Pile Bunker quest based on iRO WiKi. [JayPee Mateo]
  11. //= 2.0 Rewrited the Script a little so it looks a bit better. [Masao]
  12. //= 2.1 Switched to official script, coded by Gennosuke Kouga. [Euphy]
  13. //============================================================
  14. yuno,179,174,4 script Gomer 851,{
  15. if (Class != Job_Mechanic && Class != Job_Mechanic_T && Class != Job_Baby_Mechanic) {
  16. mes "[Gomer]";
  17. mes "I'm a retired Mechanic and I don't think I have any business with you.";
  18. close;
  19. }
  20. mes "[Gomer]";
  21. mes "So? What does it feel like to be on a Madogear?";
  22. mes "It's something that's not allowed for those who failed to seek out their own path.";
  23. next;
  24. mes "[Gomer]";
  25. mes "Me? I retired a long time ago. Because I got into an accident... got badly hurt and won't be able to ride again. I am upset about it.";
  26. next;
  27. mes "[Gomer]";
  28. mes "So I've decided to stay here forging gears for Madogear.";
  29. mes "Huh? I'm not saying I have any complaints about this work.";
  30. next;
  31. mes "[Gomer]";
  32. mes "Forced to do something you don't like, there is nothing more miserable than that.";
  33. next;
  34. mes "[Gomer]";
  35. mes "There are people who are happy just being props, you know, like being the wall for someone to lean on.";
  36. next;
  37. mes "[Gomer]";
  38. mes "That makes me feel good and I am about to make a new gear. I want you to help me. What do you say?";
  39. next;
  40. switch(select("I am not that interested.:What are you going to make?:Where do you get the materials?:I brought the materials.")) {
  41. case 1:
  42. mes "[Gomer]";
  43. mes "Nothing I can do";
  44. mes "about it then.";
  45. mes "See you next time!";
  46. close;
  47. case 2:
  48. mes "[Gomer]";
  49. mes "Um, a huge metal stick that could smash an opponent in one hit!";
  50. next;
  51. mes "[Gomer]";
  52. mes "It doesn't look fancy, but I've designed a spring-loaded device to attack with great strength.";
  53. next;
  54. mes "[Gomer]";
  55. mes "It's concealed, so when you find a chance, one shot could put an opponent in critical condition!";
  56. mes "I can't wait to see it in action!";
  57. next;
  58. mes "[Gomer]";
  59. mes "If you were to imagine how good this kind of weapon could be, I will make it come true.";
  60. next;
  61. mes "[Gomer]";
  62. mes "Bring me 200 Steel, 30 Flexible Tubes, and 1 Brocca. I could make what I just described with those materials.";
  63. close;
  64. case 3:
  65. mes "[Gomer]";
  66. mes "You should be able get steel from many monsters like Kobolds.";
  67. next;
  68. mes "[Gomer]";
  69. mes "Flexible Tubes are more rare, dropped by Metalings around Einbroch and Lighthalzen.";
  70. next;
  71. mes "[Gomer]";
  72. mes "Lastly, finding a Brocca is very hard, but you should be able to do something about it. Haha, go get it!";
  73. close;
  74. case 4:
  75. if (countitem(1549)) {
  76. mes "[Gomer]";
  77. mes "So how's that Pile Bunker working out for you?";
  78. close;
  79. } else if (countitem(1415) < 1 || countitem(999) < 200 || countitem(7325) < 30) {
  80. mes "[Gomer]";
  81. mes "You haven't brought all of the materials that I asked for.";
  82. next;
  83. mes "[Gomer]";
  84. mes "I have a habit of giving up what I've been making and trying to make new things when the inspiration comes up.";
  85. mes "You'd better hurry!";
  86. close;
  87. } else {
  88. mes "[Gomer]";
  89. mes "Oh, I've been waiting. You didn't come on time, so I was wondering if you forgot about it. Please wait there a little bit.";
  90. specialeffect 101;
  91. next;
  92. mes "[Gomer]";
  93. mes "It's done. What do you think? Not bad, eh? Although I made it myself, I have to say it's pretty decently done.";
  94. next;
  95. mes "[Gomer]";
  96. mes "Combination of weight, volume and look at its color and gloss. It catches my heart!";
  97. next;
  98. mes "[Gomer]";
  99. mes "...........";
  100. next;
  101. mes "[Gomer]";
  102. mes "Uh, with little improvement, it could be mass produced and delivered. I'm sure I can make more of these so I will give this one to you.";
  103. next;
  104. mes "[Gomer]";
  105. mes "Oh, and it turns out that I didn't need all that Steel after all. So here, take most of it back.";
  106. delitem 999,50; // Steel
  107. delitem 7325,30; // Flexible Tube
  108. delitem 1415,1; // Brocca
  109. getitem 1549,1; // Pile Bunker
  110. getitem 1360,1; // Two-handed Axe [1]
  111. close;
  112. }
  113. }
  114. }