diff options
Diffstat (limited to 'npc/commands/ucp.txt')
-rw-r--r-- | npc/commands/ucp.txt | 52 |
1 files changed, 49 insertions, 3 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt index f103ad54a..652d779ff 100644 --- a/npc/commands/ucp.txt +++ b/npc/commands/ucp.txt @@ -23,7 +23,7 @@ function script UserCtrlPanel { l("Account Information"), rif(getcharid(2) > 0, l("Guild Information")), l("Change Language"), - rif(is_admin() && $@GM_OVERRIDE, l("DISABLE OVERRIDE MODE")), + rif(getskilllv(TMW2_CRAFT), l("Change Crafting Options")), l("Game Settings"), l("Save & Exit"); @@ -87,8 +87,54 @@ function script UserCtrlPanel { break; case 5: asklanguage(LANG_IN_SHIP); break; case 6: - $@GM_OVERRIDE=false; - break; + // Draw the GUI and any info on it + csysGUI_Report(); + //mesc l("Mobpt: @@", Mobpt); + do { + .@opt$="Do nothing"; + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_BASE); + + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_ATK); + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_DEF); + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_ACC); + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_EVD); + + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_REGEN); + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_SPEED); + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_DOUBLE); + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_MAXPC); + + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_SCRESIST); + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_SCINFLICT); + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_MANAUSE); + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_BOSSATK); + + .@opt$+=":"+csysGUI_OptToogleMenu(CRGROUP_FINAL); + + select (.@opt$); + mes ""; + switch (@menu) { + case 2: csysGUI_ChangeOpt(CRGROUP_BASE); break; + + case 3: csysGUI_ChangeOpt(CRGROUP_ATK); break; + case 4: csysGUI_ChangeOpt(CRGROUP_DEF); break; + case 5: csysGUI_ChangeOpt(CRGROUP_ACC); break; + case 6: csysGUI_ChangeOpt(CRGROUP_EVD); break; + + case 7: csysGUI_ChangeOpt(CRGROUP_REGEN); break; + case 8: csysGUI_ChangeOpt(CRGROUP_SPEED); break; + case 9: csysGUI_ChangeOpt(CRGROUP_DOUBLE); break; + case 10: csysGUI_ChangeOpt(CRGROUP_MAXPC); break; + + case 11: csysGUI_ChangeOpt(CRGROUP_SCRESIST); break; + case 12: csysGUI_ChangeOpt(CRGROUP_SCINFLICT); break; + case 13: csysGUI_ChangeOpt(CRGROUP_MANAUSE); break; + case 14: csysGUI_ChangeOpt(CRGROUP_BOSSATK); break; + + case 15: csysGUI_ChangeOpt(CRGROUP_FINAL); break; + } + } while (@menu > 1); + break; case 7: do { |