diff options
author | gumi <git@gumi.ca> | 2019-10-20 13:40:25 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2019-10-20 22:20:12 -0400 |
commit | 50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5 (patch) | |
tree | 16ee679469af6aba9aa8b50b5985508e9715a450 /npc/quests/seals | |
parent | 9127ead75b9baa4e6372d11cb4ba033651976629 (diff) | |
download | hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.gz hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.bz2 hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.tar.xz hercules-50f7cd8138cafc307b51d5c1f02c7f2893d2a0c5.zip |
convert scripts to use getguildinfo()
Diffstat (limited to 'npc/quests/seals')
-rw-r--r-- | npc/quests/seals/god_weapon_creation.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/quests/seals/god_weapon_creation.txt b/npc/quests/seals/god_weapon_creation.txt index 3f32461fa..037c96197 100644 --- a/npc/quests/seals/god_weapon_creation.txt +++ b/npc/quests/seals/god_weapon_creation.txt @@ -91,7 +91,7 @@ gld_dun01,28,85,0 script Grunburti#1::GodDwarf 4_M_DWARF,{ case 3: .@GID = getcharid(CHAR_ID_GUILD); if (($God1 < $@god_check2) || ($God2 < $@god_check2) || ($God3 < $@god_check2) || ($God4 < $@god_check2)){ - if (($God1 >= $@god_check1) && ($God2 >= $@god_check1) && ($God3 >= $@god_check1) && ($God4 >= $@god_check1) && (strcharinfo(PC_NAME) == getguildmaster(.@GID))) { + if (($God1 >= $@god_check1) && ($God2 >= $@god_check1) && ($God3 >= $@god_check1) && ($God4 >= $@god_check1) && (strcharinfo(PC_NAME) == getguildinfo(GUILDINFO_MASTER_NAME, .@GID))) { mes "[Dwarf Grunburti]"; mes "Hmm..."; mes "I'll need some things to make a weapon for you. What exactly were you interested in having?"; @@ -167,7 +167,7 @@ gld_dun01,28,85,0 script Grunburti#1::GodDwarf 4_M_DWARF,{ mes "Stop bothering me and get out of here! Go play with some monsters, you simple minded fool!"; close; } - if (strcharinfo(PC_NAME) != getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) != getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) { mes "[Dwarf Grunburti]"; mes "I'll only present"; mes "my magnificent skills"; @@ -413,7 +413,7 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{ close; } .@GID = getcharid(CHAR_ID_GUILD); - if (strcharinfo(PC_NAME) != getguildmaster(.@GID)) { + if (strcharinfo(PC_NAME) != getguildinfo(GUILDINFO_MASTER_NAME, .@GID)) { mes "[Dwarf Grunburti]"; mes "How in the..."; mes "Get out of here!"; @@ -515,7 +515,7 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{ $God2 = 0; $God3 = 0; $God4 = 0; - announce "[Brisingamen] has come into the hands of [" + strcharinfo(PC_NAME) + "], master of the [" + getguildname(.@GID) + "] guild.",bc_all; + announce "[Brisingamen] has come into the hands of [" + strcharinfo(PC_NAME) + "], master of the [" + getguildinfo(GUILDINFO_NAME, .@GID) + "] guild.",bc_all; mes "[Dwarf Grunburti]"; mes "Ah, just look at this dazzling beauty. No other piece of jewelry complemented Freya as well as Brisingamen."; close; @@ -589,7 +589,7 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{ $God2 = 0; $God3 = 0; $God4 = 0; - announce "[Megingjard] the godly item has been given to [" + strcharinfo(PC_NAME) + "], the master of the guild [" + getguildname(.@GID) + "].",bc_all; + announce "[Megingjard] the godly item has been given to [" + strcharinfo(PC_NAME) + "], the master of the guild [" + getguildinfo(GUILDINFO_NAME, .@GID) + "].",bc_all; mes "[Dwarf Grunburti]"; mes "Here..."; mes "Be careful with how"; @@ -679,7 +679,7 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{ $God2 = 0; $God3 = 0; $God4 = 0; - announce "[Sleipnir] the godly item has been given to [" + strcharinfo(PC_NAME) + "], the master of the guild [" + getguildname(.@GID) + "].",bc_all; + announce "[Sleipnir] the godly item has been given to [" + strcharinfo(PC_NAME) + "], the master of the guild [" + getguildinfo(GUILDINFO_NAME, .@GID) + "].",bc_all; mes "[Dwarf Grunburti]"; mes "There..."; mes "Wear these, and"; @@ -768,7 +768,7 @@ que_god01,154,112,4 script Grunburti#god 4_M_DWARF,{ $God2 = 0; $God3 = 0; $God4 = 0; - announce "[Mjolnir] has been bestowed to [" + strcharinfo(PC_NAME) + "], the master of the [" + getguildname(.@GID) + "] guild.",bc_all; + announce "[Mjolnir] has been bestowed to [" + strcharinfo(PC_NAME) + "], the master of the [" + getguildinfo(GUILDINFO_NAME, .@GID) + "] guild.",bc_all; mes "[Dwarf Grunburti]"; mes "It's done."; mes "Take it. How does"; |