summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-27 23:17:23 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-27 23:17:23 -0300
commitdba47dc80ef8edaa5312a62253b5d28b13e9380f (patch)
treee12628b079cae8b578355f741e341c5a50c829d8 /npc
parent4810ff36aefadda88888cef097d9ff99c9793cd0 (diff)
downloadserverdata-dba47dc80ef8edaa5312a62253b5d28b13e9380f.tar.gz
serverdata-dba47dc80ef8edaa5312a62253b5d28b13e9380f.tar.bz2
serverdata-dba47dc80ef8edaa5312a62253b5d28b13e9380f.tar.xz
serverdata-dba47dc80ef8edaa5312a62253b5d28b13e9380f.zip
Game Statistics are now on scoreboards
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/scoreboards.txt25
1 files changed, 25 insertions, 0 deletions
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;
}