From e4179dd624cd36602c37921bbe505f18c426c4f3 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 21 Feb 2020 14:39:51 -0300 Subject: UCP: Allow players to toggle tutorial help texts on and off. --- npc/commands/ucp.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2