* Trailing LF handling is now 'trailingLF' option, with 'default', 'yes', 'no', etc.

* Initial checking of WIP Mystery Skulls theme by Luciano Ayres of blocktronics
* Fix random theme selection
* WIP on theme customization apply: Needs to be much more flexible than current
* MenuModule will use .next > .fallback > default fallback
This commit is contained in:
Bryan Ashby
2015-09-27 15:35:24 -06:00
parent 68b8af7975
commit 05812f57f0
25 changed files with 187 additions and 105 deletions

Binary file not shown.

BIN
mods/art/MATRIX.ANS Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -61,6 +61,9 @@
matrix: {
art: matrix
options: {
}
form: {
0: { // :TODO: Make form "0" the default if missing (e.g. optional)... not sure how with current structure though
VM: {
@@ -69,7 +72,7 @@
submit: true
focus: true
// :TODO: need a good way to localize these ... Standard Orig->Lookup seems good.
items: [ "Login", "Apply", "Log Off" ]
items: [ "login", "apply", "log off" ]
}
}
@@ -111,45 +114,45 @@
}
]*/
},
"login2" : {
"art" : "USRCRED",
"fallback" : "matrix",
login2: {
art: USERLOG
next: messageArea
//"next" : "fullLoginSequenceLoginArt",
"form" : {
"0" : {
"mci" : {
"ET1" : {
"width" : 20,
"maxLength" : "@config:users.usernameMax",
"argName" : "username",
"focus" : true
},
"ET2" : {
"width" : 20,
"password" : true,
"maxLength" : "@config:users.passwordMax",
"argName" : "password",
"submit" : true
form: {
0: {
mci: {
ET1: {
maxLength: @config:users.usernameMax
argName: username
focus: true
}
},
"submit" : {
"*" : [
ET2: {
password: true
maxLength: @config:users.passwordMax
argName: password
submit: true
}
}
submit: {
*: [
{
"value" : { "password" : null },
"action" : "@systemMethod:login"
value: { password: null }
action: @systemMethod:login
}
]
},
"actionKeys" : [
}
actionKeys: [
{
"keys" : [ "escape" ],
"action" : "@menu:matrix"
keys: [ "escape" ]
action: @menu:matrix
}
]
}
}
},
}
"logoff" : {
"art" : "LOGOFF",
"next" : "@systemMethod:logoff",
@@ -390,7 +393,7 @@
"next" : "fullLoginSequenceUserStats"
},
"fullLoginSequenceUserStats" : {
"art" : "USRSTAT",
art: STATUS
"options" : { "pause" : true },
"next" : "mainMenu"
},
@@ -404,17 +407,20 @@
"options" : { "pause" : true }
//"action" : "@menu:lastCallers"
},
"mainMenu" : {
"art" : "MMENU1",
"desc" : "Main Menu",
"prompt" : "menuCommand",
mainMenu: {
art: MMENU
/*options: {
trailingLF: yes
}*/
desc: Main Menu
prompt: menuCommand
"submit" : [
{
"value" : { "command" : "G" },
"action" : "@menu:logoff"
},
{
"value" : { "command" : "D" },
"value" : { "command" : "O" },
"action" : "@menu:doorPimpWars"
},
/*
@@ -441,20 +447,16 @@
}
]
},
"mainMenuLastCallers" : {
"module" : "last_callers",
"art" : "LASTCALL",
"options" : { "pause" : true },
"config" : {
"dateTimeFormat" : "ddd MMM Do h:mm a"
},
"next" : "mainMenu"
},
"mainMenuUserStats" : {
"art" : "USRSTAT",
"options" : { "pause" : true },
"next" : "mainMenu"
},
mainMenuLastCallers: {
module: last_callers
art: LASTCALL
options: { pause: true }
}
mainMenuUserStats: {
art: STATUS
options: { pause: true }
next: mainMenu
}
///////////////////////////////////////////////////////////////////////
// Message Area Related
///////////////////////////////////////////////////////////////////////

View File

@@ -59,11 +59,14 @@
///////////////////////////////////////////////////////////////////////
// Standard / Required
///////////////////////////////////////////////////////////////////////
"pause" : {
pause: {
//
// Any menu 'pause' will use this prompt
//
"art" : "pause"
art: pause
options: {
trailingLF: no
}
/*
"mci" : {
// :TODO: Need special pause for a key MCI

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,46 @@
{
info: {
name: Mystery Skull
author: Luciano Ayres
group: blocktronics
}
customization: {
defaults: {
general: {
passwordChar: *
}
dateTimeFormat: {
short: MMM Do h:mm a
}
}
menus: {
matrix: {
VM1: {
focusTextStyle: first lower
}
}
login2: {
ET1: { width: 14 }
ET2: { width: 14 }
}
mainMenuUserStats: {
UN1: { width: 17 }
UR2: { width: 17 }
LO3: { width: 17 }
UF4: { width: 17 }
UG5: { width: 17 }
UT6: { width: 17 }
UC7: { width: 17 }
}
mainMenuLastCallers: {
}
}
}
}