From dba47dc80ef8edaa5312a62253b5d28b13e9380f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 27 Oct 2019 23:17:23 -0300 Subject: Game Statistics are now on scoreboards --- npc/functions/scoreboards.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'npc/functions/scoreboards.txt') diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt index 2e9ff9b68..0b2db22f8 100644 --- a/npc/functions/scoreboards.txt +++ b/npc/functions/scoreboards.txt @@ -264,6 +264,26 @@ function script HallOfSponsor { return; } + +// HallOfGame() +function script HallOfGame { + mes l("World hero: %s", $MOST_HEROIC$); + mes l("Planted Trees: %d", format_number($TREE_PLANTED)); + mes l("Players Killed in PvP: %d", format_number($PLAYERS_KILLED)); + mes l("Monsters Killed in PvE: %d", format_number($MONSTERS_KILLED)); + mes ""; + .@s$=(season() == WINTER ? l("Winter") : .@s$); + .@s$=(season() == AUTUMN ? l("Autumn") : .@s$); + .@s$=(season() == SUMMER ? l("Summer") : .@s$); + .@s$=(season() == SPRING ? l("Spring") : .@s$); + mes l("Season: %s", .@s$); + // weather ; game time ; world story ; etc. + mes ""; + mes l("Notable mentions and thanks for our [@@https://www.patreon.com/TMW2|sponsors@@], we wouldn't be here without their continued support."); + mes ""; + return; +} + function script HallOf2018 { mes ""; if ($YETIKING_WINNER$ != "") { @@ -415,6 +435,7 @@ OnCall: l("Hall Of Fame"), l("2018 Event Winners"), l("2019 Event Winners"), + l(".:: Game Statistics ::."), l("Quit"); mes ""; switch (@menu) { @@ -480,6 +501,10 @@ OnCall: HallOf2019(); next; break; + case 14: + HallOfGame(); + next; + break; default: close; } -- cgit v1.2.3-60-g2f50