god_weapon_creation.txt 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875
  1. //===== rAthena Script =======================================
  2. //= God Item Quest - Item Creation
  3. //===== By: ==================================================
  4. //= SinSloth
  5. //===== Current Version: =====================================
  6. //= 1.3
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= Craft god items after the four seals are broken.
  11. //===== Additional Comments: =================================
  12. //= 1.0 First version. Thanks to SinSloth for scripting it. [MasterOfMuppets]
  13. //= 1.1 Updated several aspects of the script. [L0ne_W0lf]
  14. //= 1.2 Corrected several incorrect item IDs. [L0ne_W0lf]
  15. //= 1.3 Renewal script update. [Euphy]
  16. //= Added GM management function.
  17. //============================================================
  18. gld_dun01,28,85,0 script Grunburti#1::GodDwarf 826,{
  19. mes "[Dwarf Grunburti]";
  20. mes "A human?!";
  21. mes "This land is full";
  22. mes "of your kind. What";
  23. mes "brings you here?";
  24. next;
  25. mes "[Dwarf Grunburti]";
  26. mes "Living in Midgard and away from";
  27. mes "my home town is painful enough, let alone facing a whiny human. Leave me alone!";
  28. next;
  29. switch(select("Ask him about Dwarves.:Ask him what he is doing.:Request weapon creation.:Cancel.")) {
  30. case 1:
  31. mes "[Dwarf Grunburti]";
  32. mes "What's to know about Dwarves?";
  33. mes "We're the toughest race. After all, we can live anywhere, no matter";
  34. mes "how harsh the environment may be.";
  35. next;
  36. mes "[Dwarf Grunburti]";
  37. mes "I doubt your feeble mind can comprehend the how unendurable";
  38. mes "it must be for you to live in my homeland, but you can try.";
  39. mes "Try to imagine.";
  40. next;
  41. mes "[Dwarf Grunburti]";
  42. mes "Most of the knowledge and skills that you humans are so proud of were probably handed down from Dwarves.";
  43. next;
  44. mes "[Dwarf Grunburti]";
  45. mes "This is especially true in the";
  46. mes "case of smithing. Even the tools and weapons of the gods were made by my ancestors. You know that?";
  47. next;
  48. mes "[Dwarf Grunburti]";
  49. mes "We have the greatest knowlege and skills, but have accepted our fate to live in the cold, barren lands of the Giants.";
  50. close;
  51. case 2:
  52. mes "[Dwarf Grunburti]";
  53. mes "Did you just ask what I am doing here? Mwahahaha! Waiting for any humans stupid enough to come";
  54. mes "here so I can kick their ass!";
  55. next;
  56. mes "[Dwarf Grunburti]";
  57. mes "Oh don't worry. I'd only humiliate myself by fighting with a weakling like you. Humans are so fragile, but they stubbornly cling to their arrogance and fight amongst";
  58. mes "each other.";
  59. next;
  60. mes "[Dwarf Grunburti]";
  61. mes "As a race, your people are just hopeless. I wouldn't even share the same continent with a human! But alas, I have no choice.";
  62. next;
  63. mes "[Dwarf Grunburti]";
  64. mes "The path to my hometown";
  65. mes "disappeared after the war 1,000 years ago. Somehow, I can no longer find the way through the Yggdrasil Tree that will take me back...";
  66. next;
  67. mes "[Dwarf Grunburti]";
  68. mes "I'm stuck here in Rune-Midgard.";
  69. mes "At least I was fortunate enough to find this cave. We Dwarves are most cozy living underground, after all.";
  70. close;
  71. case 3:
  72. set .@GID,getcharid(2);
  73. if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){
  74. if (($God1 >= $@god_check1) && ($God2 >= $@god_check1) && ($God3 >= $@god_check1) && ($God4 >= $@god_check1) && (is_guild_leader() == true)) {
  75. mes "[Dwarf Grunburti]";
  76. mes "Hmm...";
  77. mes "I'll need some things to make a weapon for you. What exactly were you interested in having?";
  78. next;
  79. switch(select("Brisingamen:Megingjard:Sleipnir:Mjolnir")) {
  80. case 1:
  81. mes "[Dwarf Grunburti]";
  82. mes "I will need...";
  83. mes "^0000FF4 Freya's Jewel";
  84. mes "4 Silver Ornament";
  85. mes "3 Snow Crystal";
  86. mes "3 Ripple";
  87. mes "3 Drifting Air";
  88. mes "2 Sapphire";
  89. mes "3 Pearl";
  90. mes "10 Opal";
  91. mes "5 Cursed Ruby";
  92. mes "20 Gold^000000";
  93. mes "1 Necklace^000000...";
  94. next;
  95. mes "[Dwarf Grunburti]";
  96. mes "However, the time for me to create this Brisingamen has not yet come. You'll have to wait until the seals are released. Mwahahaha!";
  97. close;
  98. case 2:
  99. mes "[Dwarf Grunburti]";
  100. mes "I will need...";
  101. mes "^0000FF1 Gleipnir";
  102. mes "20 Gold";
  103. mes "10 Sapphire";
  104. mes "10 Oridecon";
  105. mes "1 Belt^000000";
  106. next;
  107. mes "[Dwarf Grunburti]";
  108. mes "However, the seals on Megingjard have not yet been released. Until then, you'll have to wait! Bwahahaha!";
  109. close;
  110. case 3:
  111. mes "[Dwarf Grunburti]";
  112. mes "I will need...";
  113. mes "^0000FF3 Wheel of the Unknown";
  114. mes "5 Feather of Angel Wing";
  115. mes "3 Sprit of Fish";
  116. mes "4 Amblem of the Sun God";
  117. mes "3 Breath of Spirit";
  118. mes "20 Gold";
  119. mes "10 Elunium";
  120. mes "1 Slotted Boots^000000";
  121. next;
  122. mes "[Dwarf Grunburti]";
  123. mes "But even so, I can't create Sleipnir until the seals have been broken. Otherwise, you're out of luck, human. Hahaha~!";
  124. close;
  125. case 4:
  126. mes "[Dwarf Grunburti]";
  127. mes "I will need...";
  128. mes "^0000FF2 Thor's Gauntlets";
  129. mes "4 Iron Maiden";
  130. mes "5 Wrath of Valkyrie";
  131. mes "5 Omen of Tempest";
  132. mes "5 Billow";
  133. mes "20 Oridecon";
  134. mes "5 Elunium";
  135. mes "40 Gold";
  136. mes "1 Stunner^000000";
  137. next;
  138. mes "[Dwarf Grunburti]";
  139. mes "But I can't even create a replica of Mjolnir if the seals are still in place. Until they're released, you'll just have to wait. Bwahaha!";
  140. close;
  141. }
  142. }
  143. mes "[Dwarf Grunburti]";
  144. mes "We Dwarves have too much pride to demonstrate our skills in front of a lowly human!";
  145. next;
  146. mes "[Dwarf Grunburti]";
  147. mes "Stop bothering me and get out of here! Go play with some monsters, you simple minded fool!";
  148. close;
  149. }
  150. if (is_guild_leader() == false) {
  151. mes "[Dwarf Grunburti]";
  152. mes "I'll only present";
  153. mes "my magnificent skills";
  154. mes "to a human of incredibly";
  155. mes "high standing!";
  156. next;
  157. mes "[Dwarf Grunburti]";
  158. mes "Although I hate";
  159. mes "most humans, I have";
  160. mes "no choice but to respect the ones chosen by destiny. Go and bring your ^0000FFguildmaster^000000!";
  161. close;
  162. }
  163. mes "[Dwarf Grunburti]";
  164. mes "Although it is very humiliating to present my valuable skills to a human being...";
  165. next;
  166. mes "[Dwarf Grunburti]";
  167. mes "All the seals have been released, and he who holds the Emperium is chosen by destiny. I have no choice but to respect you.";
  168. next;
  169. mes "[Dwarf Grunburti]";
  170. mes "First of all, I shall confirm whether or not you have brought all the necessary materials to forge a godly item! I hate it when humans come here without any purpose!";
  171. next;
  172. if ((countitem(7073) > 3) && (countitem(7077) > 3) && (countitem(7088) > 2) && (countitem(7090) > 2) && (countitem(7092) > 2) && (countitem(726) > 1) && (countitem(722) > 2) && (countitem(727) > 9) && (countitem(724) > 4) && (countitem(969) > 19) && (countitem(2603) > 0)) {
  173. mes "[Dwarf Grunburti]";
  174. mes "Hmm...";
  175. mes "I guess you";
  176. mes "want to have";
  177. mes "^0000FFBrisingamen^000000!";
  178. next;
  179. }
  180. else if ((countitem(7058) > 0) && (countitem(969) > 19) && (countitem(726) > 9) && (countitem(984) > 9) && (countitem(2627) > 0)){ //Gullraifnir Gold Blue_Jewel Oridecon Belt
  181. mes "[Dwarf Grunburti]";
  182. mes "Hmm...";
  183. mes "I guess you";
  184. mes "want to have";
  185. mes "^0000FFMegingjard^000000!";
  186. next;
  187. }
  188. else if ((countitem(7076) > 2) && (countitem(7079) > 4) && (countitem(7083) > 2) && (countitem(7086) > 3) && (countitem(7087) > 2) && (countitem(969) > 19) && (countitem(985) > 9) && (countitem(2406) > 0)) {
  189. mes "[Dwarf Grunburti]";
  190. mes "Hmm...";
  191. mes "I guess you";
  192. mes "want to have";
  193. mes "^0000FFSleipnir^000000!";
  194. next;
  195. }
  196. else if ((countitem(7074) > 1) && (countitem(7075) > 3) && (countitem(7078) > 4) && (countitem(7089) > 4) && (countitem(7091) > 4) && (countitem(984) > 19) && (countitem(985) > 4) && (countitem(969) > 39) && (countitem(1522) > 0)) {
  197. mes "[Dwarf Grunburti]";
  198. mes "Hmm...";
  199. mes "I guess you";
  200. mes "want to have";
  201. mes "^0000FFMjolnir^000000!";
  202. next;
  203. }
  204. else {
  205. mes "[Dwarf Grunburti]";
  206. mes "...";
  207. mes "......";
  208. next;
  209. mes "[Dwarf Grunburti]";
  210. mes "...";
  211. mes "......";
  212. mes ".........";
  213. next;
  214. mes "[Dwarf Grunburti]";
  215. mes "...";
  216. mes "......";
  217. mes ".........";
  218. mes ".............";
  219. next;
  220. mes "[Dwarf Grunburti]";
  221. mes "How dare you come here unprepared?! Did you forget what you needed to bring? Listen carefully this time!";
  222. next;
  223. switch(select("Brisingamen:Megingjard:Sleipnir:Mjolnir")) {
  224. case 1:
  225. mes "[Dwarf Grunburti]";
  226. mes "I will need...";
  227. mes "^0000FF4 Freya's Jewel";
  228. mes "4 Silver Ornament";
  229. mes "3 Snow Crystal";
  230. mes "3 Ripple";
  231. mes "3 Drifting Air";
  232. mes "2 Sapphire";
  233. mes "3 Pearl";
  234. mes "10 Opal";
  235. mes "5 Cursed Ruby";
  236. mes "20 Gold^000000";
  237. mes "1 Necklace^000000...";
  238. next;
  239. mes "[Dwarf Grunburti]";
  240. mes "Hmmm, but now";
  241. mes "that the seals have";
  242. mes "been released, you must hurry before another human can claim";
  243. mes "one of the godly items...";
  244. next;
  245. mes "[Dwarf Grunburti]";
  246. mes "Hurry...!";
  247. mes "Once I forge";
  248. mes "Brisingamen,";
  249. mes "the seals will";
  250. mes "activate again!";
  251. close;
  252. case 2:
  253. mes "[Dwarf Grunburti]";
  254. mes "I will need...";
  255. mes "^0000FF1 Gleipnir";
  256. mes "20 Gold";
  257. mes "10 Sapphire";
  258. mes "10 Oridecon";
  259. mes "1 Belt^000000";
  260. next;
  261. mes "[Dwarf Grunburti]";
  262. mes "Hmmm, but now";
  263. mes "that the seals have";
  264. mes "been released, you must hurry before another human can claim";
  265. mes "one of the godly items...";
  266. next;
  267. mes "[Dwarf Grunburti]";
  268. mes "Hurry...!";
  269. mes "Once I forge";
  270. mes "Megingjard,";
  271. mes "the seals will";
  272. mes "activate again!";
  273. close;
  274. case 3:
  275. mes "[Dwarf Grunburti]";
  276. mes "I will need...";
  277. mes "^0000FF3 Wheel of the Unknown";
  278. mes "5 Feather of Angel Wing";
  279. mes "3 Sprit of Fish";
  280. mes "4 Amblem of the Sun God";
  281. mes "3 Breath of Spirit";
  282. mes "20 Gold";
  283. mes "10 Elunium";
  284. mes "1 Slotted Boots^000000";
  285. next;
  286. mes "[Dwarf Grunburti]";
  287. mes "Hmmm, but now";
  288. mes "that the seals have";
  289. mes "been released, you must hurry before another human can claim";
  290. mes "one of the godly items...";
  291. next;
  292. mes "[Dwarf Grunburti]";
  293. mes "Hurry...!";
  294. mes "Once I forge";
  295. mes "Sleipnir,";
  296. mes "the seals will";
  297. mes "activate again!";
  298. close;
  299. case 4:
  300. mes "[Dwarf Grunburti]";
  301. mes "I will need...";
  302. mes "^0000FF2 Thor's Gauntlets";
  303. mes "4 Iron Maiden";
  304. mes "5 Wrath of Valkyrie";
  305. mes "5 Omen of Tempest";
  306. mes "5 Billow";
  307. mes "20 Oridecon";
  308. mes "5 Elunium";
  309. mes "40 Gold";
  310. next;
  311. mes "[Dwarf Grunburti]";
  312. mes "Hmmm, but now";
  313. mes "that the seals have";
  314. mes "been released, you must hurry before another human can claim";
  315. mes "one of the godly items...";
  316. next;
  317. mes "[Dwarf Grunburti]";
  318. mes "Hurry...!";
  319. mes "Once I forge";
  320. mes "the Mjolnir,";
  321. mes "the seals will";
  322. mes "activate again!";
  323. close;
  324. }
  325. }
  326. mes "[Dwarf Grunburti]";
  327. mes "Hmpf.";
  328. mes "I can't get any work done in here. Come with me to the ^0000FFunderground laboratory^000000 as my guest, human.";
  329. next;
  330. mes "[Dwarf Grunburti]";
  331. mes "Now hurry up! ^0000FFOnly one of each godly item^000000 will be given to the humans ^FF0000right after all the seals are released^000000!";
  332. close2;
  333. warp "que_god01",214,63;
  334. end;
  335. case 4:
  336. mes "[Dwarf Grunburti]";
  337. mes "Muhahahahahaha!";
  338. mes "Out of my sight,";
  339. mes "you dirty, filthy";
  340. mes "human...!";
  341. close;
  342. }
  343. }
  344. gld_dun02,85,84,0 duplicate(GodDwarf) Grunburti#2 826
  345. gld_dun03,92,105,0 duplicate(GodDwarf) Grunburti#3 826
  346. gld_dun04,268,230,0 duplicate(GodDwarf) Grunburti#4 826
  347. que_god01,215,127,0 script #god_hopewarp1 111,{
  348. end;
  349. OnInit:
  350. waitingroom "Laboratory Entrance",2,"#god_hopewarp1::OnStartArena",1;
  351. enablewaitingroomevent;
  352. end;
  353. OnStartArena:
  354. warpwaitingpc "que_god01",155,63;
  355. donpcevent "Grunburti#god::OnEnable";
  356. disablewaitingroomevent;
  357. end;
  358. OnReset:
  359. enablewaitingroomevent;
  360. end;
  361. }
  362. que_god01,214,128,0 script #que_godnpc1::GodEntrance 111,{
  363. mes "[Entrance Notice]";
  364. mes "Only the most";
  365. mes "worthy of humans";
  366. mes "will possess the";
  367. mes "power of the gods.";
  368. close;
  369. }
  370. que_god01,215,128,0 duplicate(GodEntrance) #que_godnpc2 111
  371. que_god01,213,128,0 duplicate(GodEntrance) #que_godnpc3 111
  372. que_god01,154,112,4 script Grunburti#god 826,{
  373. if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){
  374. mes "[Dwarf Grunburti]";
  375. mes "One of the godly";
  376. mes "items has been created,";
  377. mes "and the seals have been";
  378. mes "restored. You'll have to";
  379. mes "wait until they're all";
  380. mes "released again...!";
  381. next;
  382. mes "[Dwarf Grunburti]";
  383. mes "Bwahahahahahahaa!";
  384. mes "Even though you're";
  385. mes "just a human, I feel";
  386. mes "pity for you~";
  387. close;
  388. }
  389. set .@GID,getcharid(2);
  390. if (is_guild_leader() == false) {
  391. mes "[Dwarf Grunburti]";
  392. mes "How in the...";
  393. mes "Get out of here!";
  394. next;
  395. mes "[Dwarf Grunburti]";
  396. mes "How did one of you";
  397. mes "stupid humans get in";
  398. mes "here?! Only those who";
  399. mes "hold the Emperium can";
  400. mes "even think of entering";
  401. mes "this place...!";
  402. close;
  403. }
  404. mes "[Dwarf Grunburti]";
  405. mes "It's incredibly";
  406. mes "humiliating to do work for a human. But since destiny has chosen you as the bearer of an Emperium, I have no choice but to oblige your requests.";
  407. next;
  408. mes "[Dwarf Grunburti]";
  409. mes "We only have";
  410. mes "^FF000010 minutes^000000 to recreate one godly treasure. After that, the seals will restore themselves and I won't be able to create anything until they're released again...";
  411. next;
  412. mes "[Dwarf Grunburti]";
  413. mes "^FF0000Don't be too slow^000000,";
  414. mes "otherwise ^FF0000I will give";
  415. mes "the chance to another";
  416. mes "human^000000 right away!";
  417. next;
  418. mes "[Dwarf Grunburti]";
  419. mes "Now...!";
  420. mes "Choose the item";
  421. mes "you wish for me";
  422. mes "to create!";
  423. next;
  424. switch(select("Brisingamen:Megingjard:Sleipnir:Mjolnir")) {
  425. case 1:
  426. mes "[Dwarf Grunburti]";
  427. mes "B-Brisingamen?!";
  428. mes "I've never expected";
  429. mes "such insolence...!";
  430. mes "This necklace will never have any meaning in my eyes unless it's worn by the goddess Freya.";
  431. next;
  432. mes "[Dwarf Grunburti]";
  433. mes "But who am I to judge your worthiness? These treasures";
  434. mes "select their owners with their own will. Let's see if Brisingamen will find you worthy!";
  435. next;
  436. mes "[Dwarf Grunburti]";
  437. mes "Once again, I need following materials in order to reproduce";
  438. mes "this godly treasure...";
  439. next;
  440. mes "[Dwarf Grunburti]";
  441. mes "^0000FF4 Freya's Jewel";
  442. mes "4 Silver Ornament";
  443. mes "3 Snow Crystal";
  444. mes "3 Ripple";
  445. mes "3 Drifting Air";
  446. mes "2 Sapphire";
  447. mes "3 Pearl";
  448. mes "10 Opal";
  449. mes "5 Cursed Ruby";
  450. mes "20 Gold";
  451. mes "1 Necklace^000000";
  452. next;
  453. switch(select("Make Brisingamen.:Cancel.")) {
  454. case 1:
  455. if ((countitem(7073) > 3) && (countitem(7077) > 3) && (countitem(7088) > 2) && (countitem(7090) > 2) && (countitem(7092) > 2) && (countitem(726) > 1) && (countitem(722) > 2) && (countitem(727) > 9) && (countitem(724) > 4) && (countitem(969) > 19) && (countitem(2603) > 0)){ //Jewel_Of_Prayer Silver_Fancy Crystal_Of_Snow Slilince_Wave Air_Stream Blue_Jewel Scarlet_Jewel White_Jewel Cardinal_Jewel_ Gold Necklace
  456. mes "[Dwarf Grunburti]";
  457. mes "Never in my wildest";
  458. mes "imaginings have I thought that I'd be crafting this masterpiece for a mere human. Give me a moment.";
  459. next;
  460. if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){
  461. mes "[Dwarf Grunburti]";
  462. mes "But...";
  463. mes "The seals";
  464. mes "have just been";
  465. mes "restored. You'll have to";
  466. mes "wait until they're all";
  467. mes "released again...!";
  468. next;
  469. mes "[Dwarf Grunburti]";
  470. mes "Bwahahahahahahaa!";
  471. mes "Even though you're";
  472. mes "just a human, I feel";
  473. mes "pity for you~";
  474. close;
  475. }
  476. delitem 7073,4; //Jewel_Of_Prayer
  477. delitem 7077,4; //Silver_Fancy
  478. delitem 7088,3; //Crystal_Of_Snow
  479. delitem 7090,3; //Slilince_Wave
  480. delitem 7092,3; //Air_Stream
  481. delitem 726,2; //Blue_Jewel
  482. delitem 722,3; //Scarlet_Jewel
  483. delitem 727,10; //White_Jewel
  484. delitem 724,5; //Cardinal_Jewel_
  485. delitem 969,20; //Gold
  486. delitem 2603,1; //Necklace
  487. getitem 2630,1; // Brysinggamen
  488. set $God1,0;
  489. set $God2,0;
  490. set $God3,0;
  491. set $God4,0;
  492. announce "[Brisingamen] has come into the hands of [" + strcharinfo(0) + "], master of the [" + getguildname(.@GID) + "] guild.",bc_all;
  493. mes "[Dwarf Grunburti]";
  494. mes "Ah, just look at this dazzling beauty. No other piece of jewelry complemented Freya as well as Brisingamen.";
  495. close;
  496. }
  497. else {
  498. mes "[Dwarf Grunburti]";
  499. mes "Idiot human!";
  500. mes "You didn't bring";
  501. mes "everything I need to";
  502. mes "recreate Brisingamen!";
  503. mes "Hurry...!";
  504. close;
  505. }
  506. case 2:
  507. mes "[Dwarf Grunburti]";
  508. mes "Muhahahaha~";
  509. mes "Somehow, I figured";
  510. mes "you'd back out, human!";
  511. close;
  512. }
  513. case 2:
  514. mes "[Dwarf Grunburti]";
  515. mes "M- Megingjard?!";
  516. mes "The girdle of might?!";
  517. next;
  518. mes "[Dwarf Grunburti]";
  519. mes "This belt was worn long ago by Thor, the mightest warrior ever. But since these treasures select their owners, we'll see whether or not it recognizes you as worthy!";
  520. next;
  521. mes "[Dwarf Grunburti]";
  522. mes "Once again, I need following materials in order to reproduce";
  523. mes "this godly treasure...";
  524. next;
  525. mes "[Dwarf Grunburti]";
  526. mes "^0000FF1 Gleipnir";
  527. mes "20 Gold";
  528. mes "10 Sapphire";
  529. mes "10 Oridecon";
  530. mes "1 Belt^000000...";
  531. next;
  532. switch(select("Make Megingjard.:Cancel.")) {
  533. case 1:
  534. if ((countitem(7058) > 0) && (countitem(969) > 19) && (countitem(726) > 9) && (countitem(984) > 9) && (countitem(2627) > 0)) {
  535. mes "[Dwarf Grunburti]";
  536. mes "Twenty years ago,";
  537. mes "I'd never believe that";
  538. mes "something so powerful and dangerous as Megingjard would end up in the hands of a human...";
  539. next;
  540. if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){
  541. mes "[Dwarf Grunburti]";
  542. mes "But...";
  543. mes "The seals";
  544. mes "have just been";
  545. mes "restored. You'll have to";
  546. mes "wait until they're all";
  547. mes "released again...!";
  548. next;
  549. mes "[Dwarf Grunburti]";
  550. mes "Bwahahahahahahaa!";
  551. mes "Even though you're";
  552. mes "just a human, I feel";
  553. mes "pity for you~";
  554. close;
  555. }
  556. delitem 7058,1; //Gullraifnir
  557. delitem 969,20; //Gold
  558. delitem 726,10; //Blue_Jewel
  559. delitem 984,10; //Oridecon
  560. delitem 2627,1; //Belt
  561. getitem 2629,1; // Magingiorde
  562. set $God1,0;
  563. set $God2,0;
  564. set $God3,0;
  565. set $God4,0;
  566. announce "[Megingjard] the godly item has been given to [" + strcharinfo(0) + "], the master of the guild [" + getguildname(.@GID) + "].",bc_all;
  567. mes "[Dwarf Grunburti]";
  568. mes "Here...";
  569. mes "Be careful with how";
  570. mes "you use the strength";
  571. mes "of a god. Just a fair";
  572. mes "warning, human...";
  573. close;
  574. }
  575. else {
  576. mes "[Dwarf Grunburti]";
  577. mes "Idiot human!";
  578. mes "You didn't bring";
  579. mes "everything I need to";
  580. mes "recreate Megingjard!";
  581. mes "Hurry...!";
  582. close;
  583. }
  584. case 2:
  585. mes "[Dwarf Grunburti]";
  586. mes "Muhahahaha~";
  587. mes "Somehow, I figured";
  588. mes "you'd back out, human!";
  589. close;
  590. }
  591. case 3:
  592. mes "[Dwarf Grunburti]";
  593. mes "Sleipnir...";
  594. mes "Now, understand";
  595. mes "that I can't create";
  596. mes "the eight-legged stallion";
  597. mes "of legend. However...";
  598. next;
  599. mes "[Dwarf Grunburti]";
  600. mes "I can create a pair";
  601. mes "of shoes that will possess the power of Sleipnir. It's a strange, but feasible process...";
  602. next;
  603. mes "[Dwarf Grunburti]";
  604. mes "Once again, I need following materials in order to reproduce";
  605. mes "this godly treasure...";
  606. next;
  607. mes "[Dwarf Grunburti]";
  608. mes "^0000FF3 Wheel of the Unknown";
  609. mes "5 Feather of Angel Wing";
  610. mes "3 Sprit of Fish";
  611. mes "4 Amblem of the Sun God";
  612. mes "3 Breath of Spirit";
  613. mes "20 Gold";
  614. mes "10 Elunium";
  615. mes "1 Slotted Boots^000000...";
  616. next;
  617. switch(select("Make Sleipnir.:Cancel.")) {
  618. case 1:
  619. if ((countitem(7076) > 2) && (countitem(7079) > 4) && (countitem(7083) > 2) && (countitem(7086) > 3) && (countitem(7087) > 2) && (countitem(969) > 19) && (countitem(985) > 9) && (countitem(2406) > 0)) {
  620. mes "[Dwarf Grunburti]";
  621. mes "I never believed";
  622. mes "that the speed of";
  623. mes "Sleipnir would be";
  624. mes "used by a human.";
  625. mes "Give me a moment...";
  626. next;
  627. if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){
  628. mes "[Dwarf Grunburti]";
  629. mes "But...";
  630. mes "The seals";
  631. mes "have just been";
  632. mes "restored. You'll have to";
  633. mes "wait until they're all";
  634. mes "released again...!";
  635. next;
  636. mes "[Dwarf Grunburti]";
  637. mes "Bwahahahahahahaa!";
  638. mes "Even though you're";
  639. mes "just a human, I feel";
  640. mes "pity for you~";
  641. close;
  642. }
  643. delitem 7076,3; //Mystery_Wheel
  644. delitem 7079,5; //Feather_Of_Angel
  645. delitem 7083,3; //Soul_Of_Fish
  646. delitem 7086,4; //Symbol_Of_Sun
  647. delitem 7087,3; //Breath_Of_Soul
  648. delitem 969,20; //Gold
  649. delitem 985,10; //Elunium
  650. delitem 2406,1; //Boots_
  651. getitem 2410,1; // Sleipnir
  652. set $God1,0;
  653. set $God2,0;
  654. set $God3,0;
  655. set $God4,0;
  656. announce "[Sleipnir] the godly item has been given to [" + strcharinfo(0) + "], the master of the guild [" + getguildname(.@GID) + "].",bc_all;
  657. mes "[Dwarf Grunburti]";
  658. mes "There...";
  659. mes "Wear these, and";
  660. mes "move with the speed of";
  661. mes "the legendary Sleipnir...";
  662. close;
  663. }
  664. else {
  665. mes "[Dwarf Grunburti]";
  666. mes "Idiot human!";
  667. mes "You didn't bring";
  668. mes "everything I need to";
  669. mes "recreate Sleipnir!";
  670. mes "Hurry...!";
  671. close;
  672. }
  673. case 2:
  674. mes "[Dwarf Grunburti]";
  675. mes "Muhahahaha~";
  676. mes "Somehow, I figured";
  677. mes "you'd back out, human!";
  678. close;
  679. }
  680. case 4:
  681. mes "[Dwarf Grunburti]";
  682. mes "M-M-Mjolnir!?";
  683. mes "Even though the";
  684. mes "moment is at hand,";
  685. mes "I can scarcely believe...";
  686. next;
  687. mes "[Dwarf Grunburti]";
  688. mes "^333333*Sigh...*^000000";
  689. mes "This is almost a disgrace to gods and the Dwarf race. But perhaps, wielding Mjolnir may be your destiny...";
  690. next;
  691. mes "[Dwarf Grunburti]";
  692. mes "Once again, I need following materials in order to reproduce";
  693. mes "this godly treasure...";
  694. next;
  695. mes "[Dwarf Grunburti]";
  696. mes "^0000FF2 Thor's Gauntlets";
  697. mes "4 Iron Maiden";
  698. mes "5 Wrath of Valkyrie";
  699. mes "5 Omen of Tempest";
  700. mes "5 Billow";
  701. mes "20 Oridecon";
  702. mes "5 Elunium";
  703. mes "40 Gold";
  704. mes "1 Stunner^000000...";
  705. next;
  706. switch(select("Make Mjolnir.:Cancel.")) {
  707. case 1:
  708. if ((countitem(7074) > 1) && (countitem(7075) > 3) && (countitem(7078) > 4) && (countitem(7089) > 4) && (countitem(7091) > 4) && (countitem(984) > 19) && (countitem(985) > 4) && (countitem(969) > 39) && (countitem(1522) > 0)) {
  709. mes "[Dwarf Grunburti]";
  710. mes "Do not disgrace";
  711. mes "Thor, lord of Thunder,";
  712. mes "or you will regret it.";
  713. mes "Mark my words...";
  714. next;
  715. if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){
  716. mes "[Dwarf Grunburti]";
  717. mes "But...";
  718. mes "The seals";
  719. mes "have just been";
  720. mes "restored. You'll have to";
  721. mes "wait until they're all";
  722. mes "released again...!";
  723. next;
  724. mes "[Dwarf Grunburti]";
  725. mes "Bwahahahahahahaa!";
  726. mes "Even though you're";
  727. mes "just a human, I feel";
  728. mes "pity for you~";
  729. close;
  730. }
  731. delitem 7074,2; //Iron_Glove
  732. delitem 7075,4; //Iron_Maiden
  733. delitem 7078,5; //Anger_Of_Valkurye
  734. delitem 7089,5; //Indication_Of_Tempest
  735. delitem 7091,5; //Rough_Billows
  736. delitem 984,20; //Oridecon
  737. delitem 985,5; //Elunium
  738. delitem 969,40; //Gold
  739. delitem 1522,1; //Stunner
  740. getitem 1530,1; // Mjolnir
  741. set $God1,0;
  742. set $God2,0;
  743. set $God3,0;
  744. set $God4,0;
  745. announce "[Mjolnir] has been bestowed to [" + strcharinfo(0) + "], the master of the [" + getguildname(.@GID) + "] guild.",bc_all;
  746. mes "[Dwarf Grunburti]";
  747. mes "It's done.";
  748. mes "Take it. How does";
  749. mes "it feel to hold the world's most powerful weapon in your grasp?";
  750. close;
  751. }
  752. else {
  753. mes "[Dwarf Grunburti]";
  754. mes "Idiot human!";
  755. mes "You didn't bring";
  756. mes "everything I need";
  757. mes "to recreate Mjolnir!";
  758. mes "Hurry...!";
  759. close;
  760. }
  761. case 2:
  762. mes "[Dwarf Grunburti]";
  763. mes "Muhahahaha~";
  764. mes "Somehow, I figured";
  765. mes "you'd back out, human!";
  766. close;
  767. }
  768. }
  769. end;
  770. OnEnable:
  771. initnpctimer;
  772. end;
  773. OnTimer10000:
  774. mapannounce "que_god01","Remember that you only have 10 minutes for this! Hurry up!",bc_map;
  775. end;
  776. OnTimer610000:
  777. mapannounce "que_god01","You're too slow! I'm going to give another human a chance! Next!",bc_map;
  778. end;
  779. OnTimer612000:
  780. donpcevent "god_wep_warpmaster::OnEnable";
  781. end;
  782. OnTimer615000:
  783. donpcevent "god_wep_warpmaster::OnDisable";
  784. donpcevent "#god_hopewarp1::OnReset";
  785. stopnpctimer;
  786. end;
  787. }
  788. que_god01,169,82,0 script god_wep_warpmaster -1,{
  789. OnEnable:
  790. for(set .@i,1; .@i<=6; set .@i,.@i+1)
  791. enablenpc "god_failwarp#"+.@i;
  792. end;
  793. OnDisable:
  794. for(set .@i,1; .@i<=6; set .@i,.@i+1)
  795. disablenpc "god_failwarp#"+.@i;
  796. end;
  797. }
  798. que_god01,154,67,0 script god_failwarp#1 -1,4,7,{
  799. OnInit:
  800. disablenpc strnpcinfo(0);
  801. end;
  802. OnTouch_:
  803. warp "prontera",156,324;
  804. end;
  805. }
  806. que_god01,154,82,0 duplicate(god_failwarp#1) god_failwarp#2 -1,4,7
  807. que_god01,145,99,0 duplicate(god_failwarp#1) god_failwarp#3 -1,9,9
  808. que_god01,164,99,0 duplicate(god_failwarp#1) god_failwarp#4 -1,9,9
  809. que_god01,145,118,0 duplicate(god_failwarp#1) god_failwarp#5 -1,9,9
  810. que_god01,164,118,0 duplicate(god_failwarp#1) god_failwarp#6 -1,9,9
  811. // Original name: "Godly Item Quests Related#god"
  812. que_god01,293,3,0 script Godly Item Quests#god 90,{
  813. callfunc "F_GM_NPC";
  814. mes "[Use in case of emergency]";
  815. mes "Please enter password.";
  816. mes "If you wish to cancel, please enter 0.";
  817. next;
  818. set .@i, callfunc("F_GM_NPC",1854,0,0,4000);
  819. if (.@i == -2) {
  820. mes "[Use in case of emergency]";
  821. mes "Password is incorrect.";
  822. close;
  823. } else if (.@i == -1) {
  824. mes "[Use in case of emergency]";
  825. mes "You have canceled your request.";
  826. close;
  827. } else if (.@i == 0) {
  828. close;
  829. } else {
  830. mes "[Use in case of emergency]";
  831. mes "What services would you like to use?";
  832. next;
  833. switch(select("Turn off Warps.:Reset Timer.:Reset chat room.")) {
  834. case 1:
  835. mes "[Use in case of emergency]";
  836. mes "Press the 'Next' button to turn off warps.";
  837. next;
  838. donpcevent "god_wep_warpmaster::OnDisable";
  839. mes "[Use in case of emergency]";
  840. mes "You have successfully turned off warps.";
  841. close;
  842. case 2:
  843. mes "[Use in case of emergency]";
  844. mes "Press the 'Next' button to reset timer.";
  845. next;
  846. donpcevent "Grunburti#god::OnEnable";
  847. mes "[Use in case of emergency]";
  848. mes "You have successfully reset timer.";
  849. close;
  850. case 3:
  851. mes "[Use in case of emergency]";
  852. mes "Please press the 'Next' button to reset the arena chat room in que_god01.";
  853. next;
  854. donpcevent "#god_hopewarp1::OnReset";
  855. mes "[Use in case of emergency]";
  856. mes "You have successfully reset the arena chat room (Laboratory Entrance 1/2).";
  857. close;
  858. }
  859. }
  860. }