gefg_cas05.txt 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. //===== eAthena Script =======================================
  2. //= War of Emperium (Geffen)
  3. //===== By: ==================================================
  4. //= L0ne_W0lf
  5. //===== Current Version: =====================================
  6. //= 1.1
  7. //===== Compatible With: =====================================
  8. //= eAthena SVN
  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. //============================================================
  15. // Guild Flag (Town)
  16. //============================================================
  17. geffen,131,123,6 script Mersetzdeitz#g5-1::Mersetzdeitz 722,{
  18. end;
  19. OnRecvCastleG05:
  20. FlagEmblem GetCastleData("gefg_cas05",1);
  21. end;
  22. }
  23. // Guild Flag (Outside Castle)
  24. //============================================================
  25. gef_fild13,302,87,7 script Mersetzdeitz#g5-2::Mersetzdeitz2 722,{
  26. set .@GID, GetCastleData("gefg_cas05",1);
  27. if (.@GID == 0) {
  28. mes " [ Edict of the Divine Rune Midgard Kingdom ]";
  29. mes " ";
  30. mes "1. Follow the ordinance of The Divine Rune Midgard Kingdom, ";
  31. mes "We declare that";
  32. mes "there is no formal master of this castle.";
  33. mes " ";
  34. mes "2. To the one who can ";
  35. mes "overcome all trials";
  36. mes "and destroy the Emperium,";
  37. mes "the king will endow the one with";
  38. mes "ownership of this castle.";
  39. }
  40. else {
  41. if (getcharid(2) == .@GID) {
  42. mes "Brave ones...";
  43. mes "Do you wish to return to your honorable place?";
  44. next;
  45. if (select("Return to the guild castle.:Quit.") == 1) {
  46. if (getcharid(2) == GetCastleData("gefg_cas05",1)) {
  47. warp "gefg_cas05",61,52;
  48. //warp "gefg_cas05",168,31;
  49. end;
  50. }
  51. }
  52. close;
  53. }
  54. mes "[ Edict of the Divine Rune Midgard Kingdom ]";
  55. mes " ";
  56. mes "1. Following the ordinance of the";
  57. mes "Divine Rune Midgard Kingdom,";
  58. mes "we approve that this place is in";
  59. mes "the private possession of ^ff0000" + GetGuildName(.@GID) + "^000000 Guild.";
  60. mes " ";
  61. mes "2. The guild Master of ^ff0000"+ GetGuildName(.@GID) + "^000000 Guild is";
  62. mes "^FF0000" + GetGuildMaster(.@GID) + "^000000";
  63. mes "If there is anyone who objects to this,";
  64. mes " prove your strength and honor with a steel blade in your hand.";
  65. }
  66. close;
  67. OnRecvCastleG05:
  68. FlagEmblem GetCastleData("gefg_cas05",1);
  69. end;
  70. }
  71. gef_fild13,313,83,0 duplicate(Mersetzdeitz2) Mersetzdeitz#g5-3 722
  72. gef_fild13,252,51,2 duplicate(Mersetzdeitz2) Mersetzdeitz#g5-4 722
  73. gef_fild13,26,147,2 duplicate(Mersetzdeitz2) Mersetzdeitz#g5-5 722
  74. // Guild Flag (Inside Castle)
  75. //============================================================
  76. gefg_cas05,77,185,7 script Mersetzdeitz#g5-5::Mersetzdeitz3 722,{
  77. end;
  78. OnRecvCastleG05:
  79. FlagEmblem GetCastleData("gefg_cas05",1);
  80. end;
  81. }
  82. gefg_cas05,92,181,0 duplicate(Mersetzdeitz3) Mersetzdeitz#g5-7 722
  83. gefg_cas05,83,158,1 duplicate(Mersetzdeitz3) Mersetzdeitz#g5-8 722
  84. gefg_cas05,62,144,7 duplicate(Mersetzdeitz3) Mersetzdeitz#g5-9 722
  85. gefg_cas05,62,66,4 duplicate(Mersetzdeitz3) Mersetzdeitz#g5-10 722
  86. gefg_cas05,69,66,4 duplicate(Mersetzdeitz3) Mersetzdeitz#g5-11 722
  87. // AGIT Manager
  88. //============================================================
  89. gefg_cas05,194,184,0 duplicate(Gld_Agit_Manager) Agit#gefg_cas05 -1
  90. // Steward
  91. //============================================================
  92. gefg_cas05,70,52,3 duplicate(Gld_Mngr_Template) Byohre#gefg_cas05 55
  93. // Guardians
  94. //============================================================
  95. gefg_cas05,70,52,3 duplicate(Gld_Guard_Template) Guardian#gefg_cas05 -1
  96. // Kafra Staff
  97. //============================================================
  98. gefg_cas05,61,52,3 duplicate(Gld_Kafra_Template) Kafra Staff#gefg_cas05 117
  99. // Master's Room Exit
  100. //============================================================
  101. gefg_cas05,149,107,0 script #switch_G05 111,{
  102. mes " ";
  103. mes "There's a small lever. Will you pull it? ";
  104. next;
  105. if(select("Pull.:Do not.") == 2) close;
  106. warp "gefg_cas05",70,53;
  107. end;
  108. }
  109. // Guild Treasure Protection
  110. //============================================================
  111. gefg_cas05,144,110,0 duplicate(Gld_Trea_Protect) ban_warp#gefg_cas05 -1,6,6
  112. // Guild Treasure Spawns
  113. //============================================================
  114. gefg_cas05,144,110,0 duplicate(Gld_Trea_Spawn) Treasure#gefg_cas05 -1
  115. // Guild Dungeon Switch
  116. //============================================================
  117. gefg_cas05,66,29,0 duplicate(Gld_Dun_Template) #gefg_cas05 111