juperos.txt 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. //===== Athena Script =====================================
  2. //= Juperos Dungeon Quests
  3. //===== By ================================================
  4. //= MasterOfMuppets
  5. //===== Version ===========================================
  6. //= 1.0
  7. //===== Compatible With ===================================
  8. //= eAthena 1.0
  9. //===== Description =======================================
  10. //=
  11. //===== Comments ==========================================
  12. //= 1.0 First version, partly implemented [MasterOfMuppets]
  13. //=========================================================
  14. juperos_01.gat,79,91,1 script Sculpture#Juperos1 111,{
  15. mes "^3131FFIt's a sculpture that";
  16. mes "looks familiar to you.";
  17. close;
  18. }
  19. juperos_01.gat,100,71,1 script Bronze Statue#Juperos2 111,{
  20. mes "^3131FFIt's an elaborate";
  21. mes "bronze statue that";
  22. mes "is twice the height of";
  23. mes "a normal human being.";
  24. close;
  25. }
  26. juperos_01.gat,124,92,1 script Stone Statue#Juperos3 111,{
  27. mes "^3131FFIt's an old";
  28. mes "statue sculpted";
  29. mes "out of stone.";
  30. close;
  31. }
  32. //Quest related?
  33. //juperos_01.gat,x,y,1 script Bronze Statue#Juperos4 111,{
  34. //
  35. // mes "^3131FFThere's a peculiar";
  36. // mes "engraving on the";
  37. // mes "Bronze Statue's rod.";
  38. // next;
  39. // menu "Investigate",s_Invest,"Ignore it",-;
  40. //
  41. // close;
  42. //
  43. //s_Invest:
  44. //
  45. // mes "^3131FFIt's an inscription that's";
  46. // mes "written in an old language";
  47. // mes "that you can't understand,";
  48. // mes "but have no problem reading";
  49. // mes "and making out the sounds";
  50. // mes "for some weird reason.";
  51. // next;
  52. // mes "[" + strcharinfo(0) + "]";
  53. // mes "This is creepy!";
  54. // mes "I know that I'm not";
  55. // mes "supposed to be able";
  56. // mes "to read this, but here";
  57. // mes "I am. I know what sounds";
  58. // mes "all of these letters make...";
  59. // next;
  60. // mes "[" + strcharinfo(0) + "]";
  61. // mes "Huh. Only a scholar,";
  62. // mes "maybe someone even in";
  63. // mes "Juno, could make sense";
  64. // mes "of what this stuff says.";
  65. // close;
  66. //
  67. //}
  68. juperos_02.gat,1,1,1 script JuperosLvl2QuestInit -1,{
  69. OnInit:
  70. while(1)
  71. {
  72. monster "juperos_02.gat",24,276,"1st Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate1Dead";
  73. monster "juperos_02.gat",240,29,"2nd Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate2Dead";
  74. monster "juperos_02.gat",282,183,"3rd Gate Switch",1674,1,"JuperosLvl2QuestInit::OnGate3Dead";
  75. end;
  76. OnGate1Dead:
  77. mapannounce "juperos_02.gat","Have you come seeking Juperos?! It no longer exists...",1,0xFF0000;
  78. set $JupeGate1,1;
  79. if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
  80. end;
  81. OnGate2Dead:
  82. mapannounce "juperos_02.gat","Who are you to come here?",1,0xFF0000;
  83. set $JupeGate2,1;
  84. if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
  85. end;
  86. OnGate3Dead:
  87. mapannounce "juperos_02.gat","Have you come to see me? Fine! Find me first!",1,0xFF0000;
  88. set $JupeGate3,1;
  89. if($JupeGate1 && $JupeGate2 && $JupeGate3)goto s_WarpOpen;
  90. end;
  91. s_WarpOpen:
  92. attachnpctimer;
  93. initnpctimer;
  94. end;
  95. OnTimer3000:
  96. mapannounce "juperos_02.gat","Vroom! Vroom!",1,0xBA55D3;
  97. end;
  98. OnTimer6000:
  99. mapannounce "juperos_02.gat","Attention, visitors.",1,0xBA55D3;
  100. end;
  101. OnTimer9000:
  102. mapannounce "juperos_02.gat","You are allowed to enter the next zone for a short period of time. Please use the portal in the center of the map.",1,0xBA55D3;
  103. enablenpc "JupeWarp2";
  104. end;
  105. OnTimer309000:
  106. mapannounce "juperos_02.gat","The portal has now closed.",1,0xBA55D3;
  107. disablenpc "JupeWarp2";
  108. set $JupeGate1,0;
  109. set $JupeGate2,0;
  110. set $JupeGate3,0;
  111. stopnpctimer;
  112. }
  113. }