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