summaryrefslogtreecommitdiff
path: root/npc/battleground/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'npc/battleground/kvm')
-rw-r--r--npc/battleground/kvm/kvm01.txt108
-rw-r--r--npc/battleground/kvm/kvm02.txt108
-rw-r--r--npc/battleground/kvm/kvm03.txt108
-rw-r--r--npc/battleground/kvm/kvm_enter.txt190
-rw-r--r--npc/battleground/kvm/kvm_item_pay.txt258
5 files changed, 386 insertions, 386 deletions
diff --git a/npc/battleground/kvm/kvm01.txt b/npc/battleground/kvm/kvm01.txt
index 0e737d0c0..d0b3d16be 100644
--- a/npc/battleground/kvm/kvm01.txt
+++ b/npc/battleground/kvm/kvm01.txt
@@ -9,7 +9,7 @@
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
-//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) 2012-2016 Hercules Dev Team
//= Copyright (C) L0ne_W0lf
//=
//= Hercules is free software: you can redistribute it and/or modify
@@ -39,7 +39,7 @@ bat_room,169,226,5 script KVM Waiting Room#a::KvM01R_Guillaume 4_M_KY_KNT,{
end;
OnInit:
- waitingroom "Battle Station 5 Players",6,"KvM01_BG::OnGuillaumeJoin",1;
+ waitingroom(_("Battle Station 5 Players"), 6, "KvM01_BG::OnGuillaumeJoin", 1);
end;
OnEnterBG:
@@ -53,7 +53,7 @@ bat_room,169,205,3 script KVM Waiting Room#b::KvM01R_Croix 4_M_CRU_KNT,{
end;
OnInit:
- waitingroom "Battle Station 5 Players",6,"KvM01_BG::OnCroixJoin",1;
+ waitingroom(_("Battle Station 5 Players"), 6, "KvM01_BG::OnCroixJoin", 1);
end;
OnEnterBG:
@@ -160,8 +160,8 @@ OnGuillaumeDie:
bg_updatescore "bat_c01",.Guillaume_Count,.Croix_Count;
if( .Guillaume_Count < 1 ) donpcevent "KvM01_BG::OnCroixWin";
else {
- mapannounce "bat_c01", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c01", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
+ mapannounce("bat_c01", sprintf(_$("The number of Guillaumes is %d."), .Guillaume_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c01", sprintf(_$("The number of Croixes is %d."), .Croix_Count), bc_map, "0x00ff00");
}
}
end;
@@ -174,8 +174,8 @@ OnCroixDie:
bg_updatescore "bat_c01",.Guillaume_Count,.Croix_Count;
if( .Croix_Count < 1 ) donpcevent "KvM01_BG::OnGuillaumeWin";
else {
- mapannounce "bat_c01", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c01", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
+ mapannounce("bat_c01", sprintf(_$("The number of Guillaumes is %d."), .Guillaume_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c01", sprintf(_$("The number of Croixes is %d."), .Croix_Count), bc_map, "0x00ff00");
}
}
end;
@@ -206,16 +206,16 @@ OnStart:
end;
OnTimer1000:
- mapannounce "bat_c01", "In 1 minute, KVM will start.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("In 1 minute, KVM will start."), bc_map, "0x00ff00");
end;
OnTimer3000:
- mapannounce "bat_c01", "The maximum time for a KVM battle is 5 minutes.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("The maximum time for a KVM battle is 5 minutes."), bc_map, "0x00ff00");
end;
OnTimer6000:
- mapannounce "bat_c01", "Please prepare for the KVM battle.",bc_map,"0x00ff00";
- mapannounce "bat_c01", "You can buff your people.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("Please prepare for the KVM battle."), bc_map, "0x00ff00");
+ mapannounce("bat_c01", _("You can buff your people."), bc_map, "0x00ff00");
donpcevent "#A_camp_start01::OnEnable";
donpcevent "#B_camp_start01::OnEnable";
end;
@@ -226,26 +226,26 @@ OnTimer13000:
end;
OnTimer30000:
- mapannounce "bat_c01", "30 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("30 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
end;
OnTimer45000:
- mapannounce "bat_c01", "15 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("15 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
donpcevent "::OnKvM01One";
end;
OnTimer50000:
- mapannounce "bat_c01", "10 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("10 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
donpcevent "::OnKvM01Two";
end;
OnTimer55000:
- mapannounce "bat_c01", "5 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("5 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
donpcevent "::OnKvM01One";
end;
OnTimer59000:
- mapannounce "bat_c01", "KVM is now commencing.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("KVM is now commencing."), bc_map, "0x00ff00");
donpcevent "::OnKvM01Two";
end;
@@ -257,7 +257,7 @@ OnTimer61000:
{
$@KvM01BG_Victory = 3;
$@KvM01BG = 3;
- mapannounce "bat_c01","There are not enough players to start the battle",1,0x696969;
+ mapannounce("bat_c01", _("There are not enough players to start the battle"), bc_map, "0x696969");
stopnpctimer;
donpcevent "KvM01_BG::OnStop";
end;
@@ -268,27 +268,27 @@ OnTimer61000:
end;
OnTimer300000:
- mapannounce "bat_c01", "1 minute remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("1 minute remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer330000:
- mapannounce "bat_c01", "30 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("30 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer345000:
- mapannounce "bat_c01", "15 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("15 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer350000:
- mapannounce "bat_c01", "10 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("10 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer355000:
- mapannounce "bat_c01", "5 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("5 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer360000:
- mapannounce "bat_c01", "The KVM battle is over.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("The KVM battle is over."), bc_map, "0x00ff00");
if( .Croix_Count > .Guillaume_Count )
donpcevent "KvM01_BG::OnCroixWin";
else if( .Croix_Count < .Guillaume_Count )
@@ -297,9 +297,9 @@ OnTimer360000:
{ // Draw Game
$@KvM01BG = 3;
$@KvM01BG_Victory = 3;
- mapannounce "bat_c01", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c01", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c01", "This battle has ended in a draw.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", sprintf(_$("The number of Guillaumes is %d."), .Guillaume_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c01", sprintf(_$("The number of Croixes is %d."), .Croix_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c01", _("This battle has ended in a draw."), bc_map, "0x00ff00");
donpcevent "KvM01_BG::OnStop";
}
end;
@@ -307,18 +307,18 @@ OnTimer360000:
OnGuillaumeWin:
$@KvM01BG = 3;
$@KvM01BG_Victory = 1;
- mapannounce "bat_c01", "Guillaume wins!",bc_map,"0x00ff00";
- mapannounce "bat_c01", "Congratulations to Guillaume members.",bc_map,"0x00ff00";
- mapannounce "bat_c01", "Everyone will be moved to the start point.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("Guillaume wins!"), bc_map, "0x00ff00");
+ mapannounce("bat_c01", _("Congratulations to Guillaume members."), bc_map, "0x00ff00");
+ mapannounce("bat_c01", _("Everyone will be moved to the start point."), bc_map, "0x00ff00");
donpcevent "KvM01_BG::OnStop";
end;
OnCroixWin:
$@KvM01BG = 3;
$@KvM01BG_Victory = 2;
- mapannounce "bat_c01", "Croix wins!",bc_map,"0x00ff00";
- mapannounce "bat_c01", "Congratulations to Croix members.",bc_map,"0x00ff00";
- mapannounce "bat_c01", "Everyone will be moved to the start point.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("Croix wins!"), bc_map, "0x00ff00");
+ mapannounce("bat_c01", _("Congratulations to Croix members."), bc_map, "0x00ff00");
+ mapannounce("bat_c01", _("Everyone will be moved to the start point."), bc_map, "0x00ff00");
donpcevent "KvM01_BG::OnStop";
end;
@@ -356,21 +356,21 @@ OnBegin:
end;
OnTimer1000:
- mapannounce "bat_c01", "Please apply with the Officer to acquire KVM points.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("Please apply with the Officer to acquire KVM points."), bc_map, "0x00ff00");
end;
OnTimer3000:
- mapannounce "bat_c01", "The Officer will grant you the points for 30 seconds.",bc_map,"0x00ff00";
- mapannounce "bat_c01", "In 30 seconds, the Officer will be sent away.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("The Officer will grant you the points for 30 seconds."), bc_map, "0x00ff00");
+ mapannounce("bat_c01", _("In 30 seconds, the Officer will be sent away."), bc_map, "0x00ff00");
end;
OnTimer5000:
- mapannounce "bat_c01", "Unless you talk to the Officer, you cannot gain the points.",bc_map,"0x00ff00";
- mapannounce "bat_c01", "Please be careful.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("Unless you talk to the Officer, you cannot gain the points."), bc_map, "0x00ff00");
+ mapannounce("bat_c01", _("Please be careful."), bc_map, "0x00ff00");
end;
OnTimer55000:
- mapannounce "bat_c01", "You will be sent back.",bc_map,"0x00ff00";
+ mapannounce("bat_c01", _("You will be sent back."), bc_map, "0x00ff00");
end;
OnTimer60000:
@@ -386,17 +386,17 @@ bat_c01,51,130,5 script KVM Officer#KVM01A 4_M_KY_HEAD,{
if( $@KvM01BG_Victory == Bat_Team )
{ // Victory
kvm_point += 5;
- mes "[KVM Officer]";
- mes "Good Game.";
- mes "May the glory of KVM be with you.";
- mes "You aquire the winning points: 5";
+ mes("[KVM Officer]");
+ mes("Good Game.");
+ mes("May the glory of KVM be with you.");
+ mes("You aquire the winning points: 5");
close2;
} else {
++kvm_point;
- mes "[KVM Officer]";
- mes "I am so sorry.";
- mes "I wish you better luck next time.";
- mes "You aquire the losing points: 1";
+ mes("[KVM Officer]");
+ mes("I am so sorry.");
+ mes("I wish you better luck next time.");
+ mes("You aquire the losing points: 1");
close2;
}
bg_leave;
@@ -413,17 +413,17 @@ bat_c01,148,53,1 script KVM Officer#KVM01B 4_M_CRU_HEAD,{
if( $@KvM01BG_Victory == Bat_Team )
{ // Victory
kvm_point += 5;
- mes "[KVM Officer]";
- mes "Good Game.";
- mes "May the glory of KVM be with you.";
- mes "You aquire the winning points: 5";
+ mes("[KVM Officer]");
+ mes("Good Game.");
+ mes("May the glory of KVM be with you.");
+ mes("You aquire the winning points: 5");
close2;
} else {
++kvm_point;
- mes "[KVM Officer]";
- mes "I am so sorry.";
- mes "I wish you better luck next time.";
- mes "You aquire the losing points: 1";
+ mes("[KVM Officer]");
+ mes("I am so sorry.");
+ mes("I wish you better luck next time.");
+ mes("You aquire the losing points: 1");
close2;
}
bg_leave;
diff --git a/npc/battleground/kvm/kvm02.txt b/npc/battleground/kvm/kvm02.txt
index 02f684a1d..a64dbf536 100644
--- a/npc/battleground/kvm/kvm02.txt
+++ b/npc/battleground/kvm/kvm02.txt
@@ -9,7 +9,7 @@
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
-//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) 2012-2016 Hercules Dev Team
//= Copyright (C) Ai4rei
//= Copyright (C) L0ne_W0lf
//=
@@ -40,7 +40,7 @@ bat_room,197,226,5 script KVM Waiting Room#a2::KvM02R_Guillaume 4_M_KY_KNT,{
end;
OnInit:
- waitingroom "Battle Station 5 Players",6,"KvM02_BG::OnGuillaumeJoin",1;
+ waitingroom(_("Battle Station 5 Players"), 6, "KvM02_BG::OnGuillaumeJoin", 1);
end;
OnEnterBG:
@@ -54,7 +54,7 @@ bat_room,197,205,3 script KVM Waiting Room#b2::KvM02R_Croix 4_M_CRU_KNT,{
end;
OnInit:
- waitingroom "Battle Station 5 Players",6,"KvM02_BG::OnCroixJoin",1;
+ waitingroom(_("Battle Station 5 Players"), 6, "KvM02_BG::OnCroixJoin", 1);
end;
OnEnterBG:
@@ -161,8 +161,8 @@ OnGuillaumeDie:
bg_updatescore "bat_c02",.Guillaume_Count,.Croix_Count;
if( .Guillaume_Count < 1 ) donpcevent "KvM02_BG::OnCroixWin";
else {
- mapannounce "bat_c02", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c02", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
+ mapannounce("bat_c02", sprintf(_$("The number of Guillaumes is %d."), .Guillaume_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c02", sprintf(_$("The number of Croixes is %d."), .Croix_Count), bc_map, "0x00ff00");
}
}
end;
@@ -175,8 +175,8 @@ OnCroixDie:
bg_updatescore "bat_c02",.Guillaume_Count,.Croix_Count;
if( .Croix_Count < 1 ) donpcevent "KvM02_BG::OnGuillaumeWin";
else {
- mapannounce "bat_c02", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c02", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
+ mapannounce("bat_c02", sprintf(_$("The number of Guillaumes is %d."), .Guillaume_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c02", sprintf(_$("The number of Croixes is %d."), .Croix_Count), bc_map, "0x00ff00");
}
}
end;
@@ -207,16 +207,16 @@ OnStart:
end;
OnTimer1000:
- mapannounce "bat_c02", "In 1 minute, KVM will start.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("In 1 minute, KVM will start."), bc_map, "0x00ff00");
end;
OnTimer3000:
- mapannounce "bat_c02", "The maximum time for a KVM battle is 5 minutes.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("The maximum time for a KVM battle is 5 minutes."), bc_map, "0x00ff00");
end;
OnTimer6000:
- mapannounce "bat_c02", "Please prepare for the KVM battle.",bc_map,"0x00ff00";
- mapannounce "bat_c02", "You can buff your people.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("Please prepare for the KVM battle."), bc_map, "0x00ff00");
+ mapannounce("bat_c02", _("You can buff your people."), bc_map, "0x00ff00");
donpcevent "#A_camp_start02::OnEnable";
donpcevent "#B_camp_start02::OnEnable";
end;
@@ -227,26 +227,26 @@ OnTimer13000:
end;
OnTimer30000:
- mapannounce "bat_c02", "30 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("30 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
end;
OnTimer45000:
- mapannounce "bat_c02", "15 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("15 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
donpcevent "::OnKvM01One";
end;
OnTimer50000:
- mapannounce "bat_c02", "10 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("10 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
donpcevent "::OnKvM01Two";
end;
OnTimer55000:
- mapannounce "bat_c02", "5 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("5 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
donpcevent "::OnKvM01One";
end;
OnTimer59000:
- mapannounce "bat_c02", "KVM is now commencing.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("KVM is now commencing."), bc_map, "0x00ff00");
donpcevent "::OnKvM01Two";
end;
@@ -258,7 +258,7 @@ OnTimer61000:
{
$@KvM02BG_Victory = 3;
$@KvM02BG = 3;
- mapannounce "bat_c02","There are not enough players to start the battle",1,0x808080;
+ mapannounce("bat_c02", _("There are not enough players to start the battle"), bc_map, "0x808080");
stopnpctimer;
donpcevent "KvM02_BG::OnStop";
end;
@@ -269,27 +269,27 @@ OnTimer61000:
end;
OnTimer300000:
- mapannounce "bat_c02", "1 minute remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("1 minute remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer330000:
- mapannounce "bat_c02", "30 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("30 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer345000:
- mapannounce "bat_c02", "15 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("15 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer350000:
- mapannounce "bat_c02", "10 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("10 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer355000:
- mapannounce "bat_c02", "5 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("5 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer360000:
- mapannounce "bat_c02", "The KVM battle is over.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("The KVM battle is over."), bc_map, "0x00ff00");
if( .Croix_Count > .Guillaume_Count )
donpcevent "KvM02_BG::OnCroixWin";
else if( .Croix_Count < .Guillaume_Count )
@@ -298,9 +298,9 @@ OnTimer360000:
{ // Draw Game
$@KvM02BG = 3;
$@KvM02BG_Victory = 3;
- mapannounce "bat_c02", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c02", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c02", "This battle has ended in a draw.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", sprintf(_$("The number of Guillaumes is %d."), .Guillaume_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c02", sprintf(_$("The number of Croixes is %d."), .Croix_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c02", _("This battle has ended in a draw."), bc_map, "0x00ff00");
donpcevent "KvM02_BG::OnStop";
}
end;
@@ -308,18 +308,18 @@ OnTimer360000:
OnGuillaumeWin:
$@KvM02BG = 3;
$@KvM02BG_Victory = 1;
- mapannounce "bat_c02", "Guillaume wins!",bc_map,"0x00ff00";
- mapannounce "bat_c02", "Congratulations to Guillaume members.",bc_map,"0x00ff00";
- mapannounce "bat_c02", "Everyone will be moved to the start point.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("Guillaume wins!"), bc_map, "0x00ff00");
+ mapannounce("bat_c02", _("Congratulations to Guillaume members."), bc_map, "0x00ff00");
+ mapannounce("bat_c02", _("Everyone will be moved to the start point."), bc_map, "0x00ff00");
donpcevent "KvM02_BG::OnStop";
end;
OnCroixWin:
$@KvM02BG = 3;
$@KvM02BG_Victory = 2;
- mapannounce "bat_c02", "Croix wins!",bc_map,"0x00ff00";
- mapannounce "bat_c02", "Congratulations to Croix members.",bc_map,"0x00ff00";
- mapannounce "bat_c02", "Everyone will be moved to the start point.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("Croix wins!"), bc_map, "0x00ff00");
+ mapannounce("bat_c02", _("Congratulations to Croix members."), bc_map, "0x00ff00");
+ mapannounce("bat_c02", _("Everyone will be moved to the start point."), bc_map, "0x00ff00");
donpcevent "KvM02_BG::OnStop";
end;
@@ -357,21 +357,21 @@ OnBegin:
end;
OnTimer1000:
- mapannounce "bat_c02", "Please apply with the Officer to acquire KVM points.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("Please apply with the Officer to acquire KVM points."), bc_map, "0x00ff00");
end;
OnTimer3000:
- mapannounce "bat_c02", "The Officer will grant you the points for 30 seconds.",bc_map,"0x00ff00";
- mapannounce "bat_c02", "In 30 seconds, the Officer will be sent away.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("The Officer will grant you the points for 30 seconds."), bc_map, "0x00ff00");
+ mapannounce("bat_c02", _("In 30 seconds, the Officer will be sent away."), bc_map, "0x00ff00");
end;
OnTimer5000:
- mapannounce "bat_c02", "Unless you talk to the Officer, you cannot gain the points.",bc_map,"0x00ff00";
- mapannounce "bat_c02", "Please be careful.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("Unless you talk to the Officer, you cannot gain the points."), bc_map, "0x00ff00");
+ mapannounce("bat_c02", _("Please be careful."), bc_map, "0x00ff00");
end;
OnTimer55000:
- mapannounce "bat_c02", "You will be sent back.",bc_map,"0x00ff00";
+ mapannounce("bat_c02", _("You will be sent back."), bc_map, "0x00ff00");
end;
OnTimer60000:
@@ -387,16 +387,16 @@ bat_c02,51,130,5 script KVM Officer#KVM02A 4_M_KY_HEAD,{
if( $@KvM02BG_Victory == Bat_Team )
{ // Victory
++kvm_point;
- mes "[KVM Officer]";
- mes "Good Game.";
- mes "May the glory of KVM be with you.";
- mes "You aquire the winning points: 1";
+ mes("[KVM Officer]");
+ mes("Good Game.");
+ mes("May the glory of KVM be with you.");
+ mes("You aquire the winning points: 1");
close2;
} else {
- mes "[KVM Officer]";
- mes "I am so sorry.";
- mes "I wish you better luck next time.";
- mes "You aquire the losing points: 0";
+ mes("[KVM Officer]");
+ mes("I am so sorry.");
+ mes("I wish you better luck next time.");
+ mes("You aquire the losing points: 0");
close2;
}
bg_leave;
@@ -413,16 +413,16 @@ bat_c02,148,53,1 script KVM Officer#KVM02B 4_M_CRU_HEAD,{
if( $@KvM02BG_Victory == Bat_Team )
{ // Victory
++kvm_point;
- mes "[KVM Officer]";
- mes "Good Game.";
- mes "May the glory of KVM be with you.";
- mes "You aquire the winning points: 1";
+ mes("[KVM Officer]");
+ mes("Good Game.");
+ mes("May the glory of KVM be with you.");
+ mes("You aquire the winning points: 1");
close2;
} else {
- mes "[KVM Officer]";
- mes "I am so sorry.";
- mes "I wish you better luck next time.";
- mes "You aquire the losing points: 0";
+ mes("[KVM Officer]");
+ mes("I am so sorry.");
+ mes("I wish you better luck next time.");
+ mes("You aquire the losing points: 0");
close2;
}
bg_leave;
diff --git a/npc/battleground/kvm/kvm03.txt b/npc/battleground/kvm/kvm03.txt
index d99f78a34..954fd7b49 100644
--- a/npc/battleground/kvm/kvm03.txt
+++ b/npc/battleground/kvm/kvm03.txt
@@ -9,7 +9,7 @@
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
-//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) 2012-2016 Hercules Dev Team
//= Copyright (C) Ai4rei
//= Copyright (C) L0ne_W0lf
//=
@@ -40,7 +40,7 @@ bat_room,225,226,5 script KVM Waiting Room#a3::KvM03R_Guillaume 4_M_KY_KNT,{
end;
OnInit:
- waitingroom "Battle Station 5 Players",6,"KvM03_BG::OnGuillaumeJoin",1;
+ waitingroom(_("Battle Station 5 Players"), 6, "KvM03_BG::OnGuillaumeJoin", 1);
end;
OnEnterBG:
@@ -54,7 +54,7 @@ bat_room,225,205,3 script KVM Waiting Room#b3::KvM03R_Croix 4_M_CRU_KNT,{
end;
OnInit:
- waitingroom "Battle Station 5 Players",6,"KvM03_BG::OnCroixJoin",1;
+ waitingroom(_("Battle Station 5 Players"), 6, "KvM03_BG::OnCroixJoin", 1);
end;
OnEnterBG:
@@ -161,8 +161,8 @@ OnGuillaumeDie:
bg_updatescore "bat_c03",.Guillaume_Count,.Croix_Count;
if( .Guillaume_Count < 1 ) donpcevent "KvM03_BG::OnCroixWin";
else {
- mapannounce "bat_c03", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c03", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
+ mapannounce("bat_c03", sprintf(_$("The number of Guillaumes is %d."), .Guillaume_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c03", sprintf(_$("The number of Croixes is %d."), .Croix_Count), bc_map, "0x00ff00");
}
}
end;
@@ -175,8 +175,8 @@ OnCroixDie:
bg_updatescore "bat_c03",.Guillaume_Count,.Croix_Count;
if( .Croix_Count < 1 ) donpcevent "KvM03_BG::OnGuillaumeWin";
else {
- mapannounce "bat_c03", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c03", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
+ mapannounce("bat_c03", sprintf(_$("The number of Guillaumes is %d."), .Guillaume_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c03", sprintf(_$("The number of Croixes is %d."), .Croix_Count), bc_map, "0x00ff00");
}
}
end;
@@ -207,16 +207,16 @@ OnStart:
end;
OnTimer1000:
- mapannounce "bat_c03", "In 1 minute, KVM will start.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("In 1 minute, KVM will start."), bc_map, "0x00ff00");
end;
OnTimer3000:
- mapannounce "bat_c03", "The maximum time for a KVM battle is 5 minutes.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("The maximum time for a KVM battle is 5 minutes."), bc_map, "0x00ff00");
end;
OnTimer6000:
- mapannounce "bat_c03", "Please prepare for the KVM battle.",bc_map,"0x00ff00";
- mapannounce "bat_c03", "You can buff your people.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("Please prepare for the KVM battle."), bc_map, "0x00ff00");
+ mapannounce("bat_c03", _("You can buff your people."), bc_map, "0x00ff00");
donpcevent "#A_camp_start03::OnEnable";
donpcevent "#B_camp_start03::OnEnable";
end;
@@ -227,26 +227,26 @@ OnTimer13000:
end;
OnTimer30000:
- mapannounce "bat_c03", "30 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("30 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
end;
OnTimer45000:
- mapannounce "bat_c03", "15 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("15 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
donpcevent "::OnKvM01One";
end;
OnTimer50000:
- mapannounce "bat_c03", "10 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("10 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
donpcevent "::OnKvM01Two";
end;
OnTimer55000:
- mapannounce "bat_c03", "5 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("5 seconds remaining to start KVM battle."), bc_map, "0x00ff00");
donpcevent "::OnKvM01One";
end;
OnTimer59000:
- mapannounce "bat_c03", "KVM is now commencing.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("KVM is now commencing."), bc_map, "0x00ff00");
donpcevent "::OnKvM01Two";
end;
@@ -258,7 +258,7 @@ OnTimer61000:
{
$@KvM03BG_Victory = 3;
$@KvM03BG = 3;
- mapannounce "bat_c03","There are not enough players to start the battle",1,0xC0C0C0;
+ mapannounce("bat_c03", _("There are not enough players to start the battle"), bc_map, "0xC0C0C0");
stopnpctimer;
donpcevent "KvM03_BG::OnStop";
end;
@@ -269,27 +269,27 @@ OnTimer61000:
end;
OnTimer300000:
- mapannounce "bat_c03", "1 minute remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("1 minute remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer330000:
- mapannounce "bat_c03", "30 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("30 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer345000:
- mapannounce "bat_c03", "15 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("15 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer350000:
- mapannounce "bat_c03", "10 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("10 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer355000:
- mapannounce "bat_c03", "5 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("5 seconds remaining to finish the KVM battle."), bc_map, "0x00ff00");
end;
OnTimer360000:
- mapannounce "bat_c03", "KVM has ended.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("KVM has ended."), bc_map, "0x00ff00");
if( .Croix_Count > .Guillaume_Count )
donpcevent "KvM03_BG::OnCroixWin";
else if( .Croix_Count < .Guillaume_Count )
@@ -298,9 +298,9 @@ OnTimer360000:
{ // Draw Game
$@KvM03BG = 3;
$@KvM03BG_Victory = 3;
- mapannounce "bat_c03", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c03", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
- mapannounce "bat_c03", "This battle has ended in a draw.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", sprintf(_$("The number of Guillaumes is %d."), .Guillaume_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c03", sprintf(_$("The number of Croixes is %d."), .Croix_Count), bc_map, "0x00ff00");
+ mapannounce("bat_c03", _("This battle has ended in a draw."), bc_map, "0x00ff00");
donpcevent "KvM03_BG::OnStop";
}
end;
@@ -308,18 +308,18 @@ OnTimer360000:
OnGuillaumeWin:
$@KvM03BG = 3;
$@KvM03BG_Victory = 1;
- mapannounce "bat_c03", "Guillaume wins!",bc_map,"0x00ff00";
- mapannounce "bat_c03", "Congratulations to Guillaume members.",bc_map,"0x00ff00";
- mapannounce "bat_c03", "Everyone will be moved to the start point.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("Guillaume wins!"), bc_map, "0x00ff00");
+ mapannounce("bat_c03", _("Congratulations to Guillaume members."), bc_map, "0x00ff00");
+ mapannounce("bat_c03", _("Everyone will be moved to the start point."), bc_map, "0x00ff00");
donpcevent "KvM03_BG::OnStop";
end;
OnCroixWin:
$@KvM03BG = 3;
$@KvM03BG_Victory = 2;
- mapannounce "bat_c03", "Croix wins!",bc_map,"0x00ff00";
- mapannounce "bat_c03", "Congratulations to Croix members.",bc_map,"0x00ff00";
- mapannounce "bat_c03", "Everyone will be moved to the start point.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("Croix wins!"), bc_map, "0x00ff00");
+ mapannounce("bat_c03", _("Congratulations to Croix members."), bc_map, "0x00ff00");
+ mapannounce("bat_c03", _("Everyone will be moved to the start point."), bc_map, "0x00ff00");
donpcevent "KvM03_BG::OnStop";
end;
@@ -357,21 +357,21 @@ OnBegin:
end;
OnTimer1000:
- mapannounce "bat_c03", "Please apply with the Officer to acquire KVM points.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("Please apply with the Officer to acquire KVM points."), bc_map, "0x00ff00");
end;
OnTimer3000:
- mapannounce "bat_c03", "The Officer will grant you the points for 30 seconds.",bc_map,"0x00ff00";
- mapannounce "bat_c03", "In 30 seconds, the Officer will be sent away.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("The Officer will grant you the points for 30 seconds."), bc_map, "0x00ff00");
+ mapannounce("bat_c03", _("In 30 seconds, the Officer will be sent away."), bc_map, "0x00ff00");
end;
OnTimer5000:
- mapannounce "bat_c03", "Unless you talk to the Officer, you cannot gain the points.",bc_map,"0x00ff00";
- mapannounce "bat_c03", "Please be careful.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("Unless you talk to the Officer, you cannot gain the points."), bc_map, "0x00ff00");
+ mapannounce("bat_c03", _("Please be careful."), bc_map, "0x00ff00");
end;
OnTimer55000:
- mapannounce "bat_c03", "You will be sent back.",bc_map,"0x00ff00";
+ mapannounce("bat_c03", _("You will be sent back."), bc_map, "0x00ff00");
end;
OnTimer60000:
@@ -387,17 +387,17 @@ bat_c03,51,130,5 script KVM Officer#KVM03A 4_M_KY_HEAD,{
if( $@KvM03BG_Victory == Bat_Team )
{ // Victory
kvm_point += 2;
- mes "[KVM Officer]";
- mes "Good Game.";
- mes "May the glory of KVM be with you.";
- mes "You aquire the winning points: 2";
+ mes("[KVM Officer]");
+ mes("Good Game.");
+ mes("May the glory of KVM be with you.");
+ mes("You aquire the winning points: 2");
close2;
} else {
++kvm_point;
- mes "[KVM Officer]";
- mes "I am so sorry.";
- mes "I wish you better luck next time.";
- mes "You aquire the losing points: 1";
+ mes("[KVM Officer]");
+ mes("I am so sorry.");
+ mes("I wish you better luck next time.");
+ mes("You aquire the losing points: 1");
close2;
}
bg_leave;
@@ -414,17 +414,17 @@ bat_c03,148,53,1 script KVM Officer#KVM03B 4_M_CRU_HEAD,{
if( $@KvM03BG_Victory == Bat_Team )
{ // Victory
kvm_point +=2;
- mes "[KVM Officer]";
- mes "Good Game.";
- mes "May the glory of KVM be with you.";
- mes "You aquire the winning points: 2";
+ mes("[KVM Officer]");
+ mes("Good Game.");
+ mes("May the glory of KVM be with you.");
+ mes("You aquire the winning points: 2");
close2;
} else {
++kvm_point;
- mes "[KVM Officer]";
- mes "I am so sorry.";
- mes "I wish you better luck next time.";
- mes "You aquire the losing points: 1";
+ mes("[KVM Officer]");
+ mes("I am so sorry.");
+ mes("I wish you better luck next time.");
+ mes("You aquire the losing points: 1");
close2;
}
bg_leave;
diff --git a/npc/battleground/kvm/kvm_enter.txt b/npc/battleground/kvm/kvm_enter.txt
index 82d9580fa..2ee4a7c5d 100644
--- a/npc/battleground/kvm/kvm_enter.txt
+++ b/npc/battleground/kvm/kvm_enter.txt
@@ -9,7 +9,7 @@
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
-//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) 2012-2016 Hercules Dev Team
//= Copyright (C) L0ne_W0lf
//=
//= Hercules is free software: you can redistribute it and/or modify
@@ -38,27 +38,27 @@ bat_room,164,178,5 script KVM Mercenary Officer#1 4_M_KY_KNT,{
/*
.@kvm = questprogress(6026,PLAYTIME);
if (.@kvm == 1) {
- mes "[Croix Mercenary Officer]";
- mes "I know that you've already signed with the Croix. Go back and join their team. We will not accept traitors to fight for us.";
+ mes("[Croix Mercenary Officer]");
+ mes("I know that you've already signed with the Croix. Go back and join their team. We will not accept traitors to fight for us.");
close;
}
else if (.@kvm == 2) erasequest 6026;
*/
.@permit = questprogress(6025,PLAYTIME);
if (.@permit == 1) {
- mes "[Guillaume Mercenary Officer]";
- mes "It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again.";
+ mes("[Guillaume Mercenary Officer]");
+ mes("It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again.");
close;
}
else if (.@permit == 2) erasequest 6025;
- mes "[Guillaume Mercenary Officer]";
- mes "Let them know the real might of Guillaume!";
+ mes("[Guillaume Mercenary Officer]");
+ mes("Let them know the real might of Guillaume!");
next;
switch(select("I will fight with you.", "End Conversation.")) {
case 1:
- mes "[Guillaume Mercenary Officer]";
- mes "Show them how strong we are.";
- mes "Today, everyone will hear the shout of triumph from Guillaume!";
+ mes("[Guillaume Mercenary Officer]");
+ mes("Show them how strong we are.");
+ mes("Today, everyone will hear the shout of triumph from Guillaume!");
close2;
//setquest 6025;
if (BaseLevel > 79) warp "bat_room",169,223;
@@ -66,67 +66,67 @@ bat_room,164,178,5 script KVM Mercenary Officer#1 4_M_KY_KNT,{
else warp "bat_room",225,223;
end;
case 2:
- mes "[Guillaume Mercenary Officer]";
- mes "We will win!";
+ mes("[Guillaume Mercenary Officer]");
+ mes("We will win!");
close;
}
}
//== Guillaume Knight - KvM ================================
bat_room,167,178,5 script Guillaume Knight#kvm 4_M_KY_SOLD,{
- mes "[Guillaume Knight]";
- mes "Hello.";
- mes "What do you want to know?";
+ mes("[Guillaume Knight]");
+ mes("Hello.");
+ mes("What do you want to know?");
next;
switch(select("Apply for KVM.", "What is KVM?", "How do I participate in KVM?", "I want to know my Kreiger Points.")) {
case 1:
- mes "[Guillaume Knight]";
- mes "Applications are not available yet.";
- mes "To apply, you need to go to a KVM Mercenary Officer.";
+ mes("[Guillaume Knight]");
+ mes("Applications are not available yet.");
+ mes("To apply, you need to go to a KVM Mercenary Officer.");
close;
case 2:
- mes "[Guillaume Knight]";
- mes "KVM is the abbreviation of Kreiger Von Midgard.";
- mes "Adventurer, are you aware that the way to the new world has been opened?";
+ mes("[Guillaume Knight]");
+ mes("KVM is the abbreviation of Kreiger Von Midgard.");
+ mes("Adventurer, are you aware that the way to the new world has been opened?");
next;
- mes "[Guillaume Knight]";
- mes "We, the Guillaume Administration, have several plans to advance to the new world.";
- mes "And KVM is one of them.";
+ mes("[Guillaume Knight]");
+ mes("We, the Guillaume Administration, have several plans to advance to the new world.");
+ mes("And KVM is one of them.");
next;
- mes "[Guillaume Knight]";
- mes "It means that we, one of many countries in the Midgard continent,";
- mes "have decided to employ many adventurers for the immediate advance to the new world.";
+ mes("[Guillaume Knight]");
+ mes("It means that we, one of many countries in the Midgard continent,");
+ mes("have decided to employ many adventurers for the immediate advance to the new world.");
next;
- mes "[Guillaume Knight]";
- mes "Therefore, to select the best adventurers, we are holding the KVM.";
- mes "We exspect responses from many adventurers.";
+ mes("[Guillaume Knight]");
+ mes("Therefore, to select the best adventurers, we are holding the KVM.");
+ mes("We exspect responses from many adventurers.");
next;
- mes "[Guillaume Knight]";
- mes "And we will give them rewards for their participation!";
- mes "As for the rewards, please contact a KVM Logistic Officer.";
+ mes("[Guillaume Knight]");
+ mes("And we will give them rewards for their participation!");
+ mes("As for the rewards, please contact a KVM Logistic Officer.");
close;
case 3:
- mes "[Guillaume Knight]";
- mes "Basically, KVM is a 5 on 5 battle.";
- mes "First, you apply with a KVM receptionist, in a group or individually.";
+ mes("[Guillaume Knight]");
+ mes("Basically, KVM is a 5 on 5 battle.");
+ mes("First, you apply with a KVM receptionist, in a group or individually.");
next;
- mes "[Guillaume Knight]";
- mes "Group applications are for when you intend to enter the KVM with your party members,";
- mes "and a personal application is for when you intend to enter the KVM individually.";
+ mes("[Guillaume Knight]");
+ mes("Group applications are for when you intend to enter the KVM with your party members,");
+ mes("and a personal application is for when you intend to enter the KVM individually.");
next;
- mes "[Guillaume Knight]";
- mes "Please apply with a KVM officer, and he will contact you later when you are in Prontera.";
+ mes("[Guillaume Knight]");
+ mes("Please apply with a KVM officer, and he will contact you later when you are in Prontera.");
next;
- mes "[Guillaume Knight]";
- mes "Then you enter and follow the instructions in the battlefield.";
+ mes("[Guillaume Knight]");
+ mes("Then you enter and follow the instructions in the battlefield.");
next;
- mes "[Guillaume Knight]";
- mes "However, please be advised that unless you are in the KVM office, he cannot contact you.";
+ mes("[Guillaume Knight]");
+ mes("However, please be advised that unless you are in the KVM office, he cannot contact you.");
close;
case 4:
- mes "[Guillaume Knight]";
- mes "Your Kreiger Points are:";
- mes ""+kvm_point+".";
+ mes("[Guillaume Knight]");
+ mes("Your Kreiger Points are:");
+ mesf("%d.", kvm_point);
close;
}
}
@@ -136,27 +136,27 @@ bat_room,164,121,1 script KVM Mercenary Officer#2 4_M_CRU_KNT,{
/*
.@kvm = questprogress(6025,PLAYTIME);
if (.@kvm == 1) {
- mes "[Croix Mercenary Officer]";
- mes "I know that you've already signed with the Guillaume. Go back and join their team. We will not accept traitors to fight for us.";
+ mes("[Croix Mercenary Officer]");
+ mes("I know that you've already signed with the Guillaume. Go back and join their team. We will not accept traitors to fight for us.");
close;
}
else if (.@kvm == 2) erasequest 6025;
*/
.@permit = questprogress(6025,PLAYTIME);
if (.@permit == 1) {
- mes "[Croix Mercenary Officer]";
- mes "It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again.";
+ mes("[Croix Mercenary Officer]");
+ mes("It seems you have recently participated in a KVM battle. You must wait 5 minutes before signing up again.");
close;
}
else if (.@permit == 2) erasequest 6025;
- mes "[Croix Mercenary Officer]";
- mes "Let them know the real might of Croix!";
+ mes("[Croix Mercenary Officer]");
+ mes("Let them know the real might of Croix!");
next;
switch(select("I will fight with you.", "End Conversation.")) {
case 1:
- mes "[Croix Mercenary Officer]";
- mes "Show them how strong we are.";
- mes "Today, everyone will hear the shout of triumph from Croix!";
+ mes("[Croix Mercenary Officer]");
+ mes("Show them how strong we are.");
+ mes("Today, everyone will hear the shout of triumph from Croix!");
close2;
//setquest 6026;
if (BaseLevel > 79) warp "bat_room",169,207;
@@ -164,67 +164,67 @@ bat_room,164,121,1 script KVM Mercenary Officer#2 4_M_CRU_KNT,{
else warp "bat_room",225,207;
end;
case 2:
- mes "[Croix Mercenary Officer]";
- mes "We will win!";
+ mes("[Croix Mercenary Officer]");
+ mes("We will win!");
close;
}
}
//== Croix Knight - KvM ====================================
bat_room,167,121,1 script Croix Knight#kvm 4_M_CRU_SOLD,{
- mes "[Croix Knight]";
- mes "Hello.";
- mes "What do you want to know?";
+ mes("[Croix Knight]");
+ mes("Hello.");
+ mes("What do you want to know?");
next;
switch(select("Apply for KVM.", "What is KVM?", "How do I participate in KVM?", "I want to know my Kreiger Points.")) {
case 1:
- mes "[Croix Knight]";
- mes "Applications are not available yet.";
- mes "To apply, you need to go to a KVM Mercenary Officer.";
+ mes("[Croix Knight]");
+ mes("Applications are not available yet.");
+ mes("To apply, you need to go to a KVM Mercenary Officer.");
close;
case 2:
- mes "[Croix Knight]";
- mes "KVM is the abbreviation of Kreiger Von Midgard.";
- mes "Adventurer, are you aware that the way to the new world has been opened?";
+ mes("[Croix Knight]");
+ mes("KVM is the abbreviation of Kreiger Von Midgard.");
+ mes("Adventurer, are you aware that the way to the new world has been opened?");
next;
- mes "[Croix Knight]";
- mes "We, the Croix Administration, have several plans to advance to the new world.";
- mes "And KVM is one of them.";
+ mes("[Croix Knight]");
+ mes("We, the Croix Administration, have several plans to advance to the new world.");
+ mes("And KVM is one of them.");
next;
- mes "[Croix Knight]";
- mes "It means that we, one of many countries in the Midgard continent,";
- mes "have decided to employ many adventurers for the immediate advance to the new world.";
+ mes("[Croix Knight]");
+ mes("It means that we, one of many countries in the Midgard continent,");
+ mes("have decided to employ many adventurers for the immediate advance to the new world.");
next;
- mes "[Croix Knight]";
- mes "Therefore, to select the best adventurers, we are holding the KVM.";
- mes "We exspect responses from many adventurers.";
+ mes("[Croix Knight]");
+ mes("Therefore, to select the best adventurers, we are holding the KVM.");
+ mes("We exspect responses from many adventurers.");
next;
- mes "[Croix Knight]";
- mes "And we will give them rewards for their participation!";
- mes "As for the rewards, please contact a KVM Logistic Officer.";
+ mes("[Croix Knight]");
+ mes("And we will give them rewards for their participation!");
+ mes("As for the rewards, please contact a KVM Logistic Officer.");
close;
case 3:
- mes "[Croix Knight]";
- mes "Basically, KVM is a 5 on 5 battle.";
- mes "First, you apply with a KVM receptionist, in a group or individually.";
+ mes("[Croix Knight]");
+ mes("Basically, KVM is a 5 on 5 battle.");
+ mes("First, you apply with a KVM receptionist, in a group or individually.");
next;
- mes "[Croix Knight]";
- mes "Group applications are for when you intend to enter the KVM with your party members,";
- mes "and a personal application is for when you intend to enter the KVM individually.";
+ mes("[Croix Knight]");
+ mes("Group applications are for when you intend to enter the KVM with your party members,");
+ mes("and a personal application is for when you intend to enter the KVM individually.");
next;
- mes "[Croix Knight]";
- mes "Please apply with a KVM officer, and he will contact you later when you are in Prontera.";
+ mes("[Croix Knight]");
+ mes("Please apply with a KVM officer, and he will contact you later when you are in Prontera.");
next;
- mes "[Croix Knight]";
- mes "Then you enter and follow the instructions in the battlefield.";
+ mes("[Croix Knight]");
+ mes("Then you enter and follow the instructions in the battlefield.");
next;
- mes "[Croix Knight]";
- mes "However, please be advised that unless you are in the KVM office, he cannot contact you.";
+ mes("[Croix Knight]");
+ mes("However, please be advised that unless you are in the KVM office, he cannot contact you.");
close;
case 4:
- mes "[Croix Knight]";
- mes "Your Kreiger Points are:";
- mes ""+kvm_point+".";
+ mes("[Croix Knight]");
+ mes("Your Kreiger Points are:");
+ mesf("%d.", kvm_point);
close;
}
}
diff --git a/npc/battleground/kvm/kvm_item_pay.txt b/npc/battleground/kvm/kvm_item_pay.txt
index d3bf777ab..92771f14b 100644
--- a/npc/battleground/kvm/kvm_item_pay.txt
+++ b/npc/battleground/kvm/kvm_item_pay.txt
@@ -9,7 +9,7 @@
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
-//= Copyright (C) 2012-2015 Hercules Dev Team
+//= Copyright (C) 2012-2016 Hercules Dev Team
//= Copyright (C) L0ne_W0lf
//=
//= Hercules is free software: you can redistribute it and/or modify
@@ -41,69 +41,69 @@ bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
.@pointstoadd = countitem(War_Badge);
delitem 7773,.@pointstoadd;
kvm_point += .@pointstoadd;
- mes "[Logistics]";
- mes "Are those "+getitemname(7773)+"s I see?";
- mes "We no longer accept that currency,";
- mes "but I can exchange those for you,";
- mes "So you have "+.@pointstoadd+" "+getitemname(7773)+"s?";
- mes "Alright, all set, you now have ^580080"+ kvm_point +"^000000 KVM Points.";
+ mes("[Logistics]");
+ mesf("Are those %ss I see?", getitemname(7773));
+ mes("We no longer accept that currency,\r"
+ "but I can exchange those for you.");
+ mesf("So you have %d %ss?", .@pointstoadd, getitemname(7773));
+ mesf("Alright, all set, you now have ^580080%d^000000 KVM Points.", kvm_point);
next;
}
if (checkweight(Knife,1) == 0) {
- mes "- Wait a minute !! -";
- mes "- Currently you're carrying -";
- mes "- too many items with you. -";
- mes "- Please try again -";
- mes "- after you loose some weight. -";
+ mes("- Wait a minute !! -");
+ mes("- Currently you're carrying -");
+ mes("- too many items with you. -");
+ mes("- Please try again -");
+ mes("- after you loose some weight. -");
close;
}
- mes "[Logistics]";
- mes "Hello?";
- mes "I am in charge of distributing";
- mes "reward items for KVM points. Any";
- mes "wrong selection of items will not";
- mes "be reversed. Please be carefull.";
- mes "Select the next step please.";
+ mes("[Logistics]");
+ mes("Hello?");
+ mes("I am in charge of distributing\r"
+ "reward items for KVM points. Any\r"
+ "wrong selection of items will not\r"
+ "be reversed. Please be carefull.");
+ mes("Select the next step please.");
next;
.@name$ = strcharinfo(0);
switch(select("Read the KVM Catalogue.", "Purchase KVM Items.", "Confirm KVM Points.", "Explanation of KVM Rewards.", "Explanation of KVM Points.")) {
case 1:
- mes "[Logistics]";
- mes "Here is the catalogue of KVM items.";
- mes "Each weapon requires 2,000 points";
- mes "and each armor from 10 to 1,200";
- mes "points. So, be carefull when";
- mes "selecting a reward.";
+ mes("[Logistics]");
+ mes("Here is the catalogue of KVM items.");
+ mes("Each weapon requires 2,000 points\r"
+ "and each armor from 10 to 1,200\r"
+ "points. So, be carefull when\r"
+ "selecting a reward.");
close2;
readbook 11017,1;
end;
case 2:
- mes "[Logistics]";
- mes "Wich items do you want to see? As";
- mes "for the detailed specification of";
- mes "the items, please refer to the";
- mes "^3131FFCatalogue^000000.";
+ mes("[Logistics]");
+ mes("Wich items do you want to see? As\r"
+ "for the detailed specification of\r"
+ "the items, please refer to the\r"
+ "^3131FFCatalogue^000000.");
next;
switch(select("Weapon", "Armor/Accessory", "Mass-Production Armor/Accessory", "Popularized Armor/Accessory")) {
case 1:
- mes "[Logistics]";
- mes "You have selected the Weapon Category.";
- mes "Please select a sub-category.";
+ mes("[Logistics]");
+ mes("You have selected the Weapon Category.");
+ mes("Please select a sub-category.");
next;
switch(select("Dagger/Sword/Spear", "Staff/Mace/Axe/Shuriken", "Bow/Katar/Instrument/Whip", "Book/Knuckle", "Revolver/Rifle/Gun/Grenade Launcher")) {
case 1:
- mes "[Logistics]";
- mes "You have selected the Dagger/Sword/Spear category.";
- mes "Please select a sub-category.";
+ mes("[Logistics]");
+ mes("You have selected the Dagger/Sword/Spear category.");
+ mes("Please select a sub-category.");
next;
switch(select("Dagger", "One-handed Sword", "Two-handed Sword", "One-handed Spear", "Two-handed Spear")) {
case 1: callsub PurchaseItem,13042,0,1; //Krieger_Dagger1
case 2:
- mes "[Logistics]";
- mes "You have selected the 'One-handed Sword' category.";
- mes "There are 3 One-handed Swords: Glorious Flamberge, Glorious Rapier and Glorious Holy Avenger.";
- mes "If you want their details, please refer to the KVM Catalogue.";
- mes "Please select one of them.";
+ mes("[Logistics]");
+ mes("You have selected the 'One-handed Sword' category.");
+ mes("There are 3 One-handed Swords: Glorious Flamberge, Glorious Rapier and Glorious Holy Avenger.");
+ mes("If you want their details, please refer to the KVM Catalogue.");
+ mes("Please select one of them.");
next;
switch(select("Glorious Flamberge", "Glorious Rapier", "Glorious Holy Avenger")) {
case 1: callsub PurchaseItem,13416,0,0; //Krieger_Onehand_Sword1
@@ -115,17 +115,17 @@ bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
case 5: callsub PurchaseItem,1486,0,1; //Krieger_Twohand_Spear1
}
case 2:
- mes "[Logistics]";
- mes "You have selected the 'Staff/Mace/Axe/Shuriken' category.";
- mes "Please select a sub-category.";
+ mes("[Logistics]");
+ mes("You have selected the 'Staff/Mace/Axe/Shuriken' category.");
+ mes("Please select a sub-category.");
next;
switch(select("Staff", "Mace", "One-handed Axe", "Two-handed Axe", "Shuriken")) {
case 1:
- mes "[Logistics]";
- mes "You have selected the 'Staff' category.";
- mes "There are 3 Staffs: a Two-handed Weapon Glorious Destruction Staff, a One-handed Glorious Arc Wand and a Glorious Healing Staff.";
- mes "If you want their details, please refer to the KVM Catalogue.";
- mes "Please select one of them.";
+ mes("[Logistics]");
+ mes("You have selected the 'Staff' category.");
+ mes("There are 3 Staffs: a Two-handed Weapon Glorious Destruction Staff, a One-handed Glorious Arc Wand and a Glorious Healing Staff.");
+ mes("If you want their details, please refer to the KVM Catalogue.");
+ mes("Please select one of them.");
next;
switch(select("Glorious Destruction Staff", "Glorious Arc Wand", "Glorious Healing Staff")) {
case 1: callsub PurchaseItem,2002,0,0; //Krieger_Twohand_Staff1
@@ -138,18 +138,18 @@ bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
case 5: callsub PurchaseItem,13307,0,1; //Krieger_Huuma_Shuriken1
}
case 3:
- mes "[Logistics]";
- mes "You have selected the Bow/Katar/Instrument/Whip category.";
- mes "Please select a sub-category.";
+ mes("[Logistics]");
+ mes("You have selected the Bow/Katar/Instrument/Whip category.");
+ mes("Please select a sub-category.");
next;
switch(select("Bow", "Katar", "Instrument", "Whip")) {
case 1: callsub PurchaseItem,1743,0,1; //Krieger_Bow1
case 2:
- mes "[Logistics]";
- mes "You have selected the 'Katar' category.";
- mes "There are 2 Katars: Glorious Bloody Roar and Glorious Jamadhar.";
- mes "If you want their details, please refer to the KVM Catalogue.";
- mes "Please select one of them.";
+ mes("[Logistics]");
+ mes("You have selected the 'Katar' category.");
+ mes("There are 2 Katars: Glorious Bloody Roar and Glorious Jamadhar.");
+ mes("If you want their details, please refer to the KVM Catalogue.");
+ mes("Please select one of them.");
next;
switch(select("Glorious Bloody Roar", "Glorious Jamadhar")) {
case 1: callsub PurchaseItem,1281,0,0; //Krieger_Katar1
@@ -159,28 +159,28 @@ bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
case 4: callsub PurchaseItem,1981,0,1; //Krieger_Whip1
}
case 4:
- mes "[Logistics]";
- mes "You have selected the Book/Knuckle category.";
- mes "Please select a sub-category.";
+ mes("[Logistics]");
+ mes("You have selected the Book/Knuckle category.");
+ mes("Please select a sub-category.");
next;
switch(select("Book", "Knuckle")) {
case 1:
- mes "[Logistics]";
- mes "You have selected 'Book'.";
- mes "There are 2 Books: Glorious Tablet and Glorious Apocalypse.";
- mes "If you want their details, please refer to the KVM Catalogue.";
- mes "Please select one of them.";
+ mes("[Logistics]");
+ mes("You have selected 'Book'.");
+ mes("There are 2 Books: Glorious Tablet and Glorious Apocalypse.");
+ mes("If you want their details, please refer to the KVM Catalogue.");
+ mes("Please select one of them.");
next;
switch(select("Glorious Tablet", "Glorious Apocalypse")) {
case 1: callsub PurchaseItem,1576,0,0; //Krieger_Book1
case 2: callsub PurchaseItem,1577,0,0; //Krieger_Book2
}
case 2:
- mes "[Logistics]";
- mes "You have selected the 'Knuckle' category.";
- mes "There are 2 Knuckles: Glorious Claw and Glorious Fist.";
- mes "If you want their details, please refer to the KVM Catalogue.";
- mes "Please select one of them.";
+ mes("[Logistics]");
+ mes("You have selected the 'Knuckle' category.");
+ mes("There are 2 Knuckles: Glorious Claw and Glorious Fist.");
+ mes("If you want their details, please refer to the KVM Catalogue.");
+ mes("Please select one of them.");
next;
switch(select("Glorious Claw", "Glorious Fist")) {
case 1: callsub PurchaseItem,1826,0,0; //Krieger_Knuckle1
@@ -188,9 +188,9 @@ bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
}
}
case 5:
- mes "[Logistics]";
- mes "You have selected the 'Revolver/Rifle/Gun/Grenade Launcher' category.";
- mes "Please select a sub-category.";
+ mes("[Logistics]");
+ mes("You have selected the 'Revolver/Rifle/Gun/Grenade Launcher' category.");
+ mes("Please select a sub-category.");
next;
switch(select("Revolver", "Rifle", "Gatling Gun", "Shotgun", "Grenade Launcher")) {
case 1: callsub PurchaseItem,13110,0,1; //Krieger_Pistol1
@@ -201,9 +201,9 @@ bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
}
}
case 2:
- mes "[Logistics]";
- mes "You have selected the 'Armor/Accessory' category.";
- mes "Please select a sub-category.";
+ mes("[Logistics]");
+ mes("You have selected the 'Armor/Accessory' category.");
+ mes("Please select a sub-category.");
next;
switch(select("Armor", "Cloak", "Shoes", "Accessory")) {
case 1: callsub PurchaseItem,2394,1,2; //Krieger_Suit1
@@ -212,9 +212,9 @@ bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
case 4: callsub PurchaseItem,2772,4,2; //Krieger_Ring1
}
case 3:
- mes "[Logistics]";
- mes "You have selected the 'Mass-Production Armor/Accessory' category.";
- mes "Please select a sub-category.";
+ mes("[Logistics]");
+ mes("You have selected the 'Mass-Production Armor/Accessory' category.");
+ mes("Please select a sub-category.");
next;
switch(select("Mass-Production Armor", "Mass-Production Shoes", "Mass-Production Accessory")) {
case 1: callsub PurchaseItem,2395,5,3; //Krieger_Suit2
@@ -222,9 +222,9 @@ bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
case 3: callsub PurchaseItem,2773,7,3; //Krieger_Ring2
}
case 4:
- mes "[Logistics]";
- mes "You have selected the 'Popularized Armor/Accessory' category.";
- mes "Please select a sub-category.";
+ mes("[Logistics]");
+ mes("You have selected the 'Popularized Armor/Accessory' category.");
+ mes("Please select a sub-category.");
next;
switch(select("Popularized Armor", "Popularized Shoes", "Popularized Accessory")) {
case 1: callsub PurchaseItem,2396,8,4; //Krieger_Suit3
@@ -233,33 +233,33 @@ bat_room,151,144,3 script KVM Logistic Officer#a 4_M_JOB_KNIGHT2,{
}
}
case 3:
- mes "[Logistics]";
- mes ""+ .@name$ +", your current points are ^580080"+ kvm_point +"^000000 KVM Points.";
+ mes("[Logistics]");
+ mesf("%s, your current points are ^580080%d^000000 KVM Points.", .@name$, kvm_point);
close;
case 4:
- mes "[Logistics]";
- mes "There are 3 categories in KVM Rewards: Weapon/Armor.Accessory.";
+ mes("[Logistics]");
+ mes("There are 3 categories in KVM Rewards: Weapon/Armor.Accessory.");
next;
- mes "[Logistics]";
- mes "Weapon rewards require 2,000 KVM points for each.";
- mes "There are 3 types of Armor rewards and they require 840/630/580 KVM points fo each.";
- mes "Accessory rewards require 1,200 KVM points for each.";
+ mes("[Logistics]");
+ mes("Weapon rewards require 2,000 KVM points for each.");
+ mes("There are 3 types of Armor rewards and they require 840/630/580 KVM points fo each.");
+ mes("Accessory rewards require 1,200 KVM points for each.");
next;
- mes "[Logistics]";
- mes "Kreiger Weapons are LV 4 Weapons, they can be upgraded and will have special effects: Slaughter, Destruction and Blessing.";
+ mes("[Logistics]");
+ mes("Kreiger Weapons are LV 4 Weapons, they can be upgraded and will have special effects: Slaughter, Destruction and Blessing.");
next;
- mes "[Logistics]";
- mes "When you can wear all 3 armors, you can have a special set of options.";
- mes "Also, when Kreiger Accessory rewards are worn with medalsm it will bring you special set rewards.";
+ mes("[Logistics]");
+ mes("When you can wear all 3 armors, you can have a special set of options.");
+ mes("Also, when Kreiger Accessory rewards are worn with medalsm it will bring you special set rewards.");
next;
- mes "[Logistics]";
- mes "Finally, there are Mass-Production Armor and Accessory rewards.";
- mes "Players whose Lvl is higher than 60 can equip Mass-Production Armors and there is a Lvl limit for Popularized Armor as well.";
+ mes("[Logistics]");
+ mes("Finally, there are Mass-Production Armor and Accessory rewards.");
+ mes("Players whose Lvl is higher than 60 can equip Mass-Production Armors and there is a Lvl limit for Popularized Armor as well.");
close;
case 5:
- mes "[Logistics]";
- mes "KVM Points are rewarded when you win, lose or draw in Kreiger Von Midgard (KVM).";
- mes "You can have special Rewards by using these points.";
+ mes("[Logistics]");
+ mes("KVM Points are rewarded when you win, lose or draw in Kreiger Von Midgard (KVM).");
+ mes("You can have special Rewards by using these points.");
close;
}
@@ -267,64 +267,64 @@ PurchaseItem:
// Pricing for Weapon, Suit1, Muffler1, Shoes1, Ring1m Suit2, Shoes2, Ring2, Suit3, Shoes3, Ring3
setarray .@prices[0],2000,840,630,580,1200,120,70,200,15,10,30;
- mes "[Logistics]";
+ mes("[Logistics]");
if (!getarg(2))
- mes "You have selected ^ff0000"+getitemname(getarg(0))+"^000000.";
+ mesf("You have selected ^ff0000%s^000000.", getitemname(getarg(0)));
else if (getarg(2) == 1)
- mes "There is only one "+callfunc("F_GetWeaponType",getarg(0))+": "+getitemname(getarg(0))+".";
+ mesf("There is only one %s: %s.", callfunc("F_GetWeaponType",getarg(0)), getitemname(getarg(0)));
else if (getarg(2) == 2) {
- mes "You have selected '"+callfunc("F_GetArmorType",getarg(0))+"'.";
- mes "The armor for one whose Lvl is more than 80 is: ^ff0000"+getitemname(getarg(0))+"^000000.";
+ mesf("You have selected '%s'.", callfunc("F_GetArmorType",getarg(0)));
+ mesf("The armor for one whose Lvl is more than 80 is: ^ff0000%s^000000.", getitemname(getarg(0)));
}
else if (getarg(2) == 3) {
- mes "You have selected 'Mass-Production "+callfunc("F_GetArmorType",getarg(0))+"'.";
- mes "There is only one Mass-Production "+callfunc("F_GetArmorType",getarg(0))+": ^ff0000"+getitemname(getarg(0))+"^000000.";
+ mesf("You have selected 'Mass-Production %s'.", callfunc("F_GetArmorType",getarg(0)));
+ mesf("There is only one Mass-Production %s: ^ff0000%s^000000.", callfunc("F_GetArmorType",getarg(0)), getitemname(getarg(0)));
}
else if (getarg(2) == 4) {
- mes "You have selected 'Popularized "+callfunc("F_GetArmorType",getarg(0))+"'.";
- mes "There is only one Popularized "+callfunc("F_GetArmorType",getarg(0))+": ^ff0000"+getitemname(getarg(0))+"^000000.";
+ mesf("You have selected 'Popularized %s'.", callfunc("F_GetArmorType",getarg(0)));
+ mesf("There is only one Popularized %s: ^ff0000%s^000000.", callfunc("F_GetArmorType",getarg(0)), getitemname(getarg(0)));
}
if (!getarg(1))
- mes "It requires ^0000ff2,000^000000 KVM Points, and "+ .@name$ +", your points are: ^580080"+ kvm_point +"^000000.";
+ mesf("It requires ^0000ff2,000^000000 KVM Points, and %s, your points are: ^580080%d^000000.", .@name$, kvm_point);
else if (getarg(1) == 4)
- mes "It requires ^0000ff1,200^000000 KVM Points, and "+ .@name$ +", your points are: ^580080"+ kvm_point +"^000000.";
+ mesf("It requires ^0000ff1,200^000000 KVM Points, and %s, your points are: ^580080%d^000000.", .@name$, kvm_point);
else
- mes "It requires ^0000ff"+.@prices[getarg(1)]+"^000000 KVM Points, and "+ .@name$ +", your points are: ^580080"+ kvm_point +"^000000.";
+ mesf("It requires ^0000ff%d^000000 KVM Points, and %s, your points are: ^580080%d^000000.", .@prices[getarg(1)], .@name$, kvm_point);
- mes "Are you sure you want this item?";
+ mes("Are you sure you want this item?");
next;
switch(select("No, I won't purchase it.", "Yes, I will purchase it.")) {
case 1:
- mes "[Logistics]";
- mes "You have selected 'I won't purchase it'.";
- mes "When purchasing an item, please be careful there are no refunds.";
+ mes("[Logistics]");
+ mes("You have selected 'I won't purchase it'.");
+ mes("When purchasing an item, please be careful there are no refunds.");
break;
case 2:
if (kvm_point >= .@prices[getarg(1)]) {
kvm_point -= .@prices[getarg(1)];
getitem getarg(0),1;
- mes "[Logistics]";
- mes "You have purchased a "+getitemname(getarg(0))+".";
+ mes("[Logistics]");
+ mesf("You have purchased a %s.", getitemname(getarg(0)));
if (!getarg(1))
- mes "Your KVM Points are reduced by ^0000ff"+getarg(1)+"^000000 points, your KVM Points are now ^580080"+kvm_point+"^000000.";
+ mesf("Your KVM Points are reduced by ^0000ff%d^000000 points, your KVM Points are now ^580080%d^000000.", getarg(1), kvm_point);
if (getarg(1) == 4)
- mes "Your KVM Points are reduced by ^0000ff1,200^000000 points, your KVM Points are now ^580080"+kvm_point+"^000000.";
+ mesf("Your KVM Points are reduced by ^0000ff1,200^000000 points, your KVM Points are now ^580080%d^000000.", kvm_point);
else
- mes "Your KVM Points are reduced by ^0000ff"+.@prices[getarg(1)]+"^000000 points, your KVM Points are now ^580080"+kvm_point+"^000000.";
+ mesf("Your KVM Points are reduced by ^0000ff%d^000000 points, your KVM Points are now ^580080%d^000000.", .@prices[getarg(1)], kvm_point);
}
else {
- mes "[Logistics]";
+ mes("[Logistics]");
if (!getarg(1))
- mes "You need ^0000ff2,000^000000 KVM Points to purchase this item.";
+ mes("You need ^0000ff2,000^000000 KVM Points to purchase this item.");
else if (getarg(1) == 4)
- mes "You need ^0000ff1,200^000000 KVM Points to purchase this item.";
+ mes("You need ^0000ff1,200^000000 KVM Points to purchase this item.");
else
- mes "You need ^0000ff"+.@prices[getarg(1)]+"^000000 KVM Points to purchase this item.";
- mes "However, your KVM Points are now ^580080"+ kvm_point +"^000000.";
- mes "Which are not enough to buy it.";
- mes "When you get enough points, please come back again.";
+ mesf("You need ^0000ff%d^000000 KVM Points to purchase this item.", .@prices[getarg(1)]);
+ mesf("However, your KVM Points are now ^580080%d^000000.", kvm_point);
+ mes("Which are not enough to buy it.");
+ mes("When you get enough points, please come back again.");
}
}
close;