summaryrefslogtreecommitdiff
path: root/npc/woe-fe
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2019-10-20 13:40:25 -0400
committergumi <git@gumi.ca>2019-10-20 22:20:12 -0400
commit50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5 (patch)
tree16ee679469af6aba9aa8b50b5985508e9715a450 /npc/woe-fe
parent9127ead75b9baa4e6372d11cb4ba033651976629 (diff)
downloadhercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.gz
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.bz2
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.xz
hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.zip
convert scripts to use getguildinfo()
Diffstat (limited to 'npc/woe-fe')
-rw-r--r--npc/woe-fe/agit_controller.txt2
-rw-r--r--npc/woe-fe/agit_main.txt10
-rw-r--r--npc/woe-fe/aldeg_cas01.txt6
-rw-r--r--npc/woe-fe/aldeg_cas02.txt6
-rw-r--r--npc/woe-fe/aldeg_cas03.txt6
-rw-r--r--npc/woe-fe/aldeg_cas04.txt6
-rw-r--r--npc/woe-fe/aldeg_cas05.txt6
-rw-r--r--npc/woe-fe/gefg_cas01.txt6
-rw-r--r--npc/woe-fe/gefg_cas02.txt6
-rw-r--r--npc/woe-fe/gefg_cas03.txt6
-rw-r--r--npc/woe-fe/gefg_cas04.txt6
-rw-r--r--npc/woe-fe/gefg_cas05.txt6
-rw-r--r--npc/woe-fe/payg_cas01.txt6
-rw-r--r--npc/woe-fe/payg_cas02.txt6
-rw-r--r--npc/woe-fe/payg_cas03.txt6
-rw-r--r--npc/woe-fe/payg_cas04.txt6
-rw-r--r--npc/woe-fe/payg_cas05.txt6
-rw-r--r--npc/woe-fe/prtg_cas01.txt6
-rw-r--r--npc/woe-fe/prtg_cas02.txt6
-rw-r--r--npc/woe-fe/prtg_cas03.txt6
-rw-r--r--npc/woe-fe/prtg_cas04.txt6
-rw-r--r--npc/woe-fe/prtg_cas05.txt6
-rw-r--r--npc/woe-fe/trs_rp.txt2
23 files changed, 67 insertions, 67 deletions
diff --git a/npc/woe-fe/agit_controller.txt b/npc/woe-fe/agit_controller.txt
index be7e07d14..a0e3fa290 100644
--- a/npc/woe-fe/agit_controller.txt
+++ b/npc/woe-fe/agit_controller.txt
@@ -82,7 +82,7 @@ S_DisplayOwners:
setarray .@maps$[15],"prtg_cas01","prtg_cas02","prtg_cas03","prtg_cas04","prtg_cas05";
for (.@i = 0; .@i <= 19; ++.@i) {
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;
+ announce "The [" + getcastlename(.@maps$[.@i]) + "] castle has been conquered by the [" + getguildinfo(GUILDINFO_NAME, getcastledata(.@maps$[.@i],1)) + "] guild.",bc_all|bc_woe;
else
announce "The [" + getcastlename(.@maps$[.@i]) + "] castle is currently unoccupied.",bc_all|bc_woe;
}
diff --git a/npc/woe-fe/agit_main.txt b/npc/woe-fe/agit_main.txt
index a0db6402b..05789a286 100644
--- a/npc/woe-fe/agit_main.txt
+++ b/npc/woe-fe/agit_main.txt
@@ -143,7 +143,7 @@ OnAgitBreak:
if( agitcheck() )
donpcevent "Agit#"+strnpcinfo(NPC_NAME_HIDDEN)+"::OnStartArena";
sleep 7000;
- announce "The [" + getcastlename(strnpcinfo(NPC_NAME_HIDDEN)) + "] castle has been conquered by the [" + getguildname(.@GID) + "] guild.",bc_all|bc_woe;
+ announce "The [" + getcastlename(strnpcinfo(NPC_NAME_HIDDEN)) + "] castle has been conquered by the [" + getguildinfo(GUILDINFO_NAME, .@GID) + "] guild.",bc_all|bc_woe;
end;
// War of Emperium has ended.
@@ -345,7 +345,7 @@ OnRecvCastle:
cutin "kafra_01",2;
if (getcharid(CHAR_ID_GUILD) == .@GID) {
mes "[Kafra Employee]";
- mes "Welcome. ^ff0000" + getguildname(.@GID) + "^000000 Member.";
+ mes "Welcome. ^ff0000" + getguildinfo(GUILDINFO_NAME, .@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")) {
@@ -458,7 +458,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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild. Please try another Kafra Employee around here. Sorry for the inconvenience.";
close2;
cutin "",255;
end;
@@ -610,9 +610,9 @@ OnRecvCastle:
mes "Brave soul... fate will guide you towards your future...";
close;
}
- if (getguildmaster(.@GID) != strcharinfo(PC_NAME)) {
+ if (getguildinfo(GUILDINFO_MASTER_NAME, .@GID) != strcharinfo(PC_NAME)) {
mes "["+strnpcinfo(NPC_NAME_VISIBLE)+"]";
- 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"+getguildinfo(GUILDINFO_MASTER_NAME, .@GID)+"^000000. Where are the Guardians?! Send these ruffians away right now!";
close;
}
mes "["+strnpcinfo(NPC_NAME_VISIBLE)+"]";
diff --git a/npc/woe-fe/aldeg_cas01.txt b/npc/woe-fe/aldeg_cas01.txt
index 5c76ca483..829e500ec 100644
--- a/npc/woe-fe/aldeg_cas01.txt
+++ b/npc/woe-fe/aldeg_cas01.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/aldeg_cas02.txt b/npc/woe-fe/aldeg_cas02.txt
index e588909a1..c4399d9ec 100644
--- a/npc/woe-fe/aldeg_cas02.txt
+++ b/npc/woe-fe/aldeg_cas02.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/aldeg_cas03.txt b/npc/woe-fe/aldeg_cas03.txt
index a0076bfec..d9abdf85f 100644
--- a/npc/woe-fe/aldeg_cas03.txt
+++ b/npc/woe-fe/aldeg_cas03.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/aldeg_cas04.txt b/npc/woe-fe/aldeg_cas04.txt
index f96586f48..8ced8e6e3 100644
--- a/npc/woe-fe/aldeg_cas04.txt
+++ b/npc/woe-fe/aldeg_cas04.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/aldeg_cas05.txt b/npc/woe-fe/aldeg_cas05.txt
index 79c5c77af..cf71dbe42 100644
--- a/npc/woe-fe/aldeg_cas05.txt
+++ b/npc/woe-fe/aldeg_cas05.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/gefg_cas01.txt b/npc/woe-fe/gefg_cas01.txt
index 364222781..ab27b812a 100644
--- a/npc/woe-fe/gefg_cas01.txt
+++ b/npc/woe-fe/gefg_cas01.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/gefg_cas02.txt b/npc/woe-fe/gefg_cas02.txt
index 5729b4033..791f09971 100644
--- a/npc/woe-fe/gefg_cas02.txt
+++ b/npc/woe-fe/gefg_cas02.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/gefg_cas03.txt b/npc/woe-fe/gefg_cas03.txt
index d74692200..42f1a6c2a 100644
--- a/npc/woe-fe/gefg_cas03.txt
+++ b/npc/woe-fe/gefg_cas03.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/gefg_cas04.txt b/npc/woe-fe/gefg_cas04.txt
index 39141723f..245f24df3 100644
--- a/npc/woe-fe/gefg_cas04.txt
+++ b/npc/woe-fe/gefg_cas04.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/gefg_cas05.txt b/npc/woe-fe/gefg_cas05.txt
index caa9a10fc..54624bb2e 100644
--- a/npc/woe-fe/gefg_cas05.txt
+++ b/npc/woe-fe/gefg_cas05.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/payg_cas01.txt b/npc/woe-fe/payg_cas01.txt
index d06883620..19dd2437e 100644
--- a/npc/woe-fe/payg_cas01.txt
+++ b/npc/woe-fe/payg_cas01.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/payg_cas02.txt b/npc/woe-fe/payg_cas02.txt
index 9b5b97811..2648c1802 100644
--- a/npc/woe-fe/payg_cas02.txt
+++ b/npc/woe-fe/payg_cas02.txt
@@ -72,10 +72,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/payg_cas03.txt b/npc/woe-fe/payg_cas03.txt
index 10b859c8f..81050aded 100644
--- a/npc/woe-fe/payg_cas03.txt
+++ b/npc/woe-fe/payg_cas03.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/payg_cas04.txt b/npc/woe-fe/payg_cas04.txt
index 46f4fbb6b..8eca38c38 100644
--- a/npc/woe-fe/payg_cas04.txt
+++ b/npc/woe-fe/payg_cas04.txt
@@ -72,10 +72,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/payg_cas05.txt b/npc/woe-fe/payg_cas05.txt
index a2a35790a..d2cbe6253 100644
--- a/npc/woe-fe/payg_cas05.txt
+++ b/npc/woe-fe/payg_cas05.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/prtg_cas01.txt b/npc/woe-fe/prtg_cas01.txt
index 33a564fe9..ec9d544c9 100644
--- a/npc/woe-fe/prtg_cas01.txt
+++ b/npc/woe-fe/prtg_cas01.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/prtg_cas02.txt b/npc/woe-fe/prtg_cas02.txt
index 6531b681f..fa4f6d555 100644
--- a/npc/woe-fe/prtg_cas02.txt
+++ b/npc/woe-fe/prtg_cas02.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/prtg_cas03.txt b/npc/woe-fe/prtg_cas03.txt
index 2a3879f65..2b72d0976 100644
--- a/npc/woe-fe/prtg_cas03.txt
+++ b/npc/woe-fe/prtg_cas03.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/prtg_cas04.txt b/npc/woe-fe/prtg_cas04.txt
index 3e0de365f..438b3a7a6 100644
--- a/npc/woe-fe/prtg_cas04.txt
+++ b/npc/woe-fe/prtg_cas04.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/prtg_cas05.txt b/npc/woe-fe/prtg_cas05.txt
index 56dc902a3..46fcccb1c 100644
--- a/npc/woe-fe/prtg_cas05.txt
+++ b/npc/woe-fe/prtg_cas05.txt
@@ -71,10 +71,10 @@
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"+getguildinfo(GUILDINFO_NAME, .@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"+getguildinfo(GUILDINFO_NAME, .@GID)+"^000000 Guild is";
+ mes "^ff0000"+getguildinfo(GUILDINFO_MASTER_NAME, .@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;
diff --git a/npc/woe-fe/trs_rp.txt b/npc/woe-fe/trs_rp.txt
index 7a71c1bbe..775b0befd 100644
--- a/npc/woe-fe/trs_rp.txt
+++ b/npc/woe-fe/trs_rp.txt
@@ -39,7 +39,7 @@ end;
OnTouch:
// Store the Guild ID of castle occupant.
.@GID = getcastledata(strnpcinfo(NPC_NAME_HIDDEN),1);
- if (strcharinfo(PC_NAME) != getguildmaster(.@GID)) {
+ if (strcharinfo(PC_NAME) != getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) {
if (compare(strnpcinfo(NPC_NAME_HIDDEN),"aldeg"))
warp "aldebaran",143,112;
else if (compare(strnpcinfo(NPC_NAME_HIDDEN),"gefg"))