quests_glastheim.txt 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. //===== rAthena Script =======================================
  2. //= NPCs related to Glastheim (Nightmare)
  3. //===== By: ==================================================
  4. //= Ridley8819
  5. //===== Current Version: =====================================
  6. //= 1.0
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Additional Comments: =================================
  10. //= 1.0 Initial release [Ridley8819]
  11. //= 1.1 Dialogue cleanup [Aleos]
  12. //============================================================
  13. glast_01,195,273,3 script Hugin's follower#1 2_F_MAGICMASTER,{
  14. mes "[Hugin's Follower]";
  15. mes "I can't move between time and dimensions like master Hugin but I can pretend to.";
  16. next;
  17. mes "[Hugin's Follower]";
  18. mes "What's causing this Glast Heim to be imbued with such a powerful dark force?";
  19. next;
  20. if( select( "I don't care:That is interesting, please tell me more" ) == 2 ){
  21. mes "[Hugin's Follower]";
  22. mes "Thanks to Hugin, I found the way to access this Old Glast Heim, which is imbued by such powerful dark forces.";
  23. next;
  24. mes "[Hugin's Follower]";
  25. mes "What do you say? Do you want to explore there?";
  26. next;
  27. if( select( "No exploration for me:I really want to explore!" ) == 2 ){
  28. mes "[Hugin's Follower]";
  29. mes "Sure, but this is not a free service! I have to get something in return. Hoho...";
  30. next;
  31. mes "[Hugin's Follower]";
  32. mes "I can send you to two places. Which place would you like me to send you?";
  33. next;
  34. switch( select( "Cancel:Monastery Cemetery (Lv100~130) - 5000z:2nd floor Corridor (Over Lv140) - 10000z" ) ){
  35. case 1:
  36. mes "[Hugin's Follower]";
  37. mes "Alright, please come back whenever you change your mind. I think you will have lots to talk with me about...";
  38. close;
  39. case 2:
  40. .@map$ = "gl_chyard_";
  41. .@x = 148;
  42. .@y = 144;
  43. .@zeny = 5000;
  44. break;
  45. case 3:
  46. .@map$ = "gl_cas02_";
  47. .@x = 104;
  48. .@y = 31;
  49. .@zeny = 10000;
  50. break;
  51. }
  52. if( Zeny < .@zeny ){
  53. mes "[Hugin's Follower]";
  54. mes "What? Did you expect this service for free?";
  55. close;
  56. }
  57. Zeny -= .@zeny;
  58. warp .@map$, .@x, .@y;
  59. end;
  60. }
  61. }
  62. mes "[Hugin's Follower]";
  63. mes "Well, if you are not interested in it, never mind.";
  64. close;
  65. }
  66. gl_chyard_,148,149,4 script Hugin's Follower#n_gh1 123,{
  67. mes "[Hugin's Follower]";
  68. mes "You want to return?";
  69. mes "Ok, let's get out of here.";
  70. next;
  71. if( select( "I didn't mean to talk to you:Please get me out of here" ) == 1 ){
  72. mes "[Hugin's Follower]";
  73. mes "Alright, just tell me whenever you want to leave.";
  74. close;
  75. }
  76. warp "glast_01", 210, 269;
  77. end;
  78. }
  79. gl_cas02_,104,36,4 duplicate(Hugin's Follower#n_gh1) Hugin's Follower#n_gh2 123