summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-11-06 21:47:40 -0300
committerJesusaves <cpntb1@ymail.com>2019-11-06 21:47:40 -0300
commita9e533d65d6119944e19f28f388e8cab54c8c051 (patch)
treeaef04e0b6a74bc2837bfdf1b4da9905a6dc2ed9e /npc/commands
parentd65f9cecbdec106b5abc60c400ab5c3585b928bd (diff)
downloadserverdata-a9e533d65d6119944e19f28f388e8cab54c8c051.tar.gz
serverdata-a9e533d65d6119944e19f28f388e8cab54c8c051.tar.bz2
serverdata-a9e533d65d6119944e19f28f388e8cab54c8c051.tar.xz
serverdata-a9e533d65d6119944e19f28f388e8cab54c8c051.zip
Interlude: Density option on recipe book
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/ucp.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index 2803663b6..7b4bce58a 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -158,6 +158,15 @@ function script UserCtrlPanel {
mes l("Display daily reward screen: ") + col(l("Enabled"), 2);
+ // GSET_LONGMENU_DENSITY
+ // How many nexts should be queued in a density list
+ // (use higher values if you have few recipes or can scroll)
+ if (GSET_LONGMENU_DENSITY)
+ mes l("Long Text Wall Density: ") + col(l("Normal"), 1);
+ else
+ mes l("Long Text Wall Density: ") + col(l("Compact")+": "+GSET_LONGMENU_DENSITY, 2);
+
+
if (strcharinfo(2) == "Monster King") {
// GSET_AUTORECEIVE_COINS
// Enables/Disable autoreceive strange coins
@@ -177,6 +186,7 @@ function script UserCtrlPanel {
l("Return to User Control Panel"),
l("Toggle Soul Menhir automatic saving"),
l("Toggle Daily Reward screen"),
+ l("Text Wall Density"),
rif(strcharinfo(2) == "Monster King", ("Toggle Autoreceive Event Coins"));
mes "";
@@ -195,6 +205,12 @@ function script UserCtrlPanel {
case 3:
GSET_DAILYREWARD_SILENT=!GSET_DAILYREWARD_SILENT; break;
case 4:
+ if (GSET_LONGMENU_DENSITY > 5)
+ GSET_LONGMENU_DENSITY=0;
+ else
+ GSET_LONGMENU_DENSITY+=1;
+ break;
+ case 5:
GSET_AUTORECEIVE_COINS=!GSET_AUTORECEIVE_COINS; break;
}
clear;