summaryrefslogtreecommitdiff
path: root/npc/commands/ucp.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-21 14:39:51 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-21 14:39:51 -0300
commite4179dd624cd36602c37921bbe505f18c426c4f3 (patch)
treef41c398222ae117de589f972187c3f0dd4e89751 /npc/commands/ucp.txt
parent3c38a0a6c44e93caf9f31bb3a65cae0fb50f5cac (diff)
downloadserverdata-e4179dd624cd36602c37921bbe505f18c426c4f3.tar.gz
serverdata-e4179dd624cd36602c37921bbe505f18c426c4f3.tar.bz2
serverdata-e4179dd624cd36602c37921bbe505f18c426c4f3.tar.xz
serverdata-e4179dd624cd36602c37921bbe505f18c426c4f3.zip
UCP: Allow players to toggle tutorial help texts on and off.
Diffstat (limited to 'npc/commands/ucp.txt')
-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 a4a4a67a7..2ed13b8d0 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -175,6 +175,14 @@ function script UserCtrlPanel {
mes l("Lethal overdrinking: ") + col(l("Allowed"), 2);
+ // TUTORIAL
+ // Should we show players tutorial info?
+ if (!TUTORIAL)
+ mes l("Tutorial Protips: ") + col(l("Disabled"), 1);
+ else
+ mes l("Tutorial Protips: ") + col(l("Enabled"), 2);
+
+
if ($EVENT$ == "Valentine") {
// GSET_VALENTINE_EATONE
// Eat all Chocolate Boxes from Valentine Day event
@@ -206,6 +214,7 @@ function script UserCtrlPanel {
l("Toggle Daily Reward screen"),
l("Text Wall Density"),
l("Lethal alcohol overdrinking"),
+ l("Show Tutorial Protips"),
rif($EVENT$ == "Valentine", ("Valentine Eating")),
rif(strcharinfo(2) == "Monster King", ("Toggle Autoreceive Event Coins"));
mes "";
@@ -233,8 +242,10 @@ function script UserCtrlPanel {
case 5:
GSET_ALCOHOL_NOOVERDRINK=!GSET_ALCOHOL_NOOVERDRINK; break;
case 6:
- GSET_VALENTINE_EATALL=!GSET_VALENTINE_EATALL; break;
+ TUTORIAL=!TUTORIAL; break;
case 7:
+ GSET_VALENTINE_EATALL=!GSET_VALENTINE_EATALL; break;
+ case 8:
GSET_AUTORECEIVE_COINS=!GSET_AUTORECEIVE_COINS; break;
}
clear;