summaryrefslogtreecommitdiff
path: root/npc/quests/okolnir.txt
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/quests/okolnir.txt
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/quests/okolnir.txt')
-rw-r--r--npc/quests/okolnir.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/quests/okolnir.txt b/npc/quests/okolnir.txt
index 395fda89d..c1e09bfec 100644
--- a/npc/quests/okolnir.txt
+++ b/npc/quests/okolnir.txt
@@ -21,7 +21,7 @@ function script F_Okolnir {
- script Guide#gq_main -1,{
set .@sub$, callfunc("F_Okolnir");
- set .@GID, GetCastleData(strnpcinfo(4),1);
+ set .@GID, getcastledata(strnpcinfo(4),1);
if (getcharid(2) == .@GID) {
if (getd("$siz_"+.@sub$+"_on") == 0) {
mes "[Guide]";
@@ -58,8 +58,8 @@ function script F_Okolnir {
mes "Would you like to try to enter here?";
close;
case 2:
- set .@Defence,GetCastleData(strnpcinfo(4),3);
- set .@Economy,GetCastleData(strnpcinfo(4),2);
+ set .@Defence,getcastledata(strnpcinfo(4),3);
+ set .@Economy,getcastledata(strnpcinfo(4),2);
if ((.@Economy > 64) && (.@Defence > 29)) {
mes "[Guide]";
mes "Great! Economy and Defense are OK.";
@@ -169,7 +169,7 @@ que_qsch05,345,23,0 warp Gate02#gq_sch05 1,1,schg_cas05,369,306
- script Wish Maiden#gq_main -1,{
set .@sub$, callfunc("F_Okolnir");
set .@t$, ((compare(strnpcinfo(4),"aru"))?"arug_cas0":"schg_cas0")+(charat(strnpcinfo(4),getstrlen(strnpcinfo(4))-1));
- set .@GID, GetCastleData(.@t$,1);
+ set .@GID, getcastledata(.@t$,1);
if (getcharid(2) == .@GID) {
cutin "wish_maiden31",1;
if (strcharinfo(0) == getguildmaster(.@GID)) {
@@ -236,7 +236,7 @@ que_qsch05,345,23,0 warp Gate02#gq_sch05 1,1,schg_cas05,369,306
donpcevent "#okolnir_"+.@sub$+"::OnEnable";
disablenpc "Wish Maiden#gq_"+.@sub$;
cutin "wish_maiden11",255;
- announce "["+ strcharinfo(0) +"], of the guild ["+ GetGuildName(.@GID) +"] has opened the gates to the realm of Okolnir.",bc_all,"0x70dbdb";
+ announce "["+ strcharinfo(0) +"], of the guild ["+ getguildname(.@GID) +"] has opened the gates to the realm of Okolnir.",bc_all,"0x70dbdb";
end;
}
else {
@@ -2142,7 +2142,7 @@ que_qsch05,251,255,3 duplicate(Wish Maiden#main_boss) Wish Maiden#sch05_boss 193
- script Wish Maiden#main_gift -1,{
set .@sub$,callfunc("F_Okolnir");
set .@t$, ((compare(strnpcinfo(4),"aru"))?"arug_cas0":"schg_cas0")+(charat(strnpcinfo(4),getstrlen(strnpcinfo(4))-1));
- set .@GID, GetCastleData(.@t$,1);
+ set .@GID, getcastledata(.@t$,1);
if (getcharid(2) == .@GID) {
if (strcharinfo(0) == getguildmaster(.@GID)) {
if (compare(.@sub$,"aru")) {
@@ -2180,7 +2180,7 @@ que_qsch05,251,255,3 duplicate(Wish Maiden#main_boss) Wish Maiden#sch05_boss 193
delitem .@n[.@i],.@n[.@i+1];
getitem .@rwd,1;
getitem 7840,1; //Valkyrie_Gift
- announce "["+ strcharinfo(0) +"], of guild ["+ GetGuildName(.@GID) +"] has brought a "+getitemname(.@rwd)+" into this world.",bc_all,"0x70dbdb";
+ announce "["+ strcharinfo(0) +"], of guild ["+ getguildname(.@GID) +"] has brought a "+getitemname(.@rwd)+" into this world.",bc_all,"0x70dbdb";
close2;
cutin "wish_maiden11",255;
disablenpc "Wish Maiden#"+.@sub$+"_gift";