root/npc/guild/gefg_cas03.txt @ 11

Revision 1, 5.8 kB (checked in by jinshiro, 17 years ago)
Line 
1//===== eAthena Script =======================================
2//= War of Emperium (Geffen)
3//===== By: ==================================================
4//= L0ne_W0lf
5//===== Current Version: =====================================
6//= 1.0
7//===== Compatible With: =====================================
8//= eAthena SVN
9//===== Description: =========================================
10//= NPCs that relate to Geffen Guild Castle 3
11//===== Additional Comments: =================================
12//= 1.0 First Version. No longer uses functions. [L0ne_W0lf]
13//============================================================
14
15// Guild Flag (Town)
16//============================================================
17geffen,120,132,8        script  Yesnelph#g3-1::Yesnelph 722,{
18        end;
19
20OnRecvCastleG03:
21        FlagEmblem GetCastleData("gefg_cas03",1);
22        end;
23}
24
25// Guild Flag (Outside Castle)
26//============================================================
27gef_fild13,78,182,4     script  Yesnelph#g3-2::Yesnelph2        722,{
28        set .@GID, GetCastleData("gefg_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("gefg_cas03",1)) {
49                                        warp "gefg_cas03",116,89;
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
69OnRecvCastleG03:
70        FlagEmblem GetCastleData("gefg_cas03",1);
71        end;
72}
73
74gef_fild13,87,182,4     duplicate(Yesnelph2)    Yesnelph#g3-3   722
75gef_fild13,73,295,7     duplicate(Yesnelph2)    Yesnelph#g3-4   722
76gef_fild13,113,274,7    duplicate(Yesnelph2)    Yesnelph#g3-5   722
77gef_fild13,144,235,6    duplicate(Yesnelph2)    Yesnelph#g3-6   722
78gef_fild13,144,244,4    duplicate(Yesnelph2)    Yesnelph#g3-7   722
79
80// Guild Flag (Inside Castle)
81//============================================================
82gefg_cas03,122,220,6    script  Yesnelph#g3-8::Yesnelph3        722,{
83        set .@GID, GetCastleData("gefg_cas03",1);
84        if (.@GID == 0) {
85                mes " [ Edict of the Divine Rune Midgard Kingdom ]";
86                mes " ";
87                mes "1. Follow the ordinance of The Divine Rune Midgard Kingdom, ";
88                mes "We declare that";
89                mes "there is no formal master of this castle.";
90                mes " ";
91                mes "2. To the one who can ";
92                mes "overcome all trials";
93                mes "and destroy the Emperium,";
94                mes "the king will endow the one with";
95                mes "ownership of this castle.";
96        }
97        else {
98                mes "[ Edict of the Divine Rune Midgard Kingdom ]";
99                mes " ";
100                mes "1. Following the ordinance of the";
101                mes "Divine Rune Midgard Kingdom,";
102                mes "we approve that this place is in";
103                mes "the private possession of ^ff0000" + GetGuildName(.@GID) + "^000000 Guild.";
104                mes " ";
105                mes "2. The guild Master of ^ff0000"+ GetGuildName(.@GID) + "^000000 Guild is";
106                mes "^FF0000" + GetGuildMaster(.@GID) + "^000000";
107                mes "If there is anyone who objects to this,";
108                mes " prove your strength and honor with a steel blade in your hand.";
109        }
110        close;
111
112OnRecvCastleG03:
113        FlagEmblem GetCastleData("gefg_cas03",1);
114        end;
115}
116
117gefg_cas03,122,229,6    duplicate(Yesnelph3)    Yesnelph#g3-9   722
118gefg_cas03,91,257,7     duplicate(Yesnelph3)    Yesnelph#g3-10  722
119gefg_cas03,52,276,7     duplicate(Yesnelph3)    Yesnelph#g3-11  722
120gefg_cas03,56,164,4     duplicate(Yesnelph3)    Yesnelph#g3-12  722
121gefg_cas03,65,164,4     duplicate(Yesnelph3)    Yesnelph#g3-13  722
122gefg_cas03,37,214,1     duplicate(Yesnelph3)    Yesnelph#g3-14  722
123gefg_cas03,34,208,1     duplicate(Yesnelph3)    Yesnelph#g3-15  722
124
125// AGIT Manager
126//============================================================
127gefg_cas03,245,167,0    duplicate(Gld_Agit_Manager)     Agit#gefg_cas03 -1
128
129// Steward
130//============================================================
131gefg_cas03,106,23,5     duplicate(Gld_Mngr_Template)    Jean#gefg_cas03 55
132
133// Guardians
134//============================================================
135gefg_cas03,106,23,5     duplicate(Gld_Guard_Template)   Guardian#gefg_cas03     -1
136
137// Kafra Staff
138//============================================================
139gefg_cas03,116,89,5     duplicate(Gld_Kafra_Template)   Kafra Staff#gefg_cas03  117
140
141// Master's Room Exit
142//============================================================
143gefg_cas03,275,289,0    script  #switch_G03     111,{
144        mes " ";
145        mes "There's a small lever. Will you pull it? ";
146        next;
147        switch(select("Pull.:Do not.")) {
148        case 1:
149                warp "gefg_cas03",106,24;
150                break;
151        case 2:
152                break;
153        }
154        end;
155}
156
157// Guild Treasure Protection
158//============================================================
159gefg_cas03,271,290,0    duplicate(Gld_Trea_Protect)     ban_warp#gefg_cas03     -1,6,6
160
161// Guild Treasure Spawns
162//============================================================
163gefg_cas03,271,290,0    duplicate(Gld_Trea_Spawn)       Treasure#gefg_cas03     -1
164
165// Guild Dungeon Switch
166//============================================================
167gefg_cas03,221,43,0     duplicate(Gld_Dun_Template)     #gefg_cas03     111
Note: See TracBrowser for help on using the browser.