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