From db1160472421a4d1db83f5ac60314b58539538dc Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 17 Jun 2018 21:44:38 -0300 Subject: Contributor Table to automatize a few tasks --- npc/003-3/malindou.txt | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'npc/003-3') diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 06f376c08..564c7ed3a 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -17,7 +17,7 @@ OnInit: // Update handler (use `date +%s` for this) // Current UPDATE value: Qui Jun 7 08:10:55 -03 2018 if ($UPDATE < 1528369855) { - $UPDATE=gettimetick(2); + $UPDATE=1528369855; debugmes "Warning."; debugmes "Warning."; debugmes "Warning: This introduces a server update:"; @@ -25,7 +25,36 @@ OnInit: debugmes "* Please create the imported guild"; debugmes ""; } + // Current UPDATE value: Dom Jun 17 21:32:45 -03 2018 + if ($UPDATE < 1529281965) { + $UPDATE=1529281965; + } + + + + + // This mensures Contributors Credits, and changes only during updates. + // All names in lower case. Max value is 1'000'000. Non-TMW2 contributors + // should be disregarded if they're not involved with the project. + // See 003-2/lua.txt for rewards + $@CONTRIBUTORS = htnew; + htput($@CONTRIBUTORS, "jesusalva", 1000000); + htput($@CONTRIBUTORS, "saulc", 1000000); + htput($@CONTRIBUTORS, "lawncable", 1020); + htput($@CONTRIBUTORS, "polaczka", 500); + htput($@CONTRIBUTORS, "soren", 500); + htput($@CONTRIBUTORS, "crazyfefe", 120); + htput($@CONTRIBUTORS, "ayruss", 120); + htput($@CONTRIBUTORS, "rakinorf", 100); + htput($@CONTRIBUTORS, "ichigoblack", 100); + htput($@CONTRIBUTORS, "acsvln", 100); + htput($@CONTRIBUTORS, "skydragon", 100); + htput($@CONTRIBUTORS, "dustman", 100); + htput($@CONTRIBUTORS, "4144", 100); + htput($@CONTRIBUTORS, "pookie", 20); + htput($@CONTRIBUTORS, "dragonstar", 20); + //htput($@CONTRIBUTORS, "", 1); end; OnPCLoginEvent: -- cgit v1.2.3-60-g2f50