From 9ac27171a57f2a1730ab595379a6fff386192b74 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 26 Jan 2022 03:18:01 -0300 Subject: Better have a prompt warning if someone messes with Aeros Coins drop rate. Messing idly with it can and will warrant any staff member dismissal from GM position. --- npc/001-1/eventmaster.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/npc/001-1/eventmaster.txt b/npc/001-1/eventmaster.txt index 247eebb3b..d8f92a67f 100644 --- a/npc/001-1/eventmaster.txt +++ b/npc/001-1/eventmaster.txt @@ -668,9 +668,12 @@ L_Rate: mes ""; mes "Current drop rate: " + str($coinsrate); mes "Insert drop rate (from 0 to 10000, capped at 5000 or 50%). Use -1 to disable."; + .@old = $coinsrate; input $coinsrate; if ($coinsrate > 5000) $coinsrate=5000; + if ($coinsrate != .@old) + consolewarn("Aeros Coins drop rate changed - highlight %s - by %s (%d) from %d to %d", "<@&411247967064948737>", strcharinfo(0), getcharid(3), .@old, $coinsrate); mes ""; mes "Ratio adjusted."; next; -- cgit v1.2.3-70-g09d2