root/npc/guild/aldeg_cas03.txt @ 1

Revision 1, 6.1 kB (checked in by jinshiro, 17 years ago)
RevLine 
[1]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 3
11//===== Additional Comments: =================================
12//= 1.0 First Version. No longer uses functions. [L0ne_W0lf]
13//============================================================
14
15// Guild Flag (Town)
16//============================================================
17aldebaran,134,97,4      script  Nuenberg#a3-1::Nuenberg 722,{
18        end;
19
20OnRecvCastleA03:
21        FlagEmblem GetCastleData("aldeg_cas03",1);
22        end;
23}
24
25// Guild Flag (Outside Castle)
26//============================================================
27alde_gld,138,82,0       script  Nuenberg#a3-2::Nuenberg2        722,{
28        set .@GID, GetCastleData("aldeg_cas03",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_cas03",1)) {
49                                        warp "aldeg_cas03",118,76;
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
69OnRecvCastleA03:
70        FlagEmblem GetCastleData("aldeg_cas03",1);
71        end;
72}
73
74alde_gld,146,82,0       duplicate(Nuenberg2)    Nuenberg#a3-3   722
75
76// Guild Flag (Inside Castle)
77//============================================================
78aldeg_cas03,176,175,2   script  Nuenberg#a3-4::Nuenberg3        722,{
79        set .@GID, GetCastleData("aldeg_cas03",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
108OnRecvCastleA03:
109        FlagEmblem GetCastleData("aldeg_cas03",1);
110        end;
111}
112
113aldeg_cas03,77,115,2    duplicate(Nuenberg3)    Nuenberg#a3-5   722
114aldeg_cas03,77,215,2    duplicate(Nuenberg3)    Nuenberg#a3-6   722
115aldeg_cas03,112,107,2   duplicate(Nuenberg3)    Nuenberg#a3-7   722
116aldeg_cas03,112,117,2   duplicate(Nuenberg3)    Nuenberg#a3-8   722
117aldeg_cas03,69,71,2     duplicate(Nuenberg3)    Nuenberg#a3-9   722
118aldeg_cas03,91,69,2     duplicate(Nuenberg3)    Nuenberg#a3-10  722
119aldeg_cas03,108,60,2    duplicate(Nuenberg3)    Nuenberg#a3-11  722
120aldeg_cas03,121,73,2    duplicate(Nuenberg3)    Nuenberg#a3-12  722
121aldeg_cas03,121,73,2    duplicate(Nuenberg3)    Nuenberg#a3-13  722
122aldeg_cas03,75,102,2    duplicate(Nuenberg3)    Nuenberg#a3-14  722
123aldeg_cas03,199,169,2   duplicate(Nuenberg3)    Nuenberg#a3-15  722
124aldeg_cas03,181,179,2   duplicate(Nuenberg3)    Nuenberg#a3-16  722
125aldeg_cas03,192,44,2    duplicate(Nuenberg3)    Nuenberg#a3-17  722
126aldeg_cas03,208,145,2   duplicate(Nuenberg3)    Nuenberg#a3-18  722
127aldeg_cas03,207,75,2    duplicate(Nuenberg3)    Nuenberg#a3-19  722
128aldeg_cas03,96,62,2     duplicate(Nuenberg3)    Nuenberg#a3-20  722
129
130// AGIT Manager
131//============================================================
132aldeg_cas03,206,32,0    duplicate(Gld_Agit_Manager)     Agit#aldeg_cas03        -1
133
134// Steward
135//============================================================
136aldeg_cas03,110,118,0   duplicate(Gld_Mngr_Template)    Nahzarf#aldeg_cas03     55
137
138// Guardians
139//============================================================
140aldeg_cas03,110,118,0   duplicate(Gld_Guard_Template)   Guardian#aldeg_cas03    -1
141
142// Kafra Staff
143//============================================================
144aldeg_cas03,118,76,0    duplicate(Gld_Kafra_Template)   Kafra Staff#aldeg_cas03 117
145
146// Master's Room Exit
147//============================================================
148aldeg_cas03,229,267,0   script  #switch_A03     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_cas03",110,119;
155                break;
156        case 2:
157                break;
158        }
159        end;
160}
161
162// Guild Treasure Protection
163//============================================================
164aldeg_cas03,225,269,0   duplicate(Gld_Trea_Protect)     ban_warp#aldeg_cas03    -1,8,8
165
166// Guild Treasure Spawns
167//============================================================
168aldeg_cas03,225,269,0   duplicate(Gld_Trea_Spawn)       Treasure#aldeg_cas03    -1
169
170// Guild Dungeon Switch
171//============================================================
172aldeg_cas03,200,177,0   duplicate(Gld_Dun_Template)     #aldeg_cas03    111
Note: See TracBrowser for help on using the browser.