gefg_cas02.txt 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. //===== rAthena Script =======================================
  2. //= War of Emperium (Geffen) - Eeyorbriggar
  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 2
  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 Eeyorbriggar#1::OutsideFlagsG2 722,{
  19. set .@GID, GetCastleData("gefg_cas02",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_cas02",1)) {
  42. warp "gefg_cas02",178,43;
  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. OnRecvCastleG02:
  61. FlagEmblem GetCastleData("gefg_cas02",1);
  62. end;
  63. }
  64. gef_fild13,303,243,4 duplicate(OutsideFlagsG2) Eeyorbriggar#1-2 722
  65. gef_fild13,312,243,4 duplicate(OutsideFlagsG2) Eeyorbriggar#2 722
  66. gef_fild13,290,243,4 duplicate(OutsideFlagsG2) Eeyorbriggar#3 722
  67. gef_fild13,324,243,4 duplicate(OutsideFlagsG2) Eeyorbriggar#4 722
  68. // Guild Flag (Inside Castle)
  69. //============================================================
  70. - script Eeyorbriggar#5::InsideFlagsG2 722,{
  71. end;
  72. OnRecvCastleG02:
  73. FlagEmblem GetCastleData("gefg_cas02",1);
  74. end;
  75. }
  76. gefg_cas02,65,130,5 duplicate(InsideFlagsG2) Eeyorbriggar#5-2 722
  77. gefg_cas02,30,123,5 duplicate(InsideFlagsG2) Eeyorbriggar#6 722
  78. gefg_cas02,65,139,6 duplicate(InsideFlagsG2) Eeyorbriggar#7 722
  79. gefg_cas02,37,177,6 duplicate(InsideFlagsG2) Eeyorbriggar#8 722
  80. gefg_cas02,37,168,6 duplicate(InsideFlagsG2) Eeyorbriggar#9 722
  81. gefg_cas02,68,47,2 duplicate(InsideFlagsG2) Eeyorbriggar#10 722
  82. gefg_cas02,68,36,2 duplicate(InsideFlagsG2) Eeyorbriggar#11 722
  83. // Guild Flag (Town)
  84. //============================================================
  85. geffen,112,129,1 duplicate(InsideFlagsG2) Eeyorbriggar#12 722
  86. // Kafra Employee
  87. //============================================================
  88. gefg_cas02,23,66,3 duplicate(guildkafra) Kafra Staff#gefg_cas02 117
  89. // Steward
  90. //============================================================
  91. gefg_cas02,12,66,5 duplicate(cm) Esmarehk#gefg_cas02 55
  92. // Treasure Room Exit
  93. //============================================================
  94. gefg_cas02,145,114,0 script #lever_G02 111,{
  95. mes " ";
  96. mes "There's a small lever. Will you pull it?";
  97. next;
  98. if(select("Pull.:Do not.") == 1) {
  99. close2;
  100. warp "gefg_cas02",12,67;
  101. end;
  102. }
  103. close;
  104. }
  105. // Guild Dungeon Switch
  106. //============================================================
  107. gefg_cas02,167,40,0 duplicate(gdlever) #gefg_cas02 111
  108. // Guild Treasure Spawns
  109. //============================================================
  110. gefg_cas02,140,116,0 duplicate(Gld_Trea_Spawn) Treasure#gefg_cas02 -1
  111. // AGIT Manager
  112. //============================================================
  113. gefg_cas02,176,178,0 duplicate(Gld_Agit_Manager) Agit#gefg_cas02 -1
  114. // Guardians
  115. //============================================================
  116. gefg_cas02,12,66,5 duplicate(Gld_Guard_Template) Guardian#gefg_cas02 -1