From 9f11605c9b84d8f645c5adc545aa5330ee7cfa40 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 17 Oct 2015 20:34:39 -0600 Subject: [PATCH] * Work on menus --- mods/menu.hjson | 54 ++++++++++++++----- mods/themes/luciano_blocktronics/DOORMNU.ANS | Bin 0 -> 3503 bytes mods/themes/luciano_blocktronics/MMENU.ANS | Bin 3316 -> 3350 bytes 3 files changed, 41 insertions(+), 13 deletions(-) create mode 100644 mods/themes/luciano_blocktronics/DOORMNU.ANS diff --git a/mods/menu.hjson b/mods/menu.hjson index 54f47ae1..0e32a615 100644 --- a/mods/menu.hjson +++ b/mods/menu.hjson @@ -408,7 +408,7 @@ art: MMENU desc: Main Menu prompt: menuCommand - "submit" : [ + submit: [ { "value" : { "command" : "G" }, "action" : "@menu:logoff" @@ -416,7 +416,11 @@ { "value" : { "command" : "O" }, "action" : "@menu:doorPimpWars" - }, + } + { + value: { command: "D" } + action: @menu:doorMenu + } /* { "value" : { "command" : "L" }, @@ -452,7 +456,7 @@ "action" : "@menu:mainMenu" } ] - }, + } mainMenuLastCallers: { module: last_callers art: LASTCALL @@ -502,6 +506,29 @@ } } } + doorMenu: { + desc: Doors Menu + art: DOORMNU + prompt: menuCommand + submit: [ + { + value: { command: "G" } + action: @menu:logoff + } + { + value: { command: "Q" } + action: @systemMethod:fallbackMenu + } + { + value: { command: "1" } + action: @menu:doorPimpWars + } + { + value: { command: "2" } + action: @menu:doorLORD + } + ] + } /////////////////////////////////////////////////////////////////////// // Message Area Related /////////////////////////////////////////////////////////////////////// @@ -990,18 +1017,19 @@ /////////////////////////////////////////////////////////////////////// // Doors /////////////////////////////////////////////////////////////////////// - "doorPimpWars" : { - "module" : "abracadabra", - "fallback" : "mainMenu", - "config" : { - "name" : "PimpWars", - "dropFileType" : "DORINFO", - "cmd" : "/usr/bin/dosemu", - "args" : [ + doorPimpWars: { + desc: Playing PimpWars + module: abracadabra + config: { + name: PimpWars + dropFileType: DORINFO + cmd: /usr/bin/dosemu + args: [ "-quiet", "-f", "/home/nuskooler/DOS/X/LORD/dosemu.conf", "X:\\PW\\START.BAT {dropfile} {node}" ], - "nodeMax" : 1, - "tooManyArt" : "doortoomany.ans" + nodeMax: 1 + // :TODO: Obv/2 name for this? + tooManyArt: doortoomany.ans } }, "doorLORD" : { diff --git a/mods/themes/luciano_blocktronics/DOORMNU.ANS b/mods/themes/luciano_blocktronics/DOORMNU.ANS new file mode 100644 index 0000000000000000000000000000000000000000..6543768018c0dd99931b467e4c2de0dced006557 GIT binary patch literal 3503 zcmb`J&2Ah;6os9wC9jZJFq`HDM%_K*X(F$}1R*4lqeQToRW?LkG)cgS*RuUO-J;(l z;ydS7Rd*XlV!>FRsh|6E?zy*a)#g-R?dz*u-B+7abG2*xadXB9S}k^M-k?jY$&L9acEiU?vlf>M+xoZ{N$n_#t2sWn*SUxEhm@cA57 z51FQ6olBcpIdW>`Nd6Bx3%gGF>%yt#JCjfluo8i>0vW~v4U2jSQK!oEWWvF+sw~Mt zz-*3?R5yX(n}lGxA1fELu#Qou>|4{w) z_V+)K-9bRp;NBu1vq<&v&zsxo_I=gAz4;BX4qgJzJ%f7>s~F@Fy=*_V!B{Dqopc!QV64YZrb*pE*aGT2sl@94*72P1;plL z+0>8afD3^ZS=`%`AqTUD?K*4}3b=enLBGH#Rtd{B9aua<0P%MA5UU0RtO$ZxvH&nu zM7lGc3O(VQ!`_@y^2D@Q&v+nbAmRa7qL9hoW-Io&B*uX`mn%+ln~9j8VBC?3@ytVU zE3%7QImBN$R(9}EJjrA7mAfhlHn?Se^PZbaBn%hs4Zf*m-BC@L*8$*1fv`qE&atzf z?R?&c7<1$Yy)m3U7a3zu#Wi^r1|;|{1b7O-L&-6FPCI>6=SRIQY}qVWP*H7SIqxJ2 zT`$HFh;#eKyHn*@gZH&t0Cj#V1xczjFBqs(t*K`qawP^18BWlP4F(ZoR++L(v6QNr zp)F{ytfkjlXzTtbBlvTP6EVMRnFUojoiG)VnAJ-p_8h8C=u>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