shuriken_maker.txt 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. //===== eAthena Script ========================================
  2. //= Shuriken Blacksmith
  3. //===== By: ==================================================
  4. //= Au{R}oN
  5. //===== Current Version: =====================================
  6. //= 1.2a
  7. //===== Compatible With: =====================================
  8. //= eAthena 1.0+
  9. //===== Description: =========================================
  10. //= Shuriken Weapon Maker.
  11. //===== Additional Comments: =================================
  12. //= Converted from Aegis
  13. //= 1.0 Added the 4 Shuriken. [Au{R}oN]
  14. //= 1.1 Fix getitem bugs and add if ninja job check. [Au{R}oN]
  15. //= 1.2 more bugs fixed,wrong labels, missing stuf, etc[Lupus]
  16. //= 1.2a added missing next;
  17. //============================================================
  18. que_ng.gat,22,62,3 script Taitsu 709,{
  19. mes "[Taitsu]";
  20. if(Class!=Job_Ninja){
  21. mes "Sorry, buy I can use my ability only for Ninja Class.";
  22. close;
  23. }
  24. mes "Hello";
  25. mes "I'm Taitsu, the Blacksmith of Fuuma Ninja.";
  26. next;
  27. mes "[Taitsu]";
  28. mes "Due to a burst of interest, my life became very miserable.";
  29. mes "So, I'm taking everything from the beginning, but haven't made weapon in a long time...";
  30. next;
  31. mes "[Taitsu]";
  32. mes "However, in terms of making Fuuma weapons, no one can make them any better then mine.";
  33. mes "Here, take a look.";
  34. next;
  35. menu "Fuuma Shuriken Beneki",M_BENEKI,"Fuuma Shuriken Daisharin",M_DAIS,
  36. "Fuuma Shuriken Daisharin [4]",M_DAIS4,"Fuuma Shuriken Rekka",M_REKKA;
  37. //=====================BENEKI========================
  38. M_BENEKI:
  39. mes "[Taitsu]";
  40. mes "You want make ^FF0000Fuuma Shuriken Beneki^000000";
  41. mes "Fuuma Shuriken Beneki needs:";
  42. mes "50 Steel, 20 Harpy's Feathers, 5 Oridecon, and 90.000z.";
  43. mes "Do you want me to make it?";
  44. next;
  45. menu "Yes",-,"No Thanks",M_NOPE;
  46. mes "[Taitsu]";
  47. mes "So let me check for your items...";
  48. set @z,90000;
  49. if(Zeny < @z) goto L_NOZENY;
  50. if(countitem(999)<50 || countitem(7115)<20 || countitem(984)<5) goto L_NOITEMS;
  51. set Zeny,Zeny-@z;
  52. delitem 999,50;
  53. delitem 7115,20;
  54. delitem 984,5;
  55. next;
  56. getitem 13300,1;
  57. mes "[Taitsu]";
  58. mes "Ok, enjoy with your new weapon.";
  59. close;
  60. //=====================DAISHARIN========================
  61. M_DAIS:
  62. mes "[Taitsu]";
  63. mes "You want make ^FF0000Fuuma Shuriken Daisharin^000000";
  64. mes "Fuuma Shuriken Daisharin needs:";
  65. mes "30 Steel, 100 Tassels, 2 Oridecon, and 40.000z.";
  66. mes "Do you want me to make it?";
  67. next;
  68. menu "Yes",-,"No Thanks",M_NOPE;
  69. mes "[Taitsu]";
  70. mes "So let me check for your items...";
  71. set @z,40000;
  72. if(Zeny < @z) goto L_NOZENY;
  73. if(countitem(999)<30 || countitem(7301)<100 || countitem(984)<2) goto L_NOITEMS;
  74. set Zeny,Zeny-@z;
  75. delitem 999,30;
  76. delitem 7301,100;
  77. delitem 984,2;
  78. next;
  79. getitem 13301,1;
  80. mes "[Taitsu]";
  81. mes "Ok, enjoy with your new weapon.";
  82. close;
  83. //=====================DAISHARIN4========================
  84. M_DAIS4:
  85. mes "[Taitsu]";
  86. mes "You want make ^FF0000Fuuma Shuriken Daisharin[4]^000000";
  87. mes "Fuuma Shuriken Daisharin[4] needs:";
  88. mes "20 Cracked Diamonds, 1 Fuuma Shuriken Daisharin, 2 Oridecon, and 40.000z.";
  89. mes "Do you want me to make it?";
  90. next;
  91. menu "Yes",-,"No Thanks",M_NOPE;
  92. mes "[Taitsu]";
  93. mes "So let me check for your items...";
  94. set @z,40000;
  95. if(Zeny < @z) goto L_NOZENY;
  96. if(countitem(733)<20 || countitem(13301)<1 || countitem(984)<3) goto L_NOITEMS;
  97. set Zeny,Zeny-@z;
  98. delitem 733,20;
  99. delitem 13301,1;
  100. delitem 984,3;
  101. next;
  102. getitem 13302,1;
  103. mes "[Taitsu]";
  104. mes "Ok, enjoy with your new weapon.";
  105. close;
  106. //=====================REKKA========================
  107. M_REKKA:
  108. mes "[Taitsu]";
  109. mes "You want make ^FF0000Fuuma Shuriken Rekka^000000";
  110. mes "Fuuma Shuriken Rekka needs:";
  111. mes "50 Steel, 100 Live Coal, 2 Oridecon, 50 Burning Stone and 78.000z.";
  112. mes "Do you want me to make it?";
  113. next;
  114. menu "Yes",-,"No Thanks",M_NOPE;
  115. mes "[Taitsu]";
  116. mes "So let me check for your items...";
  117. set @z,78000;
  118. if(Zeny < @z) goto L_NOZENY;
  119. if(countitem(733)<50 || countitem(7098)<100 || countitem(7097)<100 || countitem(7521)<50) goto L_NOITEMS;
  120. set Zeny,Zeny-@z;
  121. delitem 733,50;
  122. delitem 7098,100;
  123. delitem 7097,100;
  124. delitem 7521,50;
  125. next;
  126. getitem 13303,1;
  127. mes "[Taitsu]";
  128. mes "Ok, enjoy with your new weapon.";
  129. close;
  130. //=====================I'M SORRY========================
  131. L_NOITEMS:
  132. next;
  133. mes "[Taitsu]";
  134. mes "Sorry, but you not have all required items.";
  135. emotion e_sry;
  136. close;
  137. L_NOZENY:
  138. next;
  139. mes "[Taitsu]";
  140. mes "I'm sorry, but you need "+@z+"z";
  141. emotion e_cash;
  142. close;
  143. M_NOPE:
  144. mes "[Taitsu]";
  145. mes "Ok came back when you want.";
  146. close;
  147. }