From d0ee6cc84412539b30c0351a129c0ac9ae94b18c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 18 Apr 2019 15:28:44 -0300 Subject: GMs on MK Guild may opt to receive strange coins automatically --- npc/commands/ucp.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'npc/commands/ucp.txt') 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); -- cgit v1.2.3-60-g2f50