diff --git a/mods/menu.hjson b/mods/menu.hjson index 92184ba1..2bcf4810 100644 --- a/mods/menu.hjson +++ b/mods/menu.hjson @@ -745,6 +745,10 @@ value: { command: "O" } action: @menu:mainMenuOnelinerz } + { + value: { command: "R" } + action: @menu:mainMenuRumorz + } { value: { command: "CHAT"} action: @menu:ercClient @@ -1108,6 +1112,92 @@ } } + mainMenuRumorz: { + desc: Rumorz + module: rumorz + options: { + cls: true + } + config: { + art: { + entries: RUMORS + add: RUMORADD + } + } + form: { + 0: { + mci: { + VM1: { + focus: false + height: 10 + } + TM2: { + argName: addOrExit + items: [ "yeah!", "nah" ] + "hotKeys" : { "Y" : 0, "N" : 1, "Q" : 1 } + submit: true + focus: true + } + } + submit: { + *: [ + { + value: { addOrExit: 0 } + action: @method:viewAddScreen + } + { + value: { addOrExit: null } + action: @systemMethod:nextMenu + } + ] + } + actionKeys: [ + { + keys: [ "escape" ] + action: @systemMethod:nextMenu + } + ] + }, + 1: { + mci: { + ET1: { + focus: true + maxLength: 70 + argName: rumor + } + TL2: { + width: 60 + } + TM3: { + argName: addOrCancel + items: [ "add", "cancel" ] + "hotKeys" : { "A" : 0, "C" : 1, "Q" : 1 } + submit: true + } + } + + submit: { + *: [ + { + value: { addOrCancel: 0 } + action: @method:addEntry + } + { + value: { addOrCancel: 1 } + action: @method:cancelAdd + } + ] + } + actionKeys: [ + { + keys: [ "escape" ] + action: @method:cancelAdd + } + ] + } + } + } + ercClient: { art: erc module: erc_client diff --git a/mods/themes/luciano_blocktronics/MMENU.ANS b/mods/themes/luciano_blocktronics/MMENU.ANS index 3b02a643..b2305013 100644 Binary files a/mods/themes/luciano_blocktronics/MMENU.ANS and b/mods/themes/luciano_blocktronics/MMENU.ANS differ diff --git a/mods/themes/luciano_blocktronics/RUMORADD.ANS b/mods/themes/luciano_blocktronics/RUMORADD.ANS new file mode 100644 index 00000000..f98a0a2f Binary files /dev/null and b/mods/themes/luciano_blocktronics/RUMORADD.ANS differ diff --git a/mods/themes/luciano_blocktronics/RUMORS.ANS b/mods/themes/luciano_blocktronics/RUMORS.ANS new file mode 100644 index 00000000..3b6baad8 Binary files /dev/null and b/mods/themes/luciano_blocktronics/RUMORS.ANS differ diff --git a/mods/themes/luciano_blocktronics/theme.hjson b/mods/themes/luciano_blocktronics/theme.hjson index def17c34..008a629d 100644 --- a/mods/themes/luciano_blocktronics/theme.hjson +++ b/mods/themes/luciano_blocktronics/theme.hjson @@ -271,6 +271,31 @@ } } + mainMenuRumorz: { + config: { + listFormat: "|00|11 {rumor}" + focusListFormat: "|00|15> |14{rumor}" + } + 0: { + mci: { + VM1: { height: 14 } + TM2: { + focusTextStyle: upper + items: [ "yes", "no" ] + } + } + } + 1: { + mci: { + ET1: { width: 60 } + TL2: { width: 60 } + TM3: { + focusTextStyle: upper + } + } + } + } + bbsList: { 0: { mci: {