summaryrefslogtreecommitdiff
path: root/npc/guild
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-09 16:41:40 +0100
committerHaru <haru@dotalux.com>2013-11-09 16:41:40 +0100
commit857bdc4f98be6cd1e185a24565d6b6b54752b9b4 (patch)
tree948d7b4ee8c991a128f5db2aa9df5b8ecf5ab37d /npc/guild
parent8ed38f98894fb04b4403b44dc0f36281cfd36326 (diff)
downloadhercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.tar.gz
hercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.tar.bz2
hercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.tar.xz
hercules-857bdc4f98be6cd1e185a24565d6b6b54752b9b4.zip
Consolidated commands called in scripts to their lowercase version
- Added a note about variables and command scripts case sensitivity. Even though the engine still accepts variable, function and command names in a case insensitive way, it is discouraged to rely on such behavior. Please update your custom scripts as soon as possible. Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/guild')
-rw-r--r--npc/guild/agit_controller.txt10
-rw-r--r--npc/guild/agit_main.txt116
-rw-r--r--npc/guild/aldeg_cas01.txt14
-rw-r--r--npc/guild/aldeg_cas02.txt14
-rw-r--r--npc/guild/aldeg_cas03.txt14
-rw-r--r--npc/guild/aldeg_cas04.txt14
-rw-r--r--npc/guild/aldeg_cas05.txt14
-rw-r--r--npc/guild/gefg_cas01.txt14
-rw-r--r--npc/guild/gefg_cas02.txt14
-rw-r--r--npc/guild/gefg_cas03.txt14
-rw-r--r--npc/guild/gefg_cas04.txt14
-rw-r--r--npc/guild/gefg_cas05.txt14
-rw-r--r--npc/guild/payg_cas01.txt14
-rw-r--r--npc/guild/payg_cas02.txt14
-rw-r--r--npc/guild/payg_cas03.txt14
-rw-r--r--npc/guild/payg_cas04.txt14
-rw-r--r--npc/guild/payg_cas05.txt14
-rw-r--r--npc/guild/prtg_cas01.txt14
-rw-r--r--npc/guild/prtg_cas02.txt14
-rw-r--r--npc/guild/prtg_cas03.txt14
-rw-r--r--npc/guild/prtg_cas04.txt14
-rw-r--r--npc/guild/prtg_cas05.txt14
22 files changed, 203 insertions, 203 deletions
diff --git a/npc/guild/agit_controller.txt b/npc/guild/agit_controller.txt
index 283807a46..4db4a3c5e 100644
--- a/npc/guild/agit_controller.txt
+++ b/npc/guild/agit_controller.txt
@@ -48,7 +48,7 @@ OnAgitInit:
(gettime(4)==4) && (gettime(3)>=21 && gettime(3)<23) ||
(gettime(4)==6) && (gettime(3)>=16 && gettime(3)<18)) {
if (!agitcheck()) {
- AgitStart;
+ agitstart;
callsub S_DisplayOwners;
}
end;
@@ -59,7 +59,7 @@ OnAgitInit:
(gettime(4)==4) && (gettime(3)==23) ||
(gettime(4)==6) && (gettime(3)==18)) {
if (agitcheck()) {
- AgitEnd;
+ agitend;
callsub S_DisplayOwners;
}
end;
@@ -72,10 +72,10 @@ S_DisplayOwners:
setarray .@maps$[10],"payg_cas01","payg_cas02","payg_cas03","payg_cas04","payg_cas05";
setarray .@maps$[15],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05";
for( set .@i, 0; .@i <= 19; set .@i, .@i+1 ) {
- if (GetCastleData(.@maps$[.@i],1))
- Announce "The [" + GetCastleName(.@maps$[.@i]) + "] castle has been conquered by the [" + GetGuildName(GetCastleData(.@maps$[.@i],1)) + "] guild.",bc_all|bc_woe;
+ if (getcastledata(.@maps$[.@i],1))
+ announce "The [" + getcastlename(.@maps$[.@i]) + "] castle has been conquered by the [" + getguildname(getcastledata(.@maps$[.@i],1)) + "] guild.",bc_all|bc_woe;
else
- Announce "The [" + GetCastleName(.@maps$[.@i]) + "] castle is currently unoccupied.",bc_all|bc_woe;
+ announce "The [" + getcastlename(.@maps$[.@i]) + "] castle is currently unoccupied.",bc_all|bc_woe;
}
end;
}
diff --git a/npc/guild/agit_main.txt b/npc/guild/agit_main.txt
index 324fd71fd..9438174ac 100644
--- a/npc/guild/agit_main.txt
+++ b/npc/guild/agit_main.txt
@@ -61,8 +61,8 @@
// War of Emperium has started.
OnAgitStart:
if (strnpcinfo(0) == "Gld_Agit_Manager") end;
- MapRespawnGuildID strnpcinfo(2),GetCastleData(strnpcinfo(2),1),6;
- GvgOn strnpcinfo(2);
+ maprespawnguildid strnpcinfo(2),getcastledata(strnpcinfo(2),1),6;
+ gvgon strnpcinfo(2);
// Spawn (fall through), or respawn the Emperium once it has been broken.
OnStartArena:
@@ -107,31 +107,31 @@ OnAgitBreak:
end;
}
// Adjust Economy Invest Level for Castle
- set .@Economy,GetCastleData(strnpcinfo(2),2) - 5;
+ set .@Economy,getcastledata(strnpcinfo(2),2) - 5;
if (.@Economy < 0) set .@Economy, 0;
- SetCastleData strnpcinfo(2), 2, .@Economy;
+ setcastledata strnpcinfo(2), 2, .@Economy;
// Adjust Defense Invest Level for Castle
- set .@Defence,GetCastleData(strnpcinfo(2),3) - 5;
+ set .@Defence,getcastledata(strnpcinfo(2),3) - 5;
if (.@Defence < 0) set .@Defence, 0;
- SetCastleData strnpcinfo(2), 3, .@Defence;
+ setcastledata strnpcinfo(2), 3, .@Defence;
// Set new Castle Occupant
- SetCastleData strnpcinfo(2),1, .@GID;
+ setcastledata strnpcinfo(2),1, .@GID;
// Announce that the Emperium is destroyed, and respawn all but new castle-occupants.
mapannounce strnpcinfo(2),"The emperium has been destroyed.",bc_map|bc_woe,"0x00CCFF",FW_NORMAL,12;
- MapRespawnGuildID strnpcinfo(2),.@GID,6;
+ maprespawnguildid strnpcinfo(2),.@GID,6;
// Refresh castle data, disable Kafra and reset Invest information.
donpcevent strnpcinfo(0)+"::OnRecvCastle";
disablenpc "Kafra Staff#"+strnpcinfo(2);
for( set .@i, 4; .@i <= 9; set .@i, .@i+1 ) {
- SetCastleData strnpcinfo(2), .@i, 0;
+ setcastledata strnpcinfo(2), .@i, 0;
}
// Erase Guardian Database information if the new owners do not have Guardian Research.
if( getgdskilllv(.@GID,10002) == 0 ) {
for( set .@i, 10; .@i <= 17; set .@i, .@i+1 ) {
- SetCastleData strnpcinfo(2), .@i, 0;
+ setcastledata strnpcinfo(2), .@i, 0;
}
}
// Respawn the Emperium, and display new owners.
@@ -139,16 +139,16 @@ OnAgitBreak:
if( agitcheck() )
donpcevent "Agit#"+strnpcinfo(2)+"::OnStartArena";
sleep 7000;
- announce "The [" + getcastlename(strnpcinfo(2)) + "] castle has been conquered by the [" + getguildName(.@GID) + "] guild.",bc_all|bc_woe;
+ announce "The [" + getcastlename(strnpcinfo(2)) + "] castle has been conquered by the [" + getguildname(.@GID) + "] guild.",bc_all|bc_woe;
end;
// War of Emperium has ended.
OnAgitEnd:
if (strnpcinfo(0) == "Gld_Agit_Manager") end;
- GvgOff strnpcinfo(2);
+ gvgoff strnpcinfo(2);
// If the castle has no owner at the end of WoE, do not kill Emperium.
- if (GetCastleData(strnpcinfo(2),1)) {
- KillMonster strnpcinfo(2),"Agit#"+strnpcinfo(2)+"::OnAgitBreak";
+ if (getcastledata(strnpcinfo(2),1)) {
+ killmonster strnpcinfo(2),"Agit#"+strnpcinfo(2)+"::OnAgitBreak";
}
end;
@@ -158,10 +158,10 @@ OnGuildBreak:
// Kill guardians, disable the Kafra, and set owner to 0.
killmonster strnpcinfo(2),"Guardian#"+strnpcinfo(2)+"::OnGuardianDied";
disablenpc "Kafra Staff#"+strnpcinfo(2);
- SetCastleData strnpcinfo(2),1,0;
+ setcastledata strnpcinfo(2),1,0;
// Wait before refreshing guild information.
sleep 7000;
- Announce "Guild Base [" + GetCastleName(strnpcinfo(2)) + "] has been abandoned.",0;
+ announce "Guild Base [" + getcastlename(strnpcinfo(2)) + "] has been abandoned.",0;
donpcevent strnpcinfo(0)+"::OnRecvCastle";
end;
@@ -169,7 +169,7 @@ OnAgitInit:
OnRecvCastle:
if (strnpcinfo(0) == "Gld_Agit_Manager") end;
// Spawn Monsters if the castle is empty.
- set .@GID, GetCastleData(strnpcinfo(2),1);
+ set .@GID, getcastledata(strnpcinfo(2),1);
if (.@GID == 0) {
killmonsterall strnpcinfo(2);
if (compare(strnpcinfo(2),"aldeg")) {
@@ -307,7 +307,7 @@ OnRecvCastle:
// And load purchased Guardian in castles.
donpcevent "Guardian#"+strnpcinfo(2)+"::OnSpawnGuardians";
// And display Kafra if purchased.
- if (GetCastleData(strnpcinfo(2),9) < 1) disablenpc "Kafra Staff#"+strnpcinfo(2);
+ if (getcastledata(strnpcinfo(2),9) < 1) disablenpc "Kafra Staff#"+strnpcinfo(2);
}
end;
}
@@ -316,7 +316,7 @@ OnRecvCastle:
//============================================================
- script Kafra Staff#woe::guildkafra -1,{
- set .@GID,GetCastleData(strnpcinfo(2),1);
+ set .@GID,getcastledata(strnpcinfo(2),1);
if (compare(strnpcinfo(2),"aldeg")) {
setarray .@destination$[0],"Al De Baran","aldebaran";
@@ -342,7 +342,7 @@ OnRecvCastle:
cutin "kafra_01",2;
if (getcharid(2) == .@GID) {
mes "[Kafra Employee]";
- mes "Welcome. ^ff0000" + GetGuildName(.@GID) + "^000000 Member.";
+ mes "Welcome. ^ff0000" + getguildname(.@GID) + "^000000 Member.";
mes "The Kafra Corporation will stay with you wherever you go.";
next;
switch (select("Use Storage:Use Teleport Service:Rent a Pushcart:Cancel")) {
@@ -455,7 +455,7 @@ OnRecvCastle:
}
}
mes "[Kafra Employee]";
- mes "I am instructed to only offer my services to the ^ff0000"+GetGuildName(.@GID)+"^000000 Guild. Please try another Kafra Employee around here. Sorry for the inconvenience.";
+ mes "I am instructed to only offer my services to the ^ff0000"+getguildname(.@GID)+"^000000 Guild. Please try another Kafra Employee around here. Sorry for the inconvenience.";
close2;
cutin "",255;
end;
@@ -465,7 +465,7 @@ OnRecvCastle:
//============================================================
- script Castle Manager#cm::cm -1,{
- set .@GID,GetCastleData(strnpcinfo(2),1);
+ set .@GID,getcastledata(strnpcinfo(2),1);
// .@guardiantype = Defines the types of guardians per castle basis.
// 1 - Soldier Guardian, 2 - Archer Guardian, 3 - Knight Guardian
@@ -608,9 +608,9 @@ OnRecvCastle:
mes "Brave soul... fate will guide you towards your future...";
close;
}
- if (GetGuildMaster(.@GID) != strcharinfo(0)) {
+ if (getguildmaster(.@GID) != strcharinfo(0)) {
mes "["+strnpcinfo(1)+"]";
- mes "No matter how much you pester me, I'll still follow my master ^ff0000"+GetGuildMaster(.@GID)+"^000000. Where are the Guardians?! Send these ruffians away right now!";
+ mes "No matter how much you pester me, I'll still follow my master ^ff0000"+getguildmaster(.@GID)+"^000000. Where are the Guardians?! Send these ruffians away right now!";
close;
}
mes "["+strnpcinfo(1)+"]";
@@ -622,19 +622,19 @@ OnRecvCastle:
mes "["+strnpcinfo(1)+"]";
mes "I will report the Castle briefing, Master.";
mes " ";
- mes "^0000ffNow, the commercial growth level is "+GetCastleData(strnpcinfo(2),2)+".";
- if (GetCastleData(strnpcinfo(2),4)) {
- mes " You invested "+GetCastleData(strnpcinfo(2),4)+" times in past 1 day.";
+ mes "^0000ffNow, the commercial growth level is "+getcastledata(strnpcinfo(2),2)+".";
+ if (getcastledata(strnpcinfo(2),4)) {
+ mes " You invested "+getcastledata(strnpcinfo(2),4)+" times in past 1 day.";
}
- mes " Now, the Castle Defense level is "+GetCastleData(strnpcinfo(2),3)+".^000000";
- if (GetCastleData(strnpcinfo(2),5)) {
- mes " ^0000ff- You invested "+GetCastleData(strnpcinfo(2),5)+" times in past 1 day.^000000";
+ mes " Now, the Castle Defense level is "+getcastledata(strnpcinfo(2),3)+".^000000";
+ if (getcastledata(strnpcinfo(2),5)) {
+ mes " ^0000ff- You invested "+getcastledata(strnpcinfo(2),5)+" times in past 1 day.^000000";
}
mes " ";
mes "That's all I have to report, Master.";
close;
case 2:
- set .@Economy,GetCastleData(strnpcinfo(2),2);
+ set .@Economy,getcastledata(strnpcinfo(2),2);
if (.@Economy < 6) { set .@eco_invest,5000; }
else if ((.@Economy >= 6) && (.@Economy <= 10)) { set .@eco_invest,10000; }
else if ((.@Economy >= 11) && (.@Economy <= 15)) { set .@eco_invest,20000; }
@@ -656,7 +656,7 @@ OnRecvCastle:
else if ((.@Economy >= 91) && (.@Economy <= 95)) { set .@eco_invest,860000; }
else if ((.@Economy >= 96) && (.@Economy <= 100)) { set .@eco_invest,955000; }
//Quadruple the cost of investing if you've already invested once.
- if (GetCastleData(strnpcinfo(2),4)) {
+ if (getcastledata(strnpcinfo(2),4)) {
set .@eco_invest,.@eco_invest*4;
}
mes "["+strnpcinfo(1)+"]";
@@ -668,12 +668,12 @@ OnRecvCastle:
mes "^ff0000The commercial growth level of our Castle is at it's highest, 100%. No more investments are needed. Just as I have expected from a great economist like you, Master.^000000";
close;
}
- if (GetCastleData(strnpcinfo(2),4) >= 2) {
+ if (getcastledata(strnpcinfo(2),4) >= 2) {
mes " ";
mes "^ff0000You have already invested twice today. You cannot invest any more.^000000 I expect riches of the guild to grow at a high rate.";
close;
}
- if (GetCastleData(strnpcinfo(2),4) == 0) {
+ if (getcastledata(strnpcinfo(2),4) == 0) {
mes " ";
mes "The current investment amount required is ^ff0000"+.@eco_invest+"^000000 zeny. Will you invest?";
}
@@ -690,7 +690,7 @@ OnRecvCastle:
close;
}
set Zeny, Zeny - .@eco_invest;
- SetCastleData strnpcinfo(2),4,GetCastleData(strnpcinfo(2),4)+1;
+ setcastledata strnpcinfo(2),4,getcastledata(strnpcinfo(2),4)+1;
mes "[ "+strnpcinfo(1)+"]";
mes "We finished the investment safely. I expect that our growth level will be increased by tomorrow.";
close;
@@ -700,7 +700,7 @@ OnRecvCastle:
close;
}
case 3:
- set .@Defence,GetCastleData(strnpcinfo(2),3);
+ set .@Defence,getcastledata(strnpcinfo(2),3);
if (.@Defence < 6) { set .@def_invest,10000; }
else if ((.@Defence >= 6) && (.@Defence <= 10)) { set .@def_invest,20000; }
else if ((.@Defence >= 11) && (.@Defence <= 15)) { set .@def_invest,40000; }
@@ -722,7 +722,7 @@ OnRecvCastle:
else if ((.@Defence >= 91) && (.@Defence <= 95)) { set .@def_invest,1720000; }
else if ((.@Defence >= 96) && (.@Defence <= 100)) { set .@def_invest,1910000; }
//Quadruple the cost of investing if you've already invested once.
- if (GetCastleData(strnpcinfo(2),5)) {
+ if (getcastledata(strnpcinfo(2),5)) {
set .@def_invest,.@def_invest*4;
}
mes "["+strnpcinfo(1)+"]";
@@ -734,12 +734,12 @@ OnRecvCastle:
mes "^ff0000But the Castle Defense level of our Castle is at it's highest, 100%. No more investments are needed. Just as I have expected from a great strategist like you, Master.^000000";
close;
}
- if (GetCastleData(strnpcinfo(2),5) >= 2) {
+ if (getcastledata(strnpcinfo(2),5) >= 2) {
mes " ";
mes "^ff0000You have already invested twice today. You cannot invest any more.^000000 I expect the Defenses of the guild to grow at a high rate.";
close;
}
- if (GetCastleData(strnpcinfo(2),5) == 0) {
+ if (getcastledata(strnpcinfo(2),5) == 0) {
mes " ";
mes "The current investment amount required is ^ff0000"+.@def_invest+"^000000 zeny. Will you invest?";
}
@@ -756,7 +756,7 @@ OnRecvCastle:
close;
}
set Zeny, Zeny - .@def_invest;
- SetCastleData strnpcinfo(2),5,GetCastleData(strnpcinfo(2),5)+1;
+ setcastledata strnpcinfo(2),5,getcastledata(strnpcinfo(2),5)+1;
mes "[ "+strnpcinfo(1)+"]";
mes "We finished the investment safely. I expect that our Castle Defense level will be increased by tomorrow.";
close;
@@ -793,7 +793,7 @@ OnRecvCastle:
mes "Master, we have not the resources to Summon the Guardian. If you want to accumulate them, you have to learn the Guild skill. We failed to summon the Guardian.";
close;
}
- if (GetCastleData(strnpcinfo(2),.@GDnum) == 1) {
+ if (getcastledata(strnpcinfo(2),.@GDnum) == 1) {
mes "["+strnpcinfo(1)+"]";
mes "Master, you already have summoned that Guardian. We cannot summon another.";
close;
@@ -804,7 +804,7 @@ OnRecvCastle:
close;
}
set Zeny, Zeny - 10000;
- SetCastleData strnpcinfo(2),.@GDnum,1; // mark as 'installed'
+ setcastledata strnpcinfo(2),.@GDnum,1; // mark as 'installed'
set .@UseGID,.@GDnum - 10;
if (.@guardiantype[.@UseGID] == 1) { set .@type,1287; }
else if (.@guardiantype[.@UseGID] == 2) { set .@type,1285; }
@@ -819,7 +819,7 @@ OnRecvCastle:
close;
}
case 5:
- if (GetCastleData(strnpcinfo(2),9) == 1) {
+ if (getcastledata(strnpcinfo(2),9) == 1) {
mes "["+strnpcinfo(1)+"]";
mes "We are currently hiring a Kafra Employee... Do you want to fire the Kafra Employee?";
next;
@@ -848,7 +848,7 @@ OnRecvCastle:
close;
}
disablenpc "Kafra Staff#"+strnpcinfo(2);
- SetCastleData strnpcinfo(2),9,0;
+ setcastledata strnpcinfo(2),9,0;
mes "["+strnpcinfo(1)+"]";
mes "....";
mes "I have discharged the Kafra Employee... But... are you unsatisfied with something?";
@@ -872,7 +872,7 @@ OnRecvCastle:
}
set Zeny, Zeny - 10000;
enablenpc "Kafra Staff#"+strnpcinfo(2);
- SetCastleData strnpcinfo(2),9,1;
+ setcastledata strnpcinfo(2),9,1;
mes "["+strnpcinfo(1)+"]";
mes "We obtained a contract with the kafra Main Office, and hired a Kafra Employee.";
next;
@@ -917,7 +917,7 @@ OnRecvCastle:
//============================================================
- script Lever#gd::gdlever -1,{
- set .@GID,GetCastleData(strnpcinfo(2),1);
+ set .@GID,getcastledata(strnpcinfo(2),1);
if (.@GID == 0) {
mes "[Ringing Voice]";
@@ -1112,7 +1112,7 @@ OnSpawnGuardians:
if (.@guardiantype[.@i] == 1) { set .@type,1287; }
else if (.@guardiantype[.@i] == 2) { set .@type,1285; }
else { set .@type,1286; }
- if (GetCastleData(strnpcinfo(2),.@UseGID)) {
+ if (getcastledata(strnpcinfo(2),.@UseGID)) {
guardian strnpcinfo(2),.@guardianposx[.@i],.@guardianposy[.@i],strmobinfo(2,.@type),.@type,"Guardian#"+strnpcinfo(2)+"::OnGuardianDied",.@i;
}
}
@@ -1131,13 +1131,13 @@ OnClock0001:
// Do nothing if this script is the template.
if (strnpcinfo(1) == "Gld_Trea_Spawn") end;
- set .@GID, GetCastleData(strnpcinfo(2),1);
+ set .@GID, getcastledata(strnpcinfo(2),1);
// If there is no owner, do nothing.
if (!.@GID) end;
// Is there Economy in this castle?
- set .@Treasure,GetCastleData(strnpcinfo(2),2)/5+4;
+ set .@Treasure,getcastledata(strnpcinfo(2),2)/5+4;
// Set information
if (strnpcinfo(2) == "aldeg_cas01") {
@@ -1247,15 +1247,15 @@ OnClock0001:
// Apply investment to Eco. and Def. Only happens if there were investments made.
// Permanent Development can only happen once per day.
- if (GetCastleData(strnpcinfo(2),4)) {
- set .@Economy,GetCastleData(strnpcinfo(2),2);
- SetCastleData strnpcinfo(2),2,.@Economy + GetCastleData(strnpcinfo(2),4) + (rand(2) && getgdskilllv(.@GID,10014));
- if (GetCastleData(strnpcinfo(2),2) > 100) SetCastleData strnpcinfo(2),2,100;
- }
- if (GetCastleData(strnpcinfo(2),5)) {
- set .@Defence,GetCastleData(strnpcinfo(2),3);
- SetCastleData strnpcinfo(2),3,.@Defence + GetCastleData(strnpcinfo(2),5);
- if (GetCastleData(strnpcinfo(2),3) > 100) SetCastleData strnpcinfo(2),3,100;
+ if (getcastledata(strnpcinfo(2),4)) {
+ set .@Economy,getcastledata(strnpcinfo(2),2);
+ setcastledata strnpcinfo(2),2,.@Economy + getcastledata(strnpcinfo(2),4) + (rand(2) && getgdskilllv(.@GID,10014));
+ if (getcastledata(strnpcinfo(2),2) > 100) setcastledata strnpcinfo(2),2,100;
+ }
+ if (getcastledata(strnpcinfo(2),5)) {
+ set .@Defence,getcastledata(strnpcinfo(2),3);
+ setcastledata strnpcinfo(2),3,.@Defence + getcastledata(strnpcinfo(2),5);
+ if (getcastledata(strnpcinfo(2),3) > 100) setcastledata strnpcinfo(2),3,100;
}
// Reset daily investment limits.
setcastledata strnpcinfo(2),4,0;
diff --git a/npc/guild/aldeg_cas01.txt b/npc/guild/aldeg_cas01.txt
index 537dce7a4..82b09d608 100644
--- a/npc/guild/aldeg_cas01.txt
+++ b/npc/guild/aldeg_cas01.txt
@@ -16,7 +16,7 @@
//============================================================
- script Neuschwanstein#1::OutsideFlagsA1 GUILD_FLAG,{
- set .@GID, GetCastleData("aldeg_cas01",1);
+ set .@GID, getcastledata("aldeg_cas01",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -39,7 +39,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("aldeg_cas01",1)) {
+ if (getcharid(2) == getcastledata("aldeg_cas01",1)) {
warp "aldeg_cas01",218,170;
end;
}
@@ -51,16 +51,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastleA01:
- FlagEmblem GetCastleData("aldeg_cas01",1);
+ flagemblem getcastledata("aldeg_cas01",1);
end;
}
@@ -75,7 +75,7 @@ alde_gld,51,87,8 duplicate(OutsideFlagsA1) Neuschwanstein#4 GUILD_FLAG
end;
OnRecvCastleA01:
- FlagEmblem GetCastleData("aldeg_cas01",1);
+ flagemblem getcastledata("aldeg_cas01",1);
end;
}
diff --git a/npc/guild/aldeg_cas02.txt b/npc/guild/aldeg_cas02.txt
index c5c03175f..fe98f22a8 100644
--- a/npc/guild/aldeg_cas02.txt
+++ b/npc/guild/aldeg_cas02.txt
@@ -16,7 +16,7 @@
//============================================================
- script Hohenschwangau#1::OutsideFlagsA2 GUILD_FLAG,{
- set .@GID, GetCastleData("aldeg_cas02",1);
+ set .@GID, getcastledata("aldeg_cas02",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -39,7 +39,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("aldeg_cas02",1)) {
+ if (getcharid(2) == getcastledata("aldeg_cas02",1)) {
warp "aldeg_cas02",220,190;
end;
}
@@ -51,16 +51,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastleA02:
- FlagEmblem GetCastleData("aldeg_cas02",1);
+ flagemblem getcastledata("aldeg_cas02",1);
end;
}
@@ -73,7 +73,7 @@ alde_gld,99,244,4 duplicate(OutsideFlagsA2) Hohenschwangau#2 GUILD_FLAG
end;
OnRecvCastleA02:
- FlagEmblem GetCastleData("aldeg_cas02",1);
+ flagemblem getcastledata("aldeg_cas02",1);
end;
}
diff --git a/npc/guild/aldeg_cas03.txt b/npc/guild/aldeg_cas03.txt
index d36ed707e..d5aa3535c 100644
--- a/npc/guild/aldeg_cas03.txt
+++ b/npc/guild/aldeg_cas03.txt
@@ -16,7 +16,7 @@
//============================================================
- script Nuernberg#1::OutsideFlagsA3 GUILD_FLAG,{
- set .@GID, GetCastleData("aldeg_cas03",1);
+ set .@GID, getcastledata("aldeg_cas03",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -39,7 +39,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("aldeg_cas03",1)) {
+ if (getcharid(2) == getcastledata("aldeg_cas03",1)) {
warp "aldeg_cas03",205,186;
end;
}
@@ -51,16 +51,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastleA03:
- FlagEmblem GetCastleData("aldeg_cas03",1);
+ flagemblem getcastledata("aldeg_cas03",1);
end;
}
@@ -73,7 +73,7 @@ alde_gld,138,82,8 duplicate(OutsideFlagsA3) Nuernberg#2 GUILD_FLAG
end;
OnRecvCastleA03:
- FlagEmblem GetCastleData("aldeg_cas03",1);
+ flagemblem getcastledata("aldeg_cas03",1);
end;
}
diff --git a/npc/guild/aldeg_cas04.txt b/npc/guild/aldeg_cas04.txt
index 30009c707..4f6bb1265 100644
--- a/npc/guild/aldeg_cas04.txt
+++ b/npc/guild/aldeg_cas04.txt
@@ -16,7 +16,7 @@
//============================================================
- script Wuerzburg#1::OutsideFlagsA4 GUILD_FLAG,{
- set .@GID, GetCastleData("aldeg_cas04",1);
+ set .@GID, getcastledata("aldeg_cas04",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -39,7 +39,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("aldeg_cas04",1)) {
+ if (getcharid(2) == getcastledata("aldeg_cas04",1)) {
warp "aldeg_cas04",116,217;
end;
}
@@ -51,16 +51,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastleA04:
- FlagEmblem GetCastleData("aldeg_cas04",1);
+ flagemblem getcastledata("aldeg_cas04",1);
end;
}
@@ -73,7 +73,7 @@ alde_gld,239,239,2 duplicate(OutsideFlagsA4) Wuerzburg#2 GUILD_FLAG
end;
OnRecvCastleA04:
- FlagEmblem GetCastleData("aldeg_cas04",1);
+ flagemblem getcastledata("aldeg_cas04",1);
end;
}
diff --git a/npc/guild/aldeg_cas05.txt b/npc/guild/aldeg_cas05.txt
index d6ddabfda..8712d314a 100644
--- a/npc/guild/aldeg_cas05.txt
+++ b/npc/guild/aldeg_cas05.txt
@@ -16,7 +16,7 @@
//============================================================
- script Rothenburg#1::OutsideFlagsA5 GUILD_FLAG,{
- set .@GID, GetCastleData("aldeg_cas05",1);
+ set .@GID, getcastledata("aldeg_cas05",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -39,7 +39,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("aldeg_cas05",1)) {
+ if (getcharid(2) == getcastledata("aldeg_cas05",1)) {
warp "aldeg_cas05",167,225;
end;
}
@@ -51,16 +51,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastleA05:
- FlagEmblem GetCastleData("aldeg_cas05",1);
+ flagemblem getcastledata("aldeg_cas05",1);
end;
}
@@ -73,7 +73,7 @@ alde_gld,265,87,6 duplicate(OutsideFlagsA5) Rothenburg#2 GUILD_FLAG
end;
OnRecvCastleA05:
- FlagEmblem GetCastleData("aldeg_cas05",1);
+ flagemblem getcastledata("aldeg_cas05",1);
end;
}
diff --git a/npc/guild/gefg_cas01.txt b/npc/guild/gefg_cas01.txt
index a05b72b8f..71a227173 100644
--- a/npc/guild/gefg_cas01.txt
+++ b/npc/guild/gefg_cas01.txt
@@ -16,7 +16,7 @@
//============================================================
- script Repherion#1::OutsideFlagsG1 GUILD_FLAG,{
- set .@GID, GetCastleData("gefg_cas01",1);
+ set .@GID, getcastledata("gefg_cas01",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -39,7 +39,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("gefg_cas01",1)) {
+ if (getcharid(2) == getcastledata("gefg_cas01",1)) {
warp "gefg_cas01",197,36;
end;
}
@@ -51,16 +51,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastleG01:
- FlagEmblem GetCastleData("gefg_cas01",1);
+ flagemblem getcastledata("gefg_cas01",1);
end;
}
@@ -75,7 +75,7 @@ gef_fild13,211,71,6 duplicate(OutsideFlagsG1) Repherion#4 GUILD_FLAG
end;
OnRecvCastleG01:
- FlagEmblem GetCastleData("gefg_cas01",1);
+ flagemblem getcastledata("gefg_cas01",1);
end;
}
diff --git a/npc/guild/gefg_cas02.txt b/npc/guild/gefg_cas02.txt
index f4c5bd37f..8aa183045 100644
--- a/npc/guild/gefg_cas02.txt
+++ b/npc/guild/gefg_cas02.txt
@@ -16,7 +16,7 @@
//============================================================
- script Eeyorbriggar#1::OutsideFlagsG2 GUILD_FLAG,{
- set .@GID, GetCastleData("gefg_cas02",1);
+ set .@GID, getcastledata("gefg_cas02",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -39,7 +39,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("gefg_cas02",1)) {
+ if (getcharid(2) == getcastledata("gefg_cas02",1)) {
warp "gefg_cas02",178,43;
end;
}
@@ -51,16 +51,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastleG02:
- FlagEmblem GetCastleData("gefg_cas02",1);
+ flagemblem getcastledata("gefg_cas02",1);
end;
}
@@ -75,7 +75,7 @@ gef_fild13,324,243,4 duplicate(OutsideFlagsG2) Eeyorbriggar#4 GUILD_FLAG
end;
OnRecvCastleG02:
- FlagEmblem GetCastleData("gefg_cas02",1);
+ flagemblem getcastledata("gefg_cas02",1);
end;
}
diff --git a/npc/guild/gefg_cas03.txt b/npc/guild/gefg_cas03.txt
index 60e3c46fd..50ba0005b 100644
--- a/npc/guild/gefg_cas03.txt
+++ b/npc/guild/gefg_cas03.txt
@@ -16,7 +16,7 @@
//============================================================
- script Yesnelph#1::OutsideFlagsG3 GUILD_FLAG,{
- set .@GID, GetCastleData("gefg_cas03",1);
+ set .@GID, getcastledata("gefg_cas03",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -39,7 +39,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("gefg_cas03",1)) {
+ if (getcharid(2) == getcastledata("gefg_cas03",1)) {
warp "gefg_cas03",221,30;
end;
}
@@ -51,16 +51,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastleG03:
- FlagEmblem GetCastleData("gefg_cas03",1);
+ flagemblem getcastledata("gefg_cas03",1);
end;
}
@@ -77,7 +77,7 @@ gef_fild13,144,244,6 duplicate(OutsideFlagsG3) Yesnelph#6 GUILD_FLAG
end;
OnRecvCastleG03:
- FlagEmblem GetCastleData("gefg_cas03",1);
+ flagemblem getcastledata("gefg_cas03",1);
end;
}
diff --git a/npc/guild/gefg_cas04.txt b/npc/guild/gefg_cas04.txt
index cd4eccf0e..67c490baf 100644
--- a/npc/guild/gefg_cas04.txt
+++ b/npc/guild/gefg_cas04.txt
@@ -16,7 +16,7 @@
//============================================================
- script Bergel#1::OutsideFlagsG4 GUILD_FLAG,{
- set .@GID, GetCastleData("gefg_cas04",1);
+ set .@GID, getcastledata("gefg_cas04",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -39,7 +39,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("gefg_cas04",1)) {
+ if (getcharid(2) == getcastledata("gefg_cas04",1)) {
warp "gefg_cas04",168,43;
end;
}
@@ -51,16 +51,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastleG04:
- FlagEmblem GetCastleData("gefg_cas04",1);
+ flagemblem getcastledata("gefg_cas04",1);
end;
}
@@ -73,7 +73,7 @@ gef_fild13,199,274,3 duplicate(OutsideFlagsG4) Bergel#2 GUILD_FLAG
end;
OnRecvCastleG04:
- FlagEmblem GetCastleData("gefg_cas04",1);
+ flagemblem getcastledata("gefg_cas04",1);
end;
}
diff --git a/npc/guild/gefg_cas05.txt b/npc/guild/gefg_cas05.txt
index 08abccf5b..aa802ea15 100644
--- a/npc/guild/gefg_cas05.txt
+++ b/npc/guild/gefg_cas05.txt
@@ -16,7 +16,7 @@
//============================================================
- script Mersetzdeitz#1::OutsideFlagsG5 GUILD_FLAG,{
- set .@GID, GetCastleData("gefg_cas05",1);
+ set .@GID, getcastledata("gefg_cas05",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -39,7 +39,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("gefg_cas05",1)) {
+ if (getcharid(2) == getcastledata("gefg_cas05",1)) {
warp "gefg_cas05",168,31;
end;
}
@@ -51,16 +51,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastleG05:
- FlagEmblem GetCastleData("gefg_cas05",1);
+ flagemblem getcastledata("gefg_cas05",1);
end;
}
@@ -75,7 +75,7 @@ gef_fild13,26,147,2 duplicate(OutsideFlagsG5) Mersetzdeitz#4 GUILD_FLAG
end;
OnRecvCastleG05:
- FlagEmblem GetCastleData("gefg_cas05",1);
+ flagemblem getcastledata("gefg_cas05",1);
end;
}
diff --git a/npc/guild/payg_cas01.txt b/npc/guild/payg_cas01.txt
index 4570f7db5..2b172929b 100644
--- a/npc/guild/payg_cas01.txt
+++ b/npc/guild/payg_cas01.txt
@@ -18,7 +18,7 @@
//============================================================
- script Bright Arbor#1::OutsideFlagsPA1 GUILD_FLAG,{
- set .@GID, GetCastleData("payg_cas01",1);
+ set .@GID, getcastledata("payg_cas01",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -41,7 +41,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("payg_cas01",1)) {
+ if (getcharid(2) == getcastledata("payg_cas01",1)) {
warp "payg_cas01",54,144;
end;
}
@@ -53,16 +53,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastlePy01:
- FlagEmblem GetCastleData("payg_cas01",1);
+ flagemblem getcastledata("payg_cas01",1);
end;
}
@@ -77,7 +77,7 @@ pay_gld,91,239,2 duplicate(OutsideFlagsPA1) Bright Arbor#4 GUILD_FLAG
end;
OnRecvCastlePy01:
- FlagEmblem GetCastleData("payg_cas01",1);
+ flagemblem getcastledata("payg_cas01",1);
end;
}
diff --git a/npc/guild/payg_cas02.txt b/npc/guild/payg_cas02.txt
index 5119ee896..cb7403c6a 100644
--- a/npc/guild/payg_cas02.txt
+++ b/npc/guild/payg_cas02.txt
@@ -19,7 +19,7 @@
//============================================================
- script Scarlet Palace#1::OutsideFlagsPA2 GUILD_FLAG,{
- set .@GID, GetCastleData("payg_cas02",1);
+ set .@GID, getcastledata("payg_cas02",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -42,7 +42,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("payg_cas02",1)) {
+ if (getcharid(2) == getcastledata("payg_cas02",1)) {
warp "payg_cas02",278,251;
end;
}
@@ -54,16 +54,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastlePy02:
- FlagEmblem GetCastleData("payg_cas02",1);
+ flagemblem getcastledata("payg_cas02",1);
end;
}
@@ -78,7 +78,7 @@ pay_gld,271,163,0 duplicate(OutsideFlagsPA2) Scarlet Palace#4 GUILD_FLAG
end;
OnRecvCastlePy02:
- FlagEmblem GetCastleData("payg_cas02",1);
+ flagemblem getcastledata("payg_cas02",1);
end;
}
diff --git a/npc/guild/payg_cas03.txt b/npc/guild/payg_cas03.txt
index 94b566b2d..54c69087e 100644
--- a/npc/guild/payg_cas03.txt
+++ b/npc/guild/payg_cas03.txt
@@ -18,7 +18,7 @@
//============================================================
- script Holy Shadow#1::OutsideFlagsPA3 GUILD_FLAG,{
- set .@GID, GetCastleData("payg_cas03",1);
+ set .@GID, getcastledata("payg_cas03",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -41,7 +41,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("payg_cas03",1)) {
+ if (getcharid(2) == getcastledata("payg_cas03",1)) {
warp "payg_cas03",9,263;
end;
}
@@ -53,16 +53,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastlePy03:
- FlagEmblem GetCastleData("payg_cas03",1);
+ flagemblem getcastledata("payg_cas03",1);
end;
}
@@ -77,7 +77,7 @@ pay_gld,333,254,4 duplicate(OutsideFlagsPA3) Holy Shadow#4 GUILD_FLAG
end;
OnRecvCastlePy03:
- FlagEmblem GetCastleData("payg_cas03",1);
+ flagemblem getcastledata("payg_cas03",1);
end;
}
diff --git a/npc/guild/payg_cas04.txt b/npc/guild/payg_cas04.txt
index 53c327081..265ace62f 100644
--- a/npc/guild/payg_cas04.txt
+++ b/npc/guild/payg_cas04.txt
@@ -19,7 +19,7 @@
//============================================================
- script Sacred Altar#1::OutsideFlagsPA4 GUILD_FLAG,{
- set .@GID, GetCastleData("payg_cas04",1);
+ set .@GID, getcastledata("payg_cas04",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -42,7 +42,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("payg_cas04",1)) {
+ if (getcharid(2) == getcastledata("payg_cas04",1)) {
warp "payg_cas04",40,235;
end;
}
@@ -54,16 +54,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastlePy04:
- FlagEmblem GetCastleData("payg_cas04",1);
+ flagemblem getcastledata("payg_cas04",1);
end;
}
@@ -78,7 +78,7 @@ pay_gld,153,166,1 duplicate(OutsideFlagsPA4) Sacred Altar#4 GUILD_FLAG
end;
OnRecvCastlePy04:
- FlagEmblem GetCastleData("payg_cas04",1);
+ flagemblem getcastledata("payg_cas04",1);
end;
}
diff --git a/npc/guild/payg_cas05.txt b/npc/guild/payg_cas05.txt
index f7d61fc70..ec616656e 100644
--- a/npc/guild/payg_cas05.txt
+++ b/npc/guild/payg_cas05.txt
@@ -18,7 +18,7 @@
//============================================================
- script Bamboo Grove Hill#1::OutsideFlagsPA5 GUILD_FLAG,{
- set .@GID, GetCastleData("payg_cas05",1);
+ set .@GID, getcastledata("payg_cas05",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -41,7 +41,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("payg_cas05",1)) {
+ if (getcharid(2) == getcastledata("payg_cas05",1)) {
warp "payg_cas05",243,27;
end;
}
@@ -53,16 +53,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastlePy05:
- FlagEmblem GetCastleData("payg_cas05",1);
+ flagemblem getcastledata("payg_cas05",1);
end;
}
@@ -77,7 +77,7 @@ pay_gld,187,294,2 duplicate(OutsideFlagsPA5) Bamboo Grove Hill#4 GUILD_FLAG
end;
OnRecvCastlePy05:
- FlagEmblem GetCastleData("payg_cas05",1);
+ flagemblem getcastledata("payg_cas05",1);
end;
}
diff --git a/npc/guild/prtg_cas01.txt b/npc/guild/prtg_cas01.txt
index e739735de..a99f37ac9 100644
--- a/npc/guild/prtg_cas01.txt
+++ b/npc/guild/prtg_cas01.txt
@@ -18,7 +18,7 @@
//============================================================
- script Kriemhild#1::OutsideFlagsPR1 GUILD_FLAG,{
- set .@GID, GetCastleData("prtg_cas01",1);
+ set .@GID, getcastledata("prtg_cas01",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -41,7 +41,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("prtg_cas01",1)) {
+ if (getcharid(2) == getcastledata("prtg_cas01",1)) {
warp "prtg_cas01",96,173;
end;
}
@@ -53,16 +53,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastlePt01:
- FlagEmblem GetCastleData("prtg_cas01",1);
+ flagemblem getcastledata("prtg_cas01",1);
end;
}
@@ -77,7 +77,7 @@ prt_gld,135,60,6 duplicate(OutsideFlagsPR1) Kriemhild#4 GUILD_FLAG
end;
OnRecvCastlePt01:
- FlagEmblem GetCastleData("prtg_cas01",1);
+ flagemblem getcastledata("prtg_cas01",1);
end;
}
diff --git a/npc/guild/prtg_cas02.txt b/npc/guild/prtg_cas02.txt
index 7c3df9334..ceaae4821 100644
--- a/npc/guild/prtg_cas02.txt
+++ b/npc/guild/prtg_cas02.txt
@@ -18,7 +18,7 @@
//============================================================
- script Swanhild#1::OutsideFlagsPR2 GUILD_FLAG,{
- set .@GID, GetCastleData("prtg_cas02",1);
+ set .@GID, getcastledata("prtg_cas02",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -41,7 +41,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("prtg_cas02",1)) {
+ if (getcharid(2) == getcastledata("prtg_cas02",1)) {
warp "prtg_cas02",169,55;
end;
}
@@ -53,16 +53,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastlePt02:
- FlagEmblem GetCastleData("prtg_cas02",1);
+ flagemblem getcastledata("prtg_cas02",1);
end;
}
@@ -77,7 +77,7 @@ prt_gld,236,128,8 duplicate(OutsideFlagsPR2) Swanhild#4 GUILD_FLAG
end;
OnRecvCastlePt02:
- FlagEmblem GetCastleData("prtg_cas02",1);
+ flagemblem getcastledata("prtg_cas02",1);
end;
}
diff --git a/npc/guild/prtg_cas03.txt b/npc/guild/prtg_cas03.txt
index 07b7aec4a..b0e0515ec 100644
--- a/npc/guild/prtg_cas03.txt
+++ b/npc/guild/prtg_cas03.txt
@@ -18,7 +18,7 @@
//============================================================
- script Fadhgridh#1::OutsideFlagsPR3 GUILD_FLAG,{
- set .@GID, GetCastleData("prtg_cas03",1);
+ set .@GID, getcastledata("prtg_cas03",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -41,7 +41,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("prtg_cas03",1)) {
+ if (getcharid(2) == getcastledata("prtg_cas03",1)) {
warp "prtg_cas03",181,215;
end;
}
@@ -53,16 +53,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastlePt03:
- FlagEmblem GetCastleData("prtg_cas03",1);
+ flagemblem getcastledata("prtg_cas03",1);
end;
}
@@ -77,7 +77,7 @@ prt_gld,158,136,4 duplicate(OutsideFlagsPR3) Fadhgridh#4 GUILD_FLAG
end;
OnRecvCastlePt03:
- FlagEmblem GetCastleData("prtg_cas03",1);
+ flagemblem getcastledata("prtg_cas03",1);
end;
}
diff --git a/npc/guild/prtg_cas04.txt b/npc/guild/prtg_cas04.txt
index 0c072bd66..08f1522db 100644
--- a/npc/guild/prtg_cas04.txt
+++ b/npc/guild/prtg_cas04.txt
@@ -18,7 +18,7 @@
//============================================================
- script Skoegul#1::OutsideFlagsPR4 GUILD_FLAG,{
- set .@GID, GetCastleData("prtg_cas04",1);
+ set .@GID, getcastledata("prtg_cas04",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -41,7 +41,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("prtg_cas04",1)) {
+ if (getcharid(2) == getcastledata("prtg_cas04",1)) {
warp "prtg_cas04",258,247;
end;
}
@@ -53,16 +53,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastlePt04:
- FlagEmblem GetCastleData("prtg_cas04",1);
+ flagemblem getcastledata("prtg_cas04",1);
end;
}
@@ -77,7 +77,7 @@ prt_gld,122,236,6 duplicate(OutsideFlagsPR4) Skoegul#4 GUILD_FLAG
end;
OnRecvCastlePt04:
- FlagEmblem GetCastleData("prtg_cas04",1);
+ flagemblem getcastledata("prtg_cas04",1);
end;
}
diff --git a/npc/guild/prtg_cas05.txt b/npc/guild/prtg_cas05.txt
index 0c4938a26..69ac3eb32 100644
--- a/npc/guild/prtg_cas05.txt
+++ b/npc/guild/prtg_cas05.txt
@@ -18,7 +18,7 @@
//============================================================
- script Gondul#1::OutsideFlagsPR5 GUILD_FLAG,{
- set .@GID, GetCastleData("prtg_cas05",1);
+ set .@GID, getcastledata("prtg_cas05",1);
if (.@GID == 0) {
mes "[ Edict of the Divine Rune-Midgarts Kingdom ]";
@@ -41,7 +41,7 @@
next;
if(select("Return to the guild castle.:Quit.") == 1) {
close2;
- if (getcharid(2) == GetCastleData("prtg_cas05",1)) {
+ if (getcharid(2) == getcastledata("prtg_cas05",1)) {
warp "prtg_cas05",52,41;
end;
}
@@ -53,16 +53,16 @@
mes " ";
mes "1. Follow the ordinance of The Divine Rune-Midgarts Kingdom, ";
mes "we approve that this place is in";
- mes "the private prossession of ^ff0000"+GetGuildName(.@GID)+"^000000 Guild.";
+ mes "the private prossession 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 "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.";
close;
OnRecvCastlePt05:
- FlagEmblem GetCastleData("prtg_cas05",1);
+ flagemblem getcastledata("prtg_cas05",1);
end;
}
@@ -77,7 +77,7 @@ prt_gld,197,236,2 duplicate(OutsideFlagsPR5) Gondul#4 GUILD_FLAG
end;
OnRecvCastlePt05:
- FlagEmblem GetCastleData("prtg_cas05",1);
+ flagemblem getcastledata("prtg_cas05",1);
end;
}