root/npc/guild/aldeg_cas01.txt @ 1

Revision 1, 6.4 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 1
11//===== Additional Comments: =================================
12//= 1.0 First Version. No longer uses functions. [L0ne_W0lf]
13//============================================================
14
15// Guild Flag (Town)
16//============================================================
17aldebaran,152,97,4      script  Neuschwanstein#a1-1     722,{
18        end;
19
20OnRecvCastleA01:
21        FlagEmblem GetCastleData("aldeg_cas01",1);
22        end;
23}
24
25// Guild Flag (Outside Castle)
26//============================================================
27alde_gld,61,87,6        script  Neuschwanstein#a1-2::Neuschwanstein2    722,{
28        set .@GID, GetCastleData("aldeg_cas01",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_cas01",1)) {
49                                        warp "aldeg_cas01",218,170;
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
69OnRecvCastleA01:
70        FlagEmblem GetCastleData("aldeg_cas01",1);
71        end;
72}
73
74alde_gld,61,79,6        duplicate(Neuschwanstein2)      Neuschwanstein#a1-3     722
75alde_gld,45,87,8        duplicate(Neuschwanstein2)      Neuschwanstein#a1-4     722
76alde_gld,51,87,8        duplicate(Neuschwanstein2)      Neuschwanstein#a1-5     722
77
78// Guild Flag (Inside Castle)
79//============================================================
80aldeg_cas01,30,248,4    script  Neuschwanstein#a1-6::Neuschwanstein3    722,{
81        set .@GID, GetCastleData("aldeg_cas01",1);
82        if (.@GID == 0) {
83                mes " [ Edict of the Divine Rune Midgard Kingdom ]";
84                mes " ";
85                mes "1. Follow the ordinance of The Divine Rune Midgard Kingdom, ";
86                mes "We declare that";
87                mes "there is no formal master of this castle.";
88                mes " ";
89                mes "2. To the one who can ";
90                mes "overcome all trials";
91                mes "and destroy the Emperium,";
92                mes "the king will endow the one with";
93                mes "ownership of this castle.";
94        }
95        else {
96                mes "[ Edict of the Divine Rune Midgard Kingdom ]";
97                mes " ";
98                mes "1. Following the ordinance of the";
99                mes "Divine Rune Midgard Kingdom,";
100                mes "we approve that this place is in";
101                mes "the private possession of ^ff0000" + GetGuildName(.@GID) + "^000000 Guild.";
102                mes " ";
103                mes "2. The guild Master of ^ff0000"+ GetGuildName(.@GID) + "^000000 Guild is";
104                mes "^FF0000" + GetGuildMaster(.@GID) + "^000000";
105                mes "If there is anyone who objects to this,";
106                mes " prove your strength and honor with a steel blade in your hand.";
107        }
108        close;
109
110OnRecvCastleA01:
111        FlagEmblem GetCastleData("aldeg_cas01",1);
112        end;
113}
114
115aldeg_cas01,30,246,4    duplicate(Neuschwanstein3)      Neuschwanstein#a1-7     722
116aldeg_cas01,37,248,4    duplicate(Neuschwanstein3)      Neuschwanstein#a1-8     722
117aldeg_cas01,37,246,4    duplicate(Neuschwanstein3)      Neuschwanstein#a1-9     722
118aldeg_cas01,95,80,2     duplicate(Neuschwanstein3)      Neuschwanstein#a1-10    722
119aldeg_cas01,95,59,2     duplicate(Neuschwanstein3)      Neuschwanstein#a1-11    722
120aldeg_cas01,62,75,2     duplicate(Neuschwanstein3)      Neuschwanstein#a1-12    722
121aldeg_cas01,70,75,2     duplicate(Neuschwanstein3)      Neuschwanstein#a1-13    722
122aldeg_cas01,74,75,2     duplicate(Neuschwanstein3)      Neuschwanstein#a1-14    722
123aldeg_cas01,62,64,2     duplicate(Neuschwanstein3)      Neuschwanstein#a1-15    722
124aldeg_cas01,66,64,2     duplicate(Neuschwanstein3)      Neuschwanstein#a1-16    722
125aldeg_cas01,70,64,2     duplicate(Neuschwanstein3)      Neuschwanstein#a1-17    722
126aldeg_cas01,74,64,2     duplicate(Neuschwanstein3)      Neuschwanstein#a1-18    722
127aldeg_cas01,203,150,4   duplicate(Neuschwanstein3)      Neuschwanstein#a1-19    722
128aldeg_cas01,210,150,4   duplicate(Neuschwanstein3)      Neuschwanstein#a1-20    722
129aldeg_cas01,66,75,2     duplicate(Neuschwanstein3)      Neuschwanstein#a1-21    722
130
131// AGIT Manager
132//============================================================
133aldeg_cas01,216,24,0    duplicate(Gld_Agit_Manager)     Agit#aldeg_cas01        -1
134
135// Steward
136//============================================================
137aldeg_cas01,218,175,0   duplicate(Gld_Mngr_Template)    Alfredo#aldeg_cas01     55
138
139// Guardians
140//============================================================
141aldeg_cas01,218,175,0   duplicate(Gld_Guard_Template)   Guardian#aldeg_cas01    -1
142
143// Kafra Staff
144//============================================================
145aldeg_cas01,218,170,0   duplicate(Gld_Kafra_Template)   Kafra Staff#aldeg_cas01 117
146
147// Master's Room Exit
148//============================================================
149aldeg_cas01,123,223,0   script  #switch_A01     111,{
150        mes " ";
151        mes "There's a small lever. Will you pull it? ";
152        next;
153        switch(select("Pull.:Do not.")) {
154        case 1:
155                warp "aldeg_cas01",218,176;
156                break;
157        case 2:
158                break;
159        }
160        end;
161}
162
163// Guild Treasure Protection
164//============================================================
165aldeg_cas01,118,223,0   duplicate(Gld_Trea_Protect)     ban_warp#aldeg_cas01    -1,8,8
166
167// Guild Treasure Spawns
168//============================================================
169aldeg_cas01,118,223,0   duplicate(Gld_Trea_Spawn)       Treasure#aldeg_cas01    -1
170
171// Guild Dungeon Switch
172//============================================================
173aldeg_cas01,211,181,0   duplicate(Gld_Dun_Template)     #aldeg_cas01    111
Note: See TracBrowser for help on using the browser.