summaryrefslogtreecommitdiff
path: root/npc/commands/ucp.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/ucp.txt')
-rw-r--r--npc/commands/ucp.txt40
1 files changed, 39 insertions, 1 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index 746c83da5..1cafac91a 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -19,6 +19,7 @@ function script UserCtrlPanel {
rif(getcharid(2) > 0, l("Guild Information")),
l("Change Language"),
rif(is_admin() && $@GM_OVERRIDE, l("LoF Merge")),
+ l("Game Settings"),
l("Quit");
switch (@menu)
@@ -115,7 +116,44 @@ function script UserCtrlPanel {
mesc l("Actually, this fails without tmwa dark magic.");
mesc l("User account safety is at stake, too, so I'll move this crap to a blackbox once done.");
break;
- case 7: close; break;
+ case 7:
+ do
+ {
+ mesc ".:: " + l("GAME SETTINGS") + " ::.", 3;
+
+ // GSET_SOULMENHIR_MANUAL
+ // Enables/Disable manual position saving on Soul Menhir
+ if (GSET_SOULMENHIR_MANUAL)
+ mes l("Soul Menhir automatic saving: ") + col(l("Disabled"), 1);
+ else
+ mes l("Soul Menhir automatic saving: ") + col(l("Enabled"), 2);
+
+
+ // GSET_DAILYREWARD_SILENT
+ // Enables/Disable silent dialog for daily rewards
+ // (otherwise a image will be shown)
+ if (GSET_DAILYREWARD_SILENT)
+ mes l("Display daily reward screen: ") + col(l("Disabled"), 1);
+ else
+ mes l("Display daily reward screen: ") + col(l("Enabled"), 2);
+
+ mes "";
+ select
+ l("Return to User Control Panel"),
+ l("Toggle Soul Menhir automatic saving"),
+ l("Toggle Daily Reward screen");
+ mes "";
+
+ switch (@menu) {
+ case 2:
+ GSET_SOULMENHIR_MANUAL=!GSET_SOULMENHIR_MANUAL; break;
+ case 3:
+ GSET_DAILYREWARD_SILENT=!GSET_DAILYREWARD_SILENT; break;
+ }
+ clear;
+ } while (@menu != 1);
+ break;
+ case 8: close; break;
}
} while (1);
}