summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-18 15:28:44 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-18 15:34:45 -0300
commitd0ee6cc84412539b30c0351a129c0ac9ae94b18c (patch)
tree55e2fde0f88a229f13bb324b3fbfff7139dbde08 /npc/commands
parente8b603241549767f32e32332d3a7653fb6ae2d0a (diff)
downloadserverdata-d0ee6cc84412539b30c0351a129c0ac9ae94b18c.tar.gz
serverdata-d0ee6cc84412539b30c0351a129c0ac9ae94b18c.tar.bz2
serverdata-d0ee6cc84412539b30c0351a129c0ac9ae94b18c.tar.xz
serverdata-d0ee6cc84412539b30c0351a129c0ac9ae94b18c.zip
GMs on MK Guild may opt to receive strange coins automatically
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/ucp.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index d00523964..cb8ee34e2 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -137,11 +137,20 @@ function script UserCtrlPanel {
else
mes l("Display daily reward screen: ") + col(l("Enabled"), 2);
+
+ // GSET_AUTORECEIVE_COINS
+ // Enables/Disable autoreceive strange coins
+ if (!GSET_AUTORECEIVE_COINS)
+ mes l("Autoreceive Strange Coins: ") + col(l("Disabled"), 1);
+ else
+ mes l("Autoreceive Strange Coins: ") + col(l("Enabled"), 2);
+
mes "";
select
l("Return to User Control Panel"),
l("Toggle Soul Menhir automatic saving"),
- l("Toggle Daily Reward screen");
+ l("Toggle Daily Reward screen"),
+ (strcharinfo(2) == "Monster King", ("Toggle Autoreceive Event Coins"));
mes "";
switch (@menu) {
@@ -150,6 +159,8 @@ function script UserCtrlPanel {
if (!GSET_SOULMENHIR_MANUAL) savepoint "000-1", 22, 22; break;
case 3:
GSET_DAILYREWARD_SILENT=!GSET_DAILYREWARD_SILENT; break;
+ case 4:
+ GSET_AUTORECEIVE_COINS=!GSET_AUTORECEIVE_COINS; break;
}
clear;
} while (@menu != 1);