gefg_cas05.txt 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. //===== rAthena Script =======================================
  2. //= War of Emperium (Geffen) - Mersetzdeitz
  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 5
  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 Mersetzdeitz#1::OutsideFlagsG5 722,{
  19. set .@GID, GetCastleData("gefg_cas05",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_cas05",1)) {
  42. warp "gefg_cas05",168,31;
  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. OnRecvCastleG05:
  61. FlagEmblem GetCastleData("gefg_cas05",1);
  62. end;
  63. }
  64. gef_fild13,302,87,7 duplicate(OutsideFlagsG5) Mersetzdeitz#1-2 722
  65. gef_fild13,313,83,0 duplicate(OutsideFlagsG5) Mersetzdeitz#2 722
  66. gef_fild13,252,51,2 duplicate(OutsideFlagsG5) Mersetzdeitz#3 722
  67. gef_fild13,26,147,2 duplicate(OutsideFlagsG5) Mersetzdeitz#4 722
  68. // Guild Flag (Inside Castle)
  69. //============================================================
  70. - script Mersetzdeitz#5::InsideFlagsG5 722,{
  71. end;
  72. OnRecvCastleG05:
  73. FlagEmblem GetCastleData("gefg_cas05",1);
  74. end;
  75. }
  76. gefg_cas05,77,185,7 duplicate(InsideFlagsG5) Mersetzdeitz#5-2 722
  77. gefg_cas05,92,181,0 duplicate(InsideFlagsG5) Mersetzdeitz#6 722
  78. gefg_cas05,83,158,1 duplicate(InsideFlagsG5) Mersetzdeitz#7 722
  79. gefg_cas05,62,144,7 duplicate(InsideFlagsG5) Mersetzdeitz#8 722
  80. gefg_cas05,62,66,4 duplicate(InsideFlagsG5) Mersetzdeitz#9 722
  81. gefg_cas05,69,66,4 duplicate(InsideFlagsG5) Mersetzdeitz#10 722
  82. // Guild Flag (Town)
  83. //============================================================
  84. geffen,131,123,6 duplicate(InsideFlagsG5) Mersetzdeitz#11 722
  85. // Kafra Employee
  86. //============================================================
  87. gefg_cas05,61,52,5 duplicate(guildkafra) Kafra Staff#gefg_cas05 117
  88. // Steward
  89. //============================================================
  90. gefg_cas05,70,52,3 duplicate(cm) Byohre#gefg_cas05 55
  91. // Treasure Room Exit
  92. //============================================================
  93. gefg_cas05,149,107,0 script #lever_G05 111,{
  94. mes " ";
  95. mes "There's a small lever. Will you pull it?";
  96. next;
  97. if(select("Pull.:Do not.") == 1) {
  98. close2;
  99. warp "gefg_cas05",70,53;
  100. end;
  101. }
  102. close;
  103. }
  104. // Guild Dungeon Switch
  105. //============================================================
  106. gefg_cas05,65,22,0 duplicate(gdlever) #gefg_cas05 111
  107. // Guild Treasure Spawns
  108. //============================================================
  109. gefg_cas05,144,110,0 duplicate(Gld_Trea_Spawn) Treasure#gefg_cas05 -1
  110. // AGIT Manager
  111. //============================================================
  112. gefg_cas05,194,184,0 duplicate(Gld_Agit_Manager) Agit#gefg_cas05 -1
  113. // Guardians
  114. //============================================================
  115. gefg_cas05,70,52,3 duplicate(Gld_Guard_Template) Guardian#gefg_cas05 -1