* Work on menus

This commit is contained in:
Bryan Ashby 2015-10-17 20:34:39 -06:00
parent 1c1f4394ca
commit 9f11605c9b
3 changed files with 41 additions and 13 deletions

View file

@ -408,7 +408,7 @@
art: MMENU art: MMENU
desc: Main Menu desc: Main Menu
prompt: menuCommand prompt: menuCommand
"submit" : [ submit: [
{ {
"value" : { "command" : "G" }, "value" : { "command" : "G" },
"action" : "@menu:logoff" "action" : "@menu:logoff"
@ -416,7 +416,11 @@
{ {
"value" : { "command" : "O" }, "value" : { "command" : "O" },
"action" : "@menu:doorPimpWars" "action" : "@menu:doorPimpWars"
}, }
{
value: { command: "D" }
action: @menu:doorMenu
}
/* /*
{ {
"value" : { "command" : "L" }, "value" : { "command" : "L" },
@ -452,7 +456,7 @@
"action" : "@menu:mainMenu" "action" : "@menu:mainMenu"
} }
] ]
}, }
mainMenuLastCallers: { mainMenuLastCallers: {
module: last_callers module: last_callers
art: LASTCALL 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 // Message Area Related
/////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////
@ -990,18 +1017,19 @@
/////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////
// Doors // Doors
/////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////
"doorPimpWars" : { doorPimpWars: {
"module" : "abracadabra", desc: Playing PimpWars
"fallback" : "mainMenu", module: abracadabra
"config" : { config: {
"name" : "PimpWars", name: PimpWars
"dropFileType" : "DORINFO", dropFileType: DORINFO
"cmd" : "/usr/bin/dosemu", cmd: /usr/bin/dosemu
"args" : [ args: [
"-quiet", "-f", "/home/nuskooler/DOS/X/LORD/dosemu.conf", "X:\\PW\\START.BAT {dropfile} {node}" "-quiet", "-f", "/home/nuskooler/DOS/X/LORD/dosemu.conf", "X:\\PW\\START.BAT {dropfile} {node}"
], ],
"nodeMax" : 1, nodeMax: 1
"tooManyArt" : "doortoomany.ans" // :TODO: Obv/2 name for this?
tooManyArt: doortoomany.ans
} }
}, },
"doorLORD" : { "doorLORD" : {

Binary file not shown.