diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-23 11:12:27 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-23 11:12:27 -0300 |
commit | 66471a639d64655f44181f26ad72362b00aeed8f (patch) | |
tree | 757f10afc244b57848a0e5e2ed9fb05bbb1f5f88 /npc/commands | |
parent | e62562b4c5b72b6ad0552f2072e5fc38af432c1a (diff) | |
download | serverdata-66471a639d64655f44181f26ad72362b00aeed8f.tar.gz serverdata-66471a639d64655f44181f26ad72362b00aeed8f.tar.bz2 serverdata-66471a639d64655f44181f26ad72362b00aeed8f.tar.xz serverdata-66471a639d64655f44181f26ad72362b00aeed8f.zip |
Replace default behavior for Soul Menhir per community decision.
Keep in @ucp an option to roll back to legacy behavior of manually setting it.
Again, per community decision.
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/ucp.txt | 40 |
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); } |