Skip to content

Commit

Permalink
HULD-compliance: updated npc/battleground/
Browse files Browse the repository at this point in the history
Signed-off-by: Haru <haru@dotalux.com>
  • Loading branch information
MishimaHaruna committed Jul 10, 2016
1 parent 84d645a commit c0981a1
Show file tree
Hide file tree
Showing 12 changed files with 1,485 additions and 1,480 deletions.
341 changes: 173 additions & 168 deletions npc/battleground/bg_common.txt

Large diffs are not rendered by default.

230 changes: 115 additions & 115 deletions npc/battleground/flavius/flavius01.txt

Large diffs are not rendered by default.

230 changes: 115 additions & 115 deletions npc/battleground/flavius/flavius02.txt

Large diffs are not rendered by default.

314 changes: 157 additions & 157 deletions npc/battleground/flavius/flavius_enter.txt

Large diffs are not rendered by default.

108 changes: 54 additions & 54 deletions npc/battleground/kvm/kvm01.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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;

Expand All @@ -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;
Expand All @@ -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 )
Expand All @@ -297,28 +297,28 @@ 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;

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;

Expand Down Expand Up @@ -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:
Expand All @@ -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;
Expand All @@ -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;
Expand Down
Loading

0 comments on commit c0981a1

Please sign in to comment.