ninja_quests.txt 11 KB

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