root/npc/guild/aldeg_cas04.txt

Revision 1, 6.1 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= War of Emperium (Al De baran)
3//===== By: ==================================================
4//= L0ne_W0lf
5//===== Current Version: =====================================
6//= 1.0
7//===== Compatible With: =====================================
8//= eAthena SVN
9//===== Description: =========================================
10//= NPCs that relate to Al De Baran Guild Castle 4
11//===== Additional Comments: =================================
12//= 1.0 First Version. No longer uses functions. [L0ne_W0lf]
13//============================================================
14
15// Guild Flag (Town)
16//============================================================
17aldebaran,131,97,4      script  Wuerzburg#a4-1::Wuerzburg       722,{
18        end;
19
20OnRecvCastleA04:
21        FlagEmblem GetCastleData("aldeg_cas04",1);
22        end;
23}
24
25// Guild Flag (Outside Castle)
26//============================================================
27alde_gld,239,246,2      script  Wuerzburg#a4-2::Wuerzburg2      722,{
28        set .@GID, GetCastleData("aldeg_cas04",1);
29        if (.@GID == 0) {
30                mes " [ Edict of the Divine Rune Midgard Kingdom ]";
31                mes " ";
32                mes "1. Follow the ordinance of The Divine Rune Midgard Kingdom, ";
33                mes "We declare that";
34                mes "there is no formal master of this castle.";
35                mes " ";
36                mes "2. To the one who can ";
37                mes "overcome all trials";
38                mes "and destroy the Emperium,";
39                mes "the king will endow the one with";
40                mes "ownership of this castle.";
41        }
42        else {
43                if (getcharid(2) == .@GID) {
44                        mes "Brave ones...";
45                        mes "Do you wish to return to your honorable place?";
46                        next;
47                        if (select("Return to the guild castle.:Quit.") == 1) {
48                                if (getcharid(2) == GetCastleData("aldeg_cas04",1)) {
49                                        warp "aldeg_cas04",45,88;
50                                        end;
51                                }
52                        }
53                        close;
54                }
55                mes "[ Edict of the Divine Rune Midgard Kingdom ]";
56                mes " ";
57                mes "1. Following the ordinance of the";
58                mes "Divine Rune Midgard Kingdom,";
59                mes "we approve that this place is in";
60                mes "the private possession of ^ff0000" + GetGuildName(.@GID) + "^000000 Guild.";
61                mes " ";
62                mes "2. The guild Master of ^ff0000"+ GetGuildName(.@GID) + "^000000 Guild is";
63                mes "^FF0000" + GetGuildMaster(.@GID) + "^000000";
64                mes "If there is anyone who objects to this,";
65                mes " prove your strength and honor with a steel blade in your hand.";
66        }
67        close;
68
69OnRecvCastleA04:
70        FlagEmblem GetCastleData("aldeg_cas04",1);
71        end;
72}
73
74alde_gld,239,239,2      duplicate(Wuerzburg2)   Wuerzburg#a4-3  722
75
76// Guild Flag (Inside Castle)
77//============================================================
78aldeg_cas04,167,61,2    script  Wuerzburg#a4-4::Wuerzburg3      722,{
79        set .@GID, GetCastleData("aldeg_cas04",1);
80        if (.@GID == 0) {
81                mes " [ Edict of the Divine Rune Midgard Kingdom ]";
82                mes " ";
83                mes "1. Follow the ordinance of The Divine Rune Midgard Kingdom, ";
84                mes "We declare that";
85                mes "there is no formal master of this castle.";
86                mes " ";
87                mes "2. To the one who can ";
88                mes "overcome all trials";
89                mes "and destroy the Emperium,";
90                mes "the king will endow the one with";
91                mes "ownership of this castle.";
92        }
93        else {
94                mes "[ Edict of the Divine Rune Midgard Kingdom ]";
95                mes " ";
96                mes "1. Following the ordinance of the";
97                mes "Divine Rune Midgard Kingdom,";
98                mes "we approve that this place is in";
99                mes "the private possession of ^ff0000" + GetGuildName(.@GID) + "^000000 Guild.";
100                mes " ";
101                mes "2. The guild Master of ^ff0000"+ GetGuildName(.@GID) + "^000000 Guild is";
102                mes "^FF0000" + GetGuildMaster(.@GID) + "^000000";
103                mes "If there is anyone who objects to this,";
104                mes " prove your strength and honor with a steel blade in your hand.";
105        }
106        close;
107
108OnRecvCastleA04:
109        FlagEmblem GetCastleData("aldeg_cas04",1);
110        end;
111}
112
113aldeg_cas04,164,90,2    duplicate(Wuerzburg3)   Wuerzburg#a4-5  722
114aldeg_cas04,129,193,2   duplicate(Wuerzburg3)   Wuerzburg#a4-6  722
115aldeg_cas04,112,206,2   duplicate(Wuerzburg3)   Wuerzburg#a4-7  722
116aldeg_cas04,113,212,2   duplicate(Wuerzburg3)   Wuerzburg#a4-8  722
117aldeg_cas04,77,117,2    duplicate(Wuerzburg3)   Wuerzburg#a4-9  722
118aldeg_cas04,186,42,2    duplicate(Wuerzburg3)   Wuerzburg#a4-10 722
119aldeg_cas04,30,69,2     duplicate(Wuerzburg3)   Wuerzburg#a4-11 722
120aldeg_cas04,55,97,2     duplicate(Wuerzburg3)   Wuerzburg#a4-12 722
121aldeg_cas04,45,98,2     duplicate(Wuerzburg3)   Wuerzburg#a4-13 722
122aldeg_cas04,33,116,2    duplicate(Wuerzburg3)   Wuerzburg#a4-14 722
123aldeg_cas04,130,180,2   duplicate(Wuerzburg3)   Wuerzburg#a4-15 722
124aldeg_cas04,129,193,2   duplicate(Wuerzburg3)   Wuerzburg#a4-16 722
125aldeg_cas04,33,107,2    duplicate(Wuerzburg3)   Wuerzburg#a4-17 722
126aldeg_cas04,133,220,2   duplicate(Wuerzburg3)   Wuerzburg#a4-18 722
127aldeg_cas04,169,22,2    duplicate(Wuerzburg3)   Wuerzburg#a4-19 722
128aldeg_cas04,169,15,2    duplicate(Wuerzburg3)   Wuerzburg#a4-20 722
129
130// AGIT Manager
131//============================================================
132aldeg_cas04,36,218,0    duplicate(Gld_Agit_Manager)     Agit#aldeg_cas04        -1
133
134// Steward
135//============================================================
136aldeg_cas04,67,116,0    duplicate(Gld_Mngr_Template)    Brymhensen#aldeg_cas04  55
137
138// Guardians
139//============================================================
140aldeg_cas04,67,116,0    duplicate(Gld_Guard_Template)   Guardian#aldeg_cas04    -1
141
142// Kafra Staff
143//============================================================
144aldeg_cas04,45,88,0     duplicate(Gld_Kafra_Template)   Kafra Staff#aldeg_cas04 117
145
146// Master's Room Exit
147//============================================================
148aldeg_cas04,83,17,0     script  #switch_A04     111,{
149        mes " ";
150        mes "There's a small lever. Will you pull it? ";
151        next;
152        switch(select("Pull.:Do not.")) {
153        case 1:
154                warp "aldeg_cas04",67,117;
155                break;
156        case 2:
157                break;
158        }
159        end;
160}
161
162// Guild Treasure Protection
163//============================================================
164aldeg_cas04,84,13,0     duplicate(Gld_Trea_Protect)     ban_warp#aldeg_cas04    -1,8,8
165
166// Guild Treasure Spawns
167//============================================================
168aldeg_cas04,84,13,0     duplicate(Gld_Trea_Spawn)       Treasure#aldeg_cas04    -1
169
170// Guild Dungeon Switch
171//============================================================
172aldeg_cas04,38,76,0     duplicate(Gld_Dun_Template)     #aldeg_cas04    111
Note: See TracBrowser for help on using the browser.