diff options
author | Haru <haru@dotalux.com> | 2013-11-09 16:41:40 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-09 16:41:40 +0100 |
commit | 857bdc4f98be6cd1e185a24565d6b6b54752b9b4 (patch) | |
tree | 948d7b4ee8c991a128f5db2aa9df5b8ecf5ab37d /npc/guild/prtg_cas01.txt | |
parent | 8ed38f98894fb04b4403b44dc0f36281cfd36326 (diff) | |
download | hercules-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/prtg_cas01.txt')
-rw-r--r-- | npc/guild/prtg_cas01.txt | 14 |
1 files changed, 7 insertions, 7 deletions
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; } |