gefg_cas03.txt 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. //===== rAthena Script =======================================
  2. //= War of Emperium (Geffen) - Yesnelph
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.2
  7. //===== Compatible With: =====================================
  8. //= rAthena Project
  9. //===== Description: =========================================
  10. //= NPCs that relate to Geffen Guild Castle 3
  11. //===== Additional Comments: =================================
  12. //= 1.0 First Version. No longer uses functions. [L0ne_W0lf]
  13. //= 1.1 Removed dialog from interior flags. [L0ne_W0lf]
  14. //= 1.2 Partially rewrote Script. [Masao]
  15. //============================================================
  16. // Guild Flag (Outside Castle)
  17. //============================================================
  18. - script Yesnelph#1::OutsideFlagsG3 722,{
  19. set .@GID, GetCastleData("gefg_cas03",1);
  20. if (.@GID == 0) {
  21. mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
  22. mes " ";
  23. mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
  24. mes "We declare that";
  25. mes "there is no formal master of this castle.";
  26. mes " ";
  27. mes "2. To the one who can ";
  28. mes "overcome all trials";
  29. mes "and destroy the Emperium,";
  30. mes "the king will endow the one with";
  31. mes "ownership of this castle.";
  32. close;
  33. }
  34. if (getcharid(2) == .@GID) {
  35. mes "[ Echoing Voice ]";
  36. mes "Brave ones...";
  37. mes "Do you wish to return to your honorable place?";
  38. next;
  39. if(select("Return to the guild castle.:Quit.") == 1) {
  40. close2;
  41. if (getcharid(2) == GetCastleData("gefg_cas03",1)) {
  42. warp "gefg_cas03",221,30;
  43. end;
  44. }
  45. end;
  46. }
  47. close;
  48. }
  49. mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
  50. mes " ";
  51. mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
  52. mes "we approve that this place is in";
  53. mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
  54. mes " ";
  55. mes "2. The guild Master of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild is";
  56. mes "^ff0000"+GetGuildMaster(.@GID)+"^000000";
  57. mes "If there is anyone who objects to this,";
  58. mes "prove your strength and honor with a steel blade in your hand.";
  59. close;
  60. OnRecvCastleG03:
  61. FlagEmblem GetCastleData("gefg_cas03",1);
  62. end;
  63. }
  64. gef_fild13,78,182,4 duplicate(OutsideFlagsG3) Yesnelph#1-2 722
  65. gef_fild13,87,182,4 duplicate(OutsideFlagsG3) Yesnelph#2 722
  66. gef_fild13,73,295,7 duplicate(OutsideFlagsG3) Yesnelph#3 722
  67. gef_fild13,113,274,7 duplicate(OutsideFlagsG3) Yesnelph#4 722
  68. gef_fild13,144,235,6 duplicate(OutsideFlagsG3) Yesnelph#5 722
  69. gef_fild13,144,244,6 duplicate(OutsideFlagsG3) Yesnelph#6 722
  70. // Guild Flag (Inside Castle)
  71. //============================================================
  72. - script Yesnelph#7::InsideFlagsG3 722,{
  73. end;
  74. OnRecvCastleG03:
  75. FlagEmblem GetCastleData("gefg_cas03",1);
  76. end;
  77. }
  78. gefg_cas03,122,220,6 duplicate(InsideFlagsG3) Yesnelph#7-2 722
  79. gefg_cas03,122,229,6 duplicate(InsideFlagsG3) Yesnelph#8 722
  80. gefg_cas03,91,257,7 duplicate(InsideFlagsG3) Yesnelph#9 722
  81. gefg_cas03,52,276,7 duplicate(InsideFlagsG3) Yesnelph#10 722
  82. gefg_cas03,56,164,4 duplicate(InsideFlagsG3) Yesnelph#11 722
  83. gefg_cas03,65,164,4 duplicate(InsideFlagsG3) Yesnelph#12 722
  84. gefg_cas03,37,214,1 duplicate(InsideFlagsG3) Yesnelph#13 722
  85. gefg_cas03,34,208,1 duplicate(InsideFlagsG3) Yesnelph#14 722
  86. // Guild Flag (Town)
  87. //============================================================
  88. geffen,120,132,8 duplicate(InsideFlagsG3) Yesnelph#15 722
  89. // Kafra Employee
  90. //============================================================
  91. gefg_cas03,116,89,5 duplicate(guildkafra) Kafra Staff#gefg_cas03 117
  92. // Steward
  93. //============================================================
  94. gefg_cas03,106,23,5 duplicate(cm) Jyang#gefg_cas03 55
  95. // Treasure Room Exit
  96. //============================================================
  97. gefg_cas03,275,289,0 script #lever_G03 111,{
  98. mes " ";
  99. mes "There's a small lever. Will you pull it?";
  100. next;
  101. if(select("Pull.:Do not.") == 1) {
  102. close2;
  103. warp "gefg_cas03",106,24;
  104. end;
  105. }
  106. close;
  107. }
  108. // Guild Dungeon Switch
  109. //============================================================
  110. gefg_cas03,221,43,0 duplicate(gdlever) #gefg_cas03 111
  111. // Guild Treasure Spawns
  112. //============================================================
  113. gefg_cas03,271,290,0 duplicate(Gld_Trea_Spawn) Treasure#gefg_cas03 -1
  114. // AGIT Manager
  115. //============================================================
  116. gefg_cas03,245,167,0 duplicate(Gld_Agit_Manager) Agit#gefg_cas03 -1
  117. // Guardians
  118. //============================================================
  119. gefg_cas03,106,23,5 duplicate(Gld_Guard_Template) Guardian#gefg_cas03 -1