From c0981a1b7966302311c4194bbfbcc9a3c07f65aa Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 10 Jul 2016 15:43:44 +0200 Subject: HULD-compliance: updated npc/battleground/ Signed-off-by: Haru --- npc/battleground/flavius/flavius02.txt | 230 ++++++++++++++++----------------- 1 file changed, 115 insertions(+), 115 deletions(-) (limited to 'npc/battleground/flavius/flavius02.txt') diff --git a/npc/battleground/flavius/flavius02.txt b/npc/battleground/flavius/flavius02.txt index 314aeeeba..0686d7957 100644 --- a/npc/battleground/flavius/flavius02.txt +++ b/npc/battleground/flavius/flavius02.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) Euphy //= Copyright (C) Kisuka //= Copyright (C) L0ne_W0lf @@ -40,7 +40,7 @@ bat_room,142,227,4 script Lieutenant Huvas 4_M_KY_KNT,{ end; OnInit: - waitingroom "Battle Station",11,"start#bat_b02::OnReadyCheck",1,0,80; + waitingroom(_("Battle Station"), 11, "start#bat_b02::OnReadyCheck", 1, 0, 80); end; OnEnterBG: $@FlaviusBG2_id1 = waitingroom2bg("bat_b02",10,290,"start#bat_b02::OnGuillaumeQuit",""); @@ -50,7 +50,7 @@ OnEnterBG: bat_room,142,204,0 script Lieutenant Yukon 4_M_CRU_KNT,{ end; OnInit: - waitingroom "Battle Station",11,"start#bat_b02::OnReadyCheck",1,0,80; + waitingroom(_("Battle Station"), 11, "start#bat_b02::OnReadyCheck", 1, 0, 80); end; OnEnterBG: $@FlaviusBG2_id2 = waitingroom2bg("bat_b02",390,10,"start#bat_b02::OnCroixQuit",""); @@ -173,7 +173,7 @@ OnKill: OnMyMobDead: if (mobcount("bat_b02","OBJ#bat_b02_a::OnMyMobDead") < 1) { - mapannounce "bat_b02", "Guillaume's Crystal has been destroyed.",bc_map,"0xFFCE00"; + mapannounce("bat_b02", _("Guillaume's Crystal has been destroyed."), bc_map, "0xFFCE00"); if ($@Croix_ScoreBG2 > 0) { $@FlaviusBG2_Victory = 2; $@Croix_ScoreBG2 = $@Croix_ScoreBG2+1; @@ -197,7 +197,7 @@ OnMyMobDead: bat_b02,1,2,3 script OBJ#bat_b02_b CLEAR_NPC,{ OnEnable: - bg_monster $@FlaviusBG2_id2,"bat_b02",328,150,"Blue Crystal",1914,"OBJ#bat_b02_b::OnMyMobDead"; + bg_monster($@FlaviusBG2_id2, "bat_b02", 328, 150, _("Blue Crystal"), 1914, "OBJ#bat_b02_b::OnMyMobDead"); end; OnKill: @@ -206,7 +206,7 @@ OnKill: OnMyMobDead: if (mobcount("bat_b02","OBJ#bat_b02_b::OnMyMobDead") < 1) { - mapannounce "bat_b02", "Croix's Crystal has been destroyed.",bc_map,"0xFFCE00"; + mapannounce("bat_b02", _("Croix's Crystal has been destroyed."), bc_map, "0xFFCE00"); if ($@Guill_ScoreBG2 > 0) { $@FlaviusBG2_Victory = 1; ++$@Guill_ScoreBG2; @@ -230,8 +230,8 @@ OnMyMobDead: bat_b02,1,3,3 script guardian#bat_b02_a CLEAR_NPC,{ OnEnable: - bg_monster $@FlaviusBG2_id1,"bat_b02",108,159,"Guillaume Camp Guardian",1949,"guardian#bat_b02_a::OnMyMobDead"; - bg_monster $@FlaviusBG2_id1,"bat_b02",108,141,"Guillaume Camp Guardian",1949,"guardian#bat_b02_a::OnMyMobDead"; + bg_monster($@FlaviusBG2_id1, "bat_b02", 108, 159, _("Guillaume Camp Guardian"), 1949, "guardian#bat_b02_a::OnMyMobDead"); + bg_monster($@FlaviusBG2_id1, "bat_b02", 108, 141, _("Guillaume Camp Guardian"), 1949, "guardian#bat_b02_a::OnMyMobDead"); end; OnKill: @@ -241,15 +241,15 @@ OnKill: OnMyMobDead: if (mobcount("bat_b02","guardian#bat_b02_a::OnMyMobDead") < 1) { donpcevent "cell#bat_b02_a::OnGreen"; - mapannounce "bat_b02", "The Guardian protecting Guillaume's Crystal has been slain.",bc_map,"0xFFCE00"; + mapannounce("bat_b02", _("The Guardian protecting Guillaume's Crystal has been slain."), bc_map, "0xFFCE00"); } end; } bat_b02,1,3,3 script guardian#bat_b02_b CLEAR_NPC,{ OnEnable: - bg_monster $@FlaviusBG2_id2,"bat_b02",307,160,"Croix Camp Guardian",1949,"guardian#bat_b02_b::OnMyMobDead"; - bg_monster $@FlaviusBG2_id2,"bat_b02",307,138,"Croix Camp Guardian",1949,"guardian#bat_b02_b::OnMyMobDead"; + bg_monster($@FlaviusBG2_id2, "bat_b02", 307, 160, _("Croix Camp Guardian"), 1949, "guardian#bat_b02_b::OnMyMobDead"); + bg_monster($@FlaviusBG2_id2, "bat_b02", 307, 138, _("Croix Camp Guardian"), 1949, "guardian#bat_b02_b::OnMyMobDead"); end; OnKill: @@ -259,7 +259,7 @@ OnKill: OnMyMobDead: if (mobcount("bat_b02","guardian#bat_b02_b::OnMyMobDead") < 1) { donpcevent "cell#bat_b02_b::OnGreen"; - mapannounce "bat_b02", "The Guardian protecting Croix's Crystal has been slain.",bc_map,"0xFFCE00"; + mapannounce("bat_b02", _("The Guardian protecting Croix's Crystal has been slain."), bc_map, "0xFFCE00"); } end; } @@ -302,10 +302,10 @@ OnStop: bat_b02,10,294,3 script Battle Therapist#b02_a 4_F_SISTER,{ specialeffect2 EF_HEAL; - mes "[Battle Therapist]"; - mes "Just close your eyes,"; - mes "and take a deep breath."; - mes "You can be free from pain."; + mes("[Battle Therapist]"); + mes("Just close your eyes,\r" + "and take a deep breath."); + mes("You can be free from pain."); close; OnTimer25000: @@ -347,10 +347,10 @@ OnTouch: bat_b02,389,14,3 script Battle Therapist#b02_b 4_F_SISTER,{ specialeffect2 EF_HEAL; - mes "[Battle Therapist]"; - mes "Just close your eyes,"; - mes "and take a deep breath."; - mes "You can be free from pain."; + mes("[Battle Therapist]"); + mes("Just close your eyes,\r" + "and take a deep breath."); + mes("You can be free from pain."); close; OnTimer25000: @@ -410,18 +410,18 @@ bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{ .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { - mes "[Axl Rose]"; - mes "Blessed Guillaume!"; - mes "Let's enjoy our glorious victory!"; - mes ""+strcharinfo(0)+", it's a sign reflecting victory."; + mes("[Axl Rose]"); + mes("Blessed Guillaume!"); + mes("Let's enjoy our glorious victory!"); + mesf("%s, it's a sign reflecting victory.", strcharinfo(0)); close2; getitem BF_Badge2,9; } else { - mes "[Axl Rose]"; - mes "Blessed Guillaume!"; - mes "Let's enjoy our glorious victory!"; - mes ""+strcharinfo(0)+", it's a sign reflecting victory."; + mes("[Axl Rose]"); + mes("Blessed Guillaume!"); + mes("Let's enjoy our glorious victory!"); + mesf("%s, it's a sign reflecting victory.", strcharinfo(0)); close2; getitem BF_Badge2,.@medal_gap; } @@ -430,18 +430,18 @@ bat_b02,10,294,3 script Guillaume Vintenar#b02_a 4_M_RASWORD,{ .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { - mes "[Axl Rose]"; - mes "You lost, but you're dedicated to this battle."; - mes "This is a reward for your great dedication by Guillaume Marollo!"; - mes "Just take this defeat as a lesson, next time you will definitely win."; + mes("[Axl Rose]"); + mes("You lost, but you're dedicated to this battle."); + mes("This is a reward for your great dedication by Guillaume Marollo!"); + mes("Just take this defeat as a lesson, next time you will definitely win."); close2; getitem BF_Badge2,3; } else { - mes "[Axl Rose]"; - mes "You lost, but you're dedicated to this battle."; - mes "This is a reward for your great dedication by Guillaume Marollo!"; - mes "Just take this defeat as a lesson, next time you will definitely win."; + mes("[Axl Rose]"); + mes("You lost, but you're dedicated to this battle."); + mes("This is a reward for your great dedication by Guillaume Marollo!"); + mes("Just take this defeat as a lesson, next time you will definitely win."); close2; getitem BF_Badge2,.@medal_gap; } @@ -462,18 +462,18 @@ bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{ .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { - mes "[Swandery]"; - mes "Blessed Croix!"; - mes "Let's enjoy our glorious victory!"; - mes ""+strcharinfo(0)+", it's a sign reflecting victory."; + mes("[Swandery]"); + mes("Blessed Croix!"); + mes("Let's enjoy our glorious victory!"); + mesf("%s, it's a sign reflecting victory.", strcharinfo(0)); close2; getitem BF_Badge2,9; } else { - mes "[Swandery]"; - mes "Blessed Croix!"; - mes "Let's enjoy our glorious victory!"; - mes ""+strcharinfo(0)+", it's a sign reflecting victory."; + mes("[Swandery]"); + mes("Blessed Croix!"); + mes("Let's enjoy our glorious victory!"); + mesf("%s, it's a sign reflecting victory.", strcharinfo(0)); close2; getitem BF_Badge2,.@medal_gap; } @@ -482,18 +482,18 @@ bat_b02,389,14,3 script Croix Vintenar#b02_b 4_M_RASWORD,{ .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { - mes "[Swandery]"; - mes "Oh, "+strcharinfo(0)+". Don't be sad."; - mes "Even though we didn't win, we did our best."; - mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."; + mes("[Swandery]"); + mesf("Oh, %s. Don't be sad.", strcharinfo(0)); + mes("Even though we didn't win, we did our best."); + mes("This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."); close2; getitem BF_Badge2,3; } else { - mes "[Swandery]"; - mes "Oh, "+strcharinfo(0)+". Don't be sad."; - mes "Even though we didn't win, we did our best."; - mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."; + mes("[Swandery]"); + mesf("Oh, %s. Don't be sad.", strcharinfo(0)); + mes("Even though we didn't win, we did our best."); + mes("This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."); close2; getitem BF_Badge2,.@medal_gap; } @@ -523,31 +523,31 @@ OnStop: end; OnTimer7000: - mapannounce "bat_b02", "Guillaume Vintenar Axl Rose : Let's attack to destroy that Crystal!",bc_map,"0xFF9900"; + mapannounce("bat_b02", _("Guillaume Vintenar Axl Rose : Let's attack to destroy that Crystal!"), bc_map, "0xFF9900"); end; OnTimer8000: - mapannounce "bat_b02", "Croix Vintenar Swandery : Even though Guillaume is struggling to win against us, the victory is ours. Let's show them our power.",bc_map,"0xFF99CC"; + mapannounce("bat_b02", _("Croix Vintenar Swandery : Even though Guillaume is struggling to win against us, the victory is ours. Let's show them our power."), bc_map, "0xFF99CC"); end; OnTimer1800000: - mapannounce "bat_b02", "Marollo VII : Guillaume Marollo, Croix Marollo! And their followers!",bc_map,"0x99CC00"; + mapannounce("bat_b02", _("Marollo VII : Guillaume Marollo, Croix Marollo! And their followers!"), bc_map, "0x99CC00"); end; OnTimer1803000: - mapannounce "bat_b02", "Marollo VII : Both camps are competitive, so it's hard to judge which team is superior.",bc_map,"0x99CC00"; + mapannounce("bat_b02", _("Marollo VII : Both camps are competitive, so it's hard to judge which team is superior."), bc_map, "0x99CC00"); end; OnTimer1808000: - mapannounce "bat_b02", "Marollo VII : This battle of Flavian is such a waste of time. I will decide victory and defeat by your progress.",bc_map,"0x99CC00"; + mapannounce("bat_b02", _("Marollo VII : This battle of Flavian is such a waste of time. I will decide victory and defeat by your progress."), bc_map, "0x99CC00"); end; OnTimer1822000: - mapannounce "bat_b02", "Marollo VII : If you can't accept the results, try again in another valley battle!",bc_map,"0x99CC00"; + mapannounce("bat_b02", _("Marollo VII : If you can't accept the results, try again in another valley battle!"), bc_map, "0x99CC00"); end; OnTimer1825000: - mapannounce "bat_b02", "Axl Rose, Swandery : Yes, sir.",bc_map,"0x99CC00"; + mapannounce("bat_b02", _("Axl Rose, Swandery : Yes, sir."), bc_map, "0x99CC00"); end; OnTimer1830000: @@ -595,18 +595,18 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{ .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { - mes "[Axl Rose]"; - mes "Blessed Guillaume!"; - mes "Let's enjoy our glorious victory!"; - mes ""+strcharinfo(0)+", it's a sign reflecting victory."; + mes("[Axl Rose]"); + mes("Blessed Guillaume!"); + mes("Let's enjoy our glorious victory!"); + mesf("%s, it's a sign reflecting victory.", strcharinfo(0)); close2; getitem BF_Badge2,9; } else { - mes "[Axl Rose]"; - mes "Blessed Guillaume!"; - mes "Let's enjoy our glorious victory!"; - mes ""+strcharinfo(0)+", it's a sign reflecting victory."; + mes("[Axl Rose]"); + mes("Blessed Guillaume!"); + mes("Let's enjoy our glorious victory!"); + mesf("%s, it's a sign reflecting victory.", strcharinfo(0)); close2; getitem BF_Badge2,.@medal_gap; } @@ -615,18 +615,18 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{ .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { - mes "[Axl Rose]"; - mes "You lost, but you're dedicated to this battle."; - mes "This is a reward for your great dedication by Guillaume Marollo!"; - mes "Just take this defeat as a lesson, next time you will definitely win."; + mes("[Axl Rose]"); + mes("You lost, but you're dedicated to this battle."); + mes("This is a reward for your great dedication by Guillaume Marollo!"); + mes("Just take this defeat as a lesson, next time you will definitely win."); close2; getitem BF_Badge2,3; } else { - mes "[Axl Rose]"; - mes "You lost, but you're dedicated to this battle."; - mes "This is a reward for your great dedication by Guillaume Marollo!"; - mes "Just take this defeat as a lesson, next time you will definitely win."; + mes("[Axl Rose]"); + mes("You lost, but you're dedicated to this battle."); + mes("This is a reward for your great dedication by Guillaume Marollo!"); + mes("Just take this defeat as a lesson, next time you will definitely win."); close2; getitem BF_Badge2,.@medal_gap; } @@ -635,26 +635,26 @@ bat_b02,10,294,3 script Vintenar#bat_b02_aover 4_M_KY_HEAD,{ .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { - mes "[Axl Rose]"; - mes "You lost, but you're dedicated to this battle."; - mes "This is a reward for your great dedication by Guillaume Marollo!"; - mes "Just take this defeat as a lesson, next time you will definitely win."; + mes("[Axl Rose]"); + mes("You lost, but you're dedicated to this battle."); + mes("This is a reward for your great dedication by Guillaume Marollo!"); + mes("Just take this defeat as a lesson, next time you will definitely win."); close2; getitem BF_Badge2,3; } else { - mes "[Axl Rose]"; - mes "You lost, but you're dedicated to this battle."; - mes "This is a reward for your great dedication by Guillaume Marollo!"; - mes "Just take this defeat as a lesson, next time you will definitely win."; + mes("[Axl Rose]"); + mes("You lost, but you're dedicated to this battle."); + mes("This is a reward for your great dedication by Guillaume Marollo!"); + mes("Just take this defeat as a lesson, next time you will definitely win."); close2; getitem BF_Badge2,.@medal_gap; } } } else { - mes "[Axl Rose]"; - mes "Why are you here, Croix mercenary? I am definitely sure of victory against foolish Croix such as you. Ha!"; + mes("[Axl Rose]"); + mes("Why are you here, Croix mercenary? I am definitely sure of victory against foolish Croix such as you. Ha!"); close; } bg_leave; @@ -673,18 +673,18 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{ .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { - mes "[Swandery]"; - mes "Oh, "+strcharinfo(0)+". Don't be sad."; - mes "Even though we didn't win, we did our best."; - mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."; + mes("[Swandery]"); + mesf("Oh, %s. Don't be sad.", strcharinfo(0)); + mes("Even though we didn't win, we did our best."); + mes("This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."); close2; getitem BF_Badge2,3; } else { - mes "[Swandery]"; - mes "Oh, "+strcharinfo(0)+". Don't be sad."; - mes "Even though we didn't win, we did our best."; - mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."; + mes("[Swandery]"); + mesf("Oh, %s. Don't be sad.", strcharinfo(0)); + mes("Even though we didn't win, we did our best."); + mes("This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."); close2; getitem BF_Badge2,.@medal_gap; } @@ -693,18 +693,18 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{ .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 2) { - mes "[Swandery]"; - mes "Oh, "+strcharinfo(0)+". Don't be sad."; - mes "Even though we didn't win, we did our best."; - mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."; + mes("[Swandery]"); + mesf("Oh, %s. Don't be sad.", strcharinfo(0)); + mes("Even though we didn't win, we did our best."); + mes("This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."); close2; getitem BF_Badge2,3; } else { - mes "[Swandery]"; - mes "Oh, "+strcharinfo(0)+". Don't be sad."; - mes "Even though we didn't win, we did our best."; - mes "This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."; + mes("[Swandery]"); + mesf("Oh, %s. Don't be sad.", strcharinfo(0)); + mes("Even though we didn't win, we did our best."); + mes("This is a Royal gift from Croix, and please don't forget this battle. We will win the next one."); close2; getitem BF_Badge2,.@medal_gap; } @@ -713,26 +713,26 @@ bat_b02,389,14,3 script Vintenar#bat_b02_bover 4_M_CRU_HEAD,{ .@your_medal = countitem(BF_Badge2); .@medal_gap = 500 - .@your_medal; if (.@medal_gap > 8) { - mes "[Swandery]"; - mes "Blessed Croix!"; - mes "Let's enjoy our glorious victory!"; - mes ""+strcharinfo(0)+", it's a sign reflecting victory."; + mes("[Swandery]"); + mes("Blessed Croix!"); + mes("Let's enjoy our glorious victory!"); + mesf("%s, it's a sign reflecting victory.", strcharinfo(0)); close2; getitem BF_Badge2,9; } else { - mes "[Swandery]"; - mes "Blessed Croix!"; - mes "Let's enjoy our glorious victory!"; - mes ""+strcharinfo(0)+", it's a sign reflecting victory."; + mes("[Swandery]"); + mes("Blessed Croix!"); + mes("Let's enjoy our glorious victory!"); + mesf("%s, it's a sign reflecting victory.", strcharinfo(0)); close2; getitem BF_Badge2,.@medal_gap; } } } else { - mes "[Swandery]"; - mes "Why do you come here as a Guillaume? You will be sent to where you should be!"; + mes("[Swandery]"); + mes("Why do you come here as a Guillaume? You will be sent to where you should be!"); close; } bg_leave; @@ -747,21 +747,21 @@ OnInit: bat_b02,1,10,3 script Release all#b02 4_DOG01,{ .@i = callfunc("F_GM_NPC",1854,0); if (.@i == -1) { - mes "Cancelled."; + mes("Cancelled."); close; } else if (.@i == 0) { end; } else { - mes "May I help you?"; + mes("May I help you?"); next; switch(select("Release all.", "Cancel.")) { case 1: - mes "Bye."; + mes("Bye."); close2; mapwarp "bat_b02","bat_room",154,150; end; case 2: - mes "Cancelled."; + mes("Cancelled."); close; } } -- cgit v1.2.3-70-g09d2