diff options
Diffstat (limited to 'npc/battleground/kvm/kvm02.txt')
-rw-r--r-- | npc/battleground/kvm/kvm02.txt | 108 |
1 files changed, 54 insertions, 54 deletions
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; |