ninja_quests.txt 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. //===== rAthena Script =======================================
  2. //= Kagerou/Oboro Equipment Quests
  3. //===== By: ==================================================
  4. //= Euphy
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= [Official Conversion]
  11. //= Quests for Kagerou/Oboro weapons and armor.
  12. //===== Additional Comments: =================================
  13. //= 1.0 First version. [Euphy]
  14. //= 1.1 Little clean-up. [Capuche]
  15. //============================================================
  16. // Armor and Weapon NPCs :: kaboro_gearmix
  17. //============================================================
  18. que_ng,21,72,6 script Master Armor Craftsman 4_M_RASWORD,{
  19. mes "[Gyo]";
  20. mes "How would you define victory?";
  21. mes "To fell the enemy...";
  22. mes "However, the most important thing is...";
  23. mes "Never to fall yourself!";
  24. next;
  25. mes "[Gyo]";
  26. mes "For that, you must better protect yourself.";
  27. mes "You cannot protect 'others' while you hinder your 'own' protection.";
  28. next;
  29. if(select("Combine armor.:End conversation.") == 2) {
  30. mes "[Gyo]";
  31. mes "Prudence is also an important virtue in battle.";
  32. close;
  33. }
  34. switch(select("Wolf Armguard[1]:Crescent Armguard[1]:Ninja Scale Armor[1]:Tenebris Latitantes[1]:Quit.")) {
  35. case 1:
  36. mes "[Gyo]";
  37. mes "Wolf Armguard... One beastly piece of armor.";
  38. next;
  39. callsub L_Select,2172;
  40. if (countitem(2171) > 0 && countitem(6252) > 9) { //custom translation
  41. delitem 2171,1; //Fox_Armguard
  42. delitem 6252,10; //Wolf_Blood
  43. getitem 2172,1; //Wolf_Armguard
  44. mes "[Gyo]";
  45. mes "Do you feel the nature of the wolf?";
  46. mes "Both wild and charming...";
  47. close;
  48. }
  49. break;
  50. case 2:
  51. mes "[Gyo]";
  52. mes "Crescent Armguard... A thing of beauty and strength... With none the lesser.";
  53. next;
  54. callsub L_Select,2173;
  55. if (countitem(2171) > 0 && countitem(7321) > 99) { //custom translation
  56. delitem 2171,1; //Fox_Armguard
  57. delitem 7321,100; //Fragment_Of_Crystal
  58. getitem 2173,1; //Crescent_Armguard
  59. mes "[Gyo]";
  60. mes "Such beauty...";
  61. mes "As if the whole body is overflowing with magic.";
  62. close;
  63. }
  64. break;
  65. case 3:
  66. mes "[Gyo]";
  67. mes "Ninja Scale Armor... It's said that a legendary Ninja once wore it.";
  68. next;
  69. callsub L_Select,15054;
  70. if (countitem(7451) > 29 && countitem(7562) > 29 && countitem(6091) > 29) { //custom translation
  71. delitem 7451,30; //Scale_Of_Red_Dragon
  72. delitem 7562,30; //Ice_Scale
  73. delitem 6091,30; //Dark_Red_Scale
  74. getitem 15054,1; //Ninja_Scale_Armor
  75. mes "[Gyo]";
  76. mes "This is truly a legendary armor...";
  77. mes "Even if I don't believe in legends...";
  78. close;
  79. }
  80. break;
  81. case 4:
  82. mes "[Gyo]";
  83. mes "Shadow King's Armor... It was made to protect others.";
  84. next;
  85. callsub L_Select,15055;
  86. if (countitem(15056) > 0 && countitem(6089) > 9) { //custom translation
  87. delitem 15056,1; //Special_Ninja_Suit_
  88. delitem 6089,10; //Piece_Of_Darkness
  89. getitem 15055,1; //Tenebris_Latitantes
  90. mes "[Gyo]";
  91. mes "How is it?";
  92. mes "Does the armor not appear as if there are two?";
  93. close;
  94. }
  95. break;
  96. case 5:
  97. close;
  98. }
  99. mes "[Gyo]";
  100. mes "You don't have enough ingredients.";
  101. mes "Look again...";
  102. close;
  103. L_Select:
  104. .@string1$ = "Check Ingredients.";
  105. .@string2$ = "Check Stats.";
  106. while(1) {
  107. switch(select(.@string1$,.@string2$,"Combine.","Quit.")) {
  108. case 1:
  109. .@string1$ = "";
  110. callsub L_Ingredients, getarg(0);
  111. break;
  112. case 2:
  113. .@string2$ = "";
  114. callsub L_Stats, getarg(0);
  115. break;
  116. case 3:
  117. callsub L_Combine;
  118. return;
  119. case 4:
  120. mes "[Gyo]";
  121. mes "Looks like you need more time to decide.";
  122. close;
  123. }
  124. }
  125. L_Ingredients:
  126. mes "[Gyo]";
  127. switch (getarg(0)) {
  128. case 2172: //Wolf_Armguard
  129. mes "To make a ^ff0000Wolf Armguard, you need 1 Fox Armguard and 10 Blood of Wolf^000000.";
  130. mes "Can you feel it? The throbbing of the wolf blood...";
  131. break;
  132. case 2173: //Crescent_Armguard
  133. mes "To make a ^ff0000Crescent Armguard, you need 1 Fox Armguard and 100 Crystal Fragments^000000.";
  134. mes "A crescent as beautiful and clear as a crystal will be engraved on it.";
  135. break;
  136. case 15054: //Ninja_Scale_Armor
  137. mes "To make a ^ff0000Ninja Scale Armor, you need 30 Fire Dragon Scales, 30 Ice Scales, and 30 Darkred Scale Pieces^000000.";
  138. mes "You can feel its legendary powers.";
  139. break;
  140. case 15055: //Tenebris_Latitantes
  141. mes "To make a ^ff0000Shadow King's Armor, you'll need a Special Ninja Suit with a slot and 10 Dark Pieces^000000.";
  142. mes "With the darkness it erases existence itself...";
  143. break;
  144. }
  145. next;
  146. return;
  147. L_Stats:
  148. mes "[" + getitemname(getarg(0)) + "]";
  149. switch (getarg(0)) {
  150. case 2172: //Wolf_Armguard
  151. mes "Chance to have 5 sec. of ATK+100, FLEE -50 upon melee attack.";
  152. mes "Shield Type, Defense 45, Slot 1";
  153. mes "Required Level 100, Ninja Type Only";
  154. break;
  155. case 2173: //Crescent_Armguard
  156. mes "Decreases post skill delay for 2% for every enhancement.";
  157. mes "Shield Type, Defense 70, Slot 1";
  158. mes "Required Level 100, Ninja Type Only";
  159. break;
  160. case 15054: //Ninja_Scale_Armor
  161. mes "MHP+15%, MSP-30%";
  162. mes "Armor Type, Defense 90, Slot 1";
  163. mes "Required Level 100, Ninja Type Only";
  164. break;
  165. case 15055: //Tenebris_Latitantes
  166. mes "Chance to activate Lvl. 1 Illusion - Shadow when attacked by melee attacks.";
  167. mes "Armor Type, Defense 60, Slot 1";
  168. mes "Required Level 100, Ninja Type Only";
  169. break;
  170. }
  171. next;
  172. return;
  173. L_Combine:
  174. mes "[Gyo]";
  175. mes "Make sure that ^ff0000you have the correct ingredients and equipment at hand^000000.";
  176. mes "No use crying over it later.";
  177. next;
  178. switch(select("Combine.:Quit.")) {
  179. case 1:
  180. if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
  181. mes "- Hold on!! -";
  182. mes "- You cannot receive items -";
  183. mes "- because you carry too much. -";
  184. mes "- Please try again -";
  185. mes "- after lightening your burden. -";
  186. close;
  187. }
  188. return;
  189. case 2:
  190. mes "[Gyo]";
  191. mes "Looks like you need more time to decide.";
  192. close;
  193. }
  194. end;
  195. }
  196. que_ng,23,70,3 script Master Weapon Craftsman 4_DST_SOLDIER,{
  197. mes "[Ki]";
  198. mes "To attack is the best means of defense.";
  199. mes "A powerful weapon ill make you truly complete.";
  200. next;
  201. mes "[Ki]";
  202. mes "Of course, it would be better to have something special at hand.";
  203. next;
  204. if(select("Combine weapon.:End conversation.") == 2) {
  205. mes "[Ki]";
  206. mes "Being too careful could sometimes be lethal.";
  207. close;
  208. }
  209. switch(select("Raksasa Dagger[1]:Mikatsuki[1]:Huuma Swirling Petal[2]:Quit.")) {
  210. case 1:
  211. mes "[Ki]";
  212. mes "Raksasa Dagger can only be used after plenty of training.";
  213. next;
  214. callsub L_Select,13076;
  215. if (countitem(13013) > 0 && countitem(718) > 0) { //custom translation
  216. delitem 13013,1; //Murasame_
  217. delitem 718,1; //Dark_Red_Jewel
  218. getitem 13076,1; //Raksasa_Dagger
  219. mes "[Ki]";
  220. mes "Ah...";
  221. mes "What a beautiful luster...";
  222. close;
  223. }
  224. mes "[Ki]";
  225. mes "Hmm... You do not have enough to make a Raksasa Dagger.";
  226. break;
  227. case 2:
  228. mes "[Ki]";
  229. mes "Mikatsuki... A beautiful curve like the crescent moon...";
  230. mes "There aren't many who can make them.";
  231. next;
  232. callsub L_Select,13078;
  233. if (countitem(13015) > 0 && countitem(727) > 0) { //custom translation
  234. delitem 13015,1; //Hakujin_
  235. delitem 727,1; //White_Jewel
  236. getitem 13078,1; //Mikatsuki
  237. mes "[Ki]";
  238. mes "Truly beautiful...";
  239. mes "I am so fortunate to be able to see such a magnificent dagger.";
  240. close;
  241. }
  242. mes "[Ki]";
  243. mes "Hmm... You do not have enough to make a Mikatsuki.";
  244. break;
  245. case 3:
  246. mes "[Ki]";
  247. mes "Huuma Swirling Petal... Have you ever seen petals swirl?";
  248. next;
  249. callsub L_Select,13313;
  250. if (countitem(13304) > 0 && countitem(7156) > 99) { //custom translation
  251. delitem 13304,1; //Huuma_Calm_Mind
  252. delitem 7156,100; //Broken_Shuriken
  253. getitem 13313,1; //Huuma_Swirling_Petal
  254. mes "[Ki]";
  255. mes "Flying... petals!!";
  256. close;
  257. }
  258. mes "[Ki]";
  259. mes "Hmm... You do not have enough to make a Huuma Swirling Petal.";
  260. break;
  261. case 4:
  262. close;
  263. }
  264. mes "Why don't you check again?";
  265. mes "Some just can't give up what they hold.";
  266. close;
  267. L_Select:
  268. .@string1$ = "Check Ingredients.";
  269. .@string2$ = "Check Stats.";
  270. while(1) {
  271. switch(select(.@string1$,.@string2$,"Combine.","Quit.")) {
  272. case 1:
  273. .@string1$ = "";
  274. callsub L_Ingredients, getarg(0);
  275. break;
  276. case 2:
  277. .@string2$ = "";
  278. callsub L_Stats, getarg(0);
  279. break;
  280. case 3:
  281. callsub L_Combine;
  282. return;
  283. case 4:
  284. mes "[Ki]";
  285. mes "Think carefully~~";
  286. close;
  287. }
  288. }
  289. L_Ingredients:
  290. mes "[Ki]";
  291. switch (getarg(0)) {
  292. case 13076: //Raksasa_Dagger
  293. mes "For a ^ff0000Raksasa Dagger, you need 1 Murasame with 2 sockets and 1 Garnet^000000.";
  294. mes "The garnet gives the Raksasa Dagger its unique color.";
  295. break;
  296. case 13078: //Mikatsuki
  297. mes "For a ^ff0000Mikatsuki, you need a Hakujin with a Slot and an Opal^000000.";
  298. mes "The opal is what gives off the translucent glow.";
  299. break;
  300. case 13313: //Huuma_Swirling_Petal
  301. mes "For a ^ff0000Huuma Swirling Petal, you need one Huuma Calm Mind Shuriken and 100 Broken Shurikens^000000.";
  302. mes "It may seem like too many shurikens are needed... But it is essential for the beautiful fluttering effect.";
  303. break;
  304. }
  305. next;
  306. return;
  307. L_Stats:
  308. mes "[" + getitemname(getarg(0)) + "]";
  309. switch (getarg(0)) {
  310. case 13076: //Raksasa_Dagger
  311. mes "INT+3 MATK+100.";
  312. mes "Dagger Type, ATK 120, Slot 1";
  313. mes "Required Level 110, Ninja Type Only";
  314. break;
  315. case 13078: //Mikatsuki
  316. mes "MATK + 120, Flucuated Casting and SP use decreased by 5% upon skill use.";
  317. mes "Dagger Type, ATK 50, Weapon Lvl. 4 Slot 1";
  318. mes "Required Level 100, Ninja Type Only";
  319. break;
  320. case 13313: //Huuma_Swirling_Petal
  321. mes "MATK + 50, Huuma Swirling Petal skill damage increased by 20%.";
  322. mes "Shuriken Type, ATK 150";
  323. mes "Weapon Lvl. 3, Slot 2";
  324. mes "Required Level 110, Ninja Type Only";
  325. break;
  326. }
  327. next;
  328. return;
  329. L_Combine:
  330. mes "[Ki]";
  331. mes "Make sure that ^ff0000you have the correct ingredients and equipment at hand^000000.";
  332. mes "Once done, it cannot be undone.";
  333. next;
  334. switch(select("Combine.:Quit.")) {
  335. case 1:
  336. if (checkweight(1201,1) == 0 || MaxWeight - Weight < 2000) {
  337. mes "- Hold on!! -";
  338. mes "- You cannot receive items -";
  339. mes "- because you carry too much. -";
  340. mes "- Please try again -";
  341. mes "- after lightening your burden. -";
  342. close;
  343. }
  344. return;
  345. case 2:
  346. mes "[Ki]";
  347. mes "Think carefully~~";
  348. close;
  349. }
  350. end;
  351. }