diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-02-21 14:39:51 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-02-21 14:39:51 -0300 |
commit | e4179dd624cd36602c37921bbe505f18c426c4f3 (patch) | |
tree | f41c398222ae117de589f972187c3f0dd4e89751 /npc | |
parent | 3c38a0a6c44e93caf9f31bb3a65cae0fb50f5cac (diff) | |
download | serverdata-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')
-rw-r--r-- | npc/commands/ucp.txt | 13 |
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; |