summaryrefslogtreecommitdiff
path: root/npc/guild/gldfunc_flag.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-28 23:34:14 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-28 23:34:14 +0000
commit01123b8b2f4a77936f8c1358fb2f1c638e169343 (patch)
tree3a01e72c80fd91a5d45c79b0237bb8bf9e2deb94 /npc/guild/gldfunc_flag.txt
parent80366703f21e3cbcdecf02863ceafe69f96c132b (diff)
downloadhercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.gz
hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.bz2
hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.tar.xz
hercules-01123b8b2f4a77936f8c1358fb2f1c638e169343.zip
* Rewrote the WoE 1.0 from the ground up nearly.
- Renamed the WoE Time setting NPC to "agit_controller.txt" - System is set up to mimic Aegis, some parts are still lacking. - Documentation on the new system is forth-coming. - Updated Novice WoE scripts to keep them from breaking. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12673 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/guild/gldfunc_flag.txt')
-rw-r--r--npc/guild/gldfunc_flag.txt72
1 files changed, 0 insertions, 72 deletions
diff --git a/npc/guild/gldfunc_flag.txt b/npc/guild/gldfunc_flag.txt
deleted file mode 100644
index c5c98932e..000000000
--- a/npc/guild/gldfunc_flag.txt
+++ /dev/null
@@ -1,72 +0,0 @@
-//===== eAthena Script =======================================
-//= War of Emperium Guild Flags Function
-//===== By: ==================================================
-//= jAthena - kalen (1.0)
-//= 1.1 by Akaru, ho|yAnge|X, and Valaris
-//===== Current Version: =====================================
-//= 1.6
-//===== Compatible With: =====================================
-//= eAthena SVN; RO Episode 4+
-//===== Description: =========================================
-//= Flags display messages stating whether or not a guild castle has been captured.
-//= Allows the guild members to return to a captured castle.
-//======================================
-//= Break down of arguments used in the function:
-//= arg(0): name of City.
-//= arg(1): name of guild castle.
-//= arg(2): x1 coordinate for warp
-//= arg(3): y1 coordinate for warp
-//= arg(4): Teleportable (0/1)
-//= arg(5): Display Flag Dialog (0/1)
-//===== Additional Comments: =================================
-//= v1.2: All Guild flags scripts use this function. [kobra_k88]
-//= v1.3: Can now only flag in from outside the castle [Kayla]
-//= v1.3a: Implemented k3dt's exploit fix [Vicious]
-//= v1.4: By default town flags are set to no longer show text. [L0ne_W0lf]
-//= v1.5: Updated remaining dialog to iRO standards. [L0ne_W0lf]
-//= v1.6 Restructred script, and removed use of gotos. [L0ne_W0lf]
-//= 6.17 Whoops. fices a @GID -> .@GID. [L0ne_W0lf]
-//============================================================
-
-function script F_Flags {
- set .@GID, GetCastleData(getarg(1),1);
- if (getarg(5) == 0) return;
- if (.@GID == 0) {
- mes " [ Edict of the Divine Rune Midgard Kingdom ]";
- mes " ";
- mes "1. Follow the ordinance of The Divine Rune Midgard Kingdom, ";
- mes "We declare that";
- mes "there is no formal master of this castle.";
- mes " ";
- mes "2. To the one who can ";
- mes "overcome all trials";
- mes "and destroy the Emperium,";
- mes "the king will endow the one with";
- mes "ownership of this castle.";
- return;
- }
- else {
- if (getcharid(2) == .@GID && getarg(4) == 1) {
- mes "Brave ones...";
- mes "Do you wish to return to your honorable place?";
- next;
- if (select("Return to the guild castle.:Quit.") == 1) {
- if (getcharid(2) == GetCastleData(getarg(1),1))
- warp getarg(1),getarg(2),getarg(3);
- }
- return;
- }
- mes "[ Edict of the Divine Rune Midgard Kingdom ]";
- mes " ";
- mes "1. Following the ordinance of the";
- mes "Divine Rune Midgard Kingdom,";
- mes "we approve that this place is in";
- mes "the private possession of ^ff0000" + GetGuildName(.@GID) + "^000000 Guild.";
- mes " ";
- mes "2. The guild Master of ^ff0000"+ GetGuildName(.@GID) + "^000000 Guild is";
- mes "^FF0000" + GetGuildMaster(.@GID) + "^000000";
- mes "If there is anyone who objects to this,";
- mes " prove your strength and honor with a steel blade in your hand.";
- return;
- }
-}