2015-04-24 05:00:48 +00:00
|
|
|
{
|
2017-02-08 03:20:10 +00:00
|
|
|
/*
|
|
|
|
./\/\.' ENiGMA½ Prompt Configuration -/--/-------- - -- -
|
|
|
|
|
|
|
|
_____________________ _____ ____________________ __________\_ /
|
|
|
|
\__ ____/\_ ____ \ /____/ / _____ __ \ / ______/ // /___jp!
|
|
|
|
// __|___// | \// |// | \// | | \// \ /___ /_____
|
|
|
|
/____ _____| __________ ___|__| ____| \ / _____ \
|
|
|
|
---- \______\ -- |______\ ------ /______/ ---- |______\ - |______\ /__/ // ___/
|
|
|
|
/__ _\
|
|
|
|
<*> ENiGMA½ // HTTPS://GITHUB.COM/NUSKOOLER/ENIGMA-BBS <*> /__/
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
This configuration is in HJSON (http://hjson.org/) format. Strict to-spec
|
|
|
|
JSON is also perfectly valid. Use 'hjson' from npm to convert to/from JSON.
|
|
|
|
|
|
|
|
See http://hjson.org/ for more information and syntax.
|
|
|
|
|
|
|
|
|
|
|
|
If you haven't yet, copy the conents of this file to something like
|
|
|
|
sick_board_prompt.hjson. Point to it via config.hjson using the
|
|
|
|
'general.promptFile' key:
|
|
|
|
|
|
|
|
general: { promptFile: "sick_board_prompt.hjson" }
|
|
|
|
|
|
|
|
*/
|
2015-10-29 05:20:59 +00:00
|
|
|
// :TODO: this entire file needs cleaned up a LOT
|
|
|
|
// :TODO: Convert all of this to HJSON
|
2017-02-08 03:20:10 +00:00
|
|
|
prompts: {
|
|
|
|
userCredentials: {
|
2015-07-22 05:52:20 +00:00
|
|
|
"art" : "usercred",
|
2015-05-16 05:02:58 +00:00
|
|
|
"mci" : {
|
|
|
|
"ET1" : {
|
|
|
|
"argName" : "username",
|
|
|
|
"maxLength" : "@config:users.usernameMax"
|
|
|
|
},
|
|
|
|
"ET2" : {
|
|
|
|
"submit" : true,
|
|
|
|
"argName" : "password",
|
|
|
|
"password" : true,
|
|
|
|
"maxLength" : "@config:users.passwordMax"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2015-09-09 04:08:45 +00:00
|
|
|
"userLoginCredentials" : {
|
|
|
|
"art" : "USRCRED",
|
|
|
|
"mci" : {
|
|
|
|
"ET1" : {
|
|
|
|
"argName" : "username",
|
|
|
|
"maxLength" : "@config:users.usernameMax"
|
|
|
|
},
|
|
|
|
"ET2" : {
|
|
|
|
"submit" : true,
|
|
|
|
"argName" : "password",
|
|
|
|
"password" : true,
|
|
|
|
"maxLength" : "@config:users.passwordMax"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2015-12-23 23:41:49 +00:00
|
|
|
|
|
|
|
logoffConfirmation: {
|
|
|
|
art: LOGPMPT
|
|
|
|
mci: {
|
|
|
|
TM1: {
|
|
|
|
argName: promptValue
|
|
|
|
items: [ "yes", "no" ]
|
|
|
|
focus: true
|
|
|
|
hotKeys: { Y: 0, N: 1 }
|
2015-12-24 02:08:24 +00:00
|
|
|
hotKeySubmit: true
|
2015-12-23 23:41:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-01 00:54:11 +00:00
|
|
|
loginSequenceFlavorSelect: {
|
|
|
|
art: LOGINSEL
|
|
|
|
mci: {
|
|
|
|
TM1: {
|
|
|
|
argName: promptValue
|
|
|
|
items: [ "yes", "no" ]
|
|
|
|
focus: true
|
|
|
|
focusItemIndex: 1
|
|
|
|
hotKeys: { Y: 0, N: 1 }
|
|
|
|
hotKeySubmit: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-04 02:40:34 +00:00
|
|
|
loginGlobalNewScan: {
|
|
|
|
art: GNSPMPT
|
|
|
|
mci: {
|
|
|
|
TM1: {
|
|
|
|
argName: promptValue
|
|
|
|
items: [ "yes", "no" ]
|
|
|
|
focus: true
|
|
|
|
hotKeys: { Y: 0, N: 1 }
|
|
|
|
hotKeySubmit: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-04 17:42:20 +00:00
|
|
|
menuCommand: {
|
2015-09-26 06:20:17 +00:00
|
|
|
art: MNUPRMT
|
2016-09-04 17:42:20 +00:00
|
|
|
mci: {
|
|
|
|
TL1: {
|
|
|
|
// theme me!
|
|
|
|
}
|
|
|
|
ET2: {
|
|
|
|
argName: command
|
|
|
|
width: 20
|
|
|
|
maxLength: 20
|
|
|
|
submit: true
|
|
|
|
textStyle: upper
|
|
|
|
focus: true
|
2015-08-07 05:08:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2016-08-04 02:59:10 +00:00
|
|
|
|
|
|
|
messageMenuCommand: {
|
|
|
|
art: MSGPMPT
|
|
|
|
mci: {
|
|
|
|
TL1: {
|
|
|
|
// theme me!
|
|
|
|
}
|
|
|
|
ET2: {
|
|
|
|
argName: command
|
|
|
|
width: 20
|
|
|
|
maxLength: 20
|
|
|
|
submit: true
|
|
|
|
textStyle: upper
|
|
|
|
focus: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
2018-07-05 00:49:26 +00:00
|
|
|
deleteMessageFromListPrompt: {
|
|
|
|
art: MSGDELPMPT
|
|
|
|
mci: {
|
|
|
|
TM1: {
|
|
|
|
argName: promptValue
|
|
|
|
items: [ "yes", "no" ]
|
|
|
|
focus: true
|
|
|
|
hotKeys: { Y: 0, N: 1 }
|
|
|
|
hotKeySubmit: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-10 01:32:38 +00:00
|
|
|
"newAreaPostPrompt" : {
|
|
|
|
"art" : "message_area_new_post",
|
|
|
|
"mci" : {
|
|
|
|
"ET1" : {
|
|
|
|
"argName" : "to",
|
|
|
|
"width" : 20
|
|
|
|
},
|
|
|
|
"ET2" : {
|
|
|
|
"argName" : "subject",
|
|
|
|
"width" : 20
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2017-02-08 03:20:10 +00:00
|
|
|
|
2017-02-27 04:28:05 +00:00
|
|
|
forgotPasswordPrompt: {
|
|
|
|
art: FORGOTPW
|
|
|
|
mci: {
|
|
|
|
ET1: {
|
|
|
|
argName: username
|
|
|
|
maxLength: @config:users.usernameMax
|
|
|
|
width: 32
|
|
|
|
focus: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
actionKeys: [
|
|
|
|
{
|
|
|
|
keys: [ "escape" ]
|
|
|
|
action: @systemMethod:prevMenu
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2017-02-12 07:26:08 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////
|
2017-02-08 03:20:10 +00:00
|
|
|
// File Base Related
|
2017-02-12 07:26:08 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////
|
|
|
|
fileMenuCommand: {
|
|
|
|
art: FILPMPT
|
|
|
|
mci: {
|
|
|
|
TL1: {}
|
|
|
|
ET2: {
|
|
|
|
argName: menuOption
|
|
|
|
width: 20
|
|
|
|
maxLength: 20
|
|
|
|
textStyle: upper
|
|
|
|
focus: true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-08 03:20:10 +00:00
|
|
|
fileBaseRateEntryPrompt: {
|
|
|
|
art: RATEFILE
|
|
|
|
mci: {
|
|
|
|
SM1: {
|
|
|
|
argName: rating
|
|
|
|
items: [ "-----", "*----", "**---", "***--", "****-", "*****" ]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
actionKeys: [
|
|
|
|
{
|
|
|
|
keys: [ "escape" ]
|
|
|
|
action: @systemMethod:prevMenu
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2017-02-27 04:28:05 +00:00
|
|
|
fileBaseTagEntryPrompt: {
|
|
|
|
art: TAGFILE
|
|
|
|
mci: {
|
|
|
|
ET1: {
|
|
|
|
argName: tags
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-08-07 05:08:10 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////
|
|
|
|
// Standard / Required
|
2017-02-12 07:26:08 +00:00
|
|
|
//
|
|
|
|
// Prompts in this section are considered "standard" and are required
|
|
|
|
// to be present
|
|
|
|
//
|
2015-08-07 05:08:10 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////
|
2015-09-27 21:35:24 +00:00
|
|
|
pause: {
|
2015-07-24 04:23:44 +00:00
|
|
|
//
|
|
|
|
// Any menu 'pause' will use this prompt
|
|
|
|
//
|
2015-09-27 21:35:24 +00:00
|
|
|
art: pause
|
|
|
|
options: {
|
|
|
|
trailingLF: no
|
|
|
|
}
|
2015-05-16 05:02:58 +00:00
|
|
|
/*
|
|
|
|
"mci" : {
|
|
|
|
// :TODO: Need special pause for a key MCI
|
|
|
|
// e.g. %PA -> themed prompt
|
2015-04-24 05:00:48 +00:00
|
|
|
}
|
2015-05-01 04:29:24 +00:00
|
|
|
|
2015-05-16 05:02:58 +00:00
|
|
|
...or maybe pause should just be special:
|
|
|
|
{
|
|
|
|
...
|
|
|
|
"pause" true
|
|
|
|
// uses theme pause which can be art/inline/etc.
|
2015-05-01 04:29:24 +00:00
|
|
|
|
2015-05-16 05:02:58 +00:00
|
|
|
}
|
2015-05-01 04:29:24 +00:00
|
|
|
|
2015-05-16 05:02:58 +00:00
|
|
|
... better, a special prompt
|
2015-05-01 04:29:24 +00:00
|
|
|
|
2015-05-16 05:02:58 +00:00
|
|
|
GetKeyView
|
|
|
|
* echoKey : false
|
2015-05-01 04:29:24 +00:00
|
|
|
|
2015-05-16 05:02:58 +00:00
|
|
|
*/
|
2015-08-07 05:08:10 +00:00
|
|
|
}
|
|
|
|
/*,
|
2015-05-16 05:02:58 +00:00
|
|
|
"standard" : {
|
2015-07-23 05:08:08 +00:00
|
|
|
// any menu 'pause' will display this, pause for a key, then erase and move on
|
2015-05-16 05:02:58 +00:00
|
|
|
"pause" : {
|
|
|
|
"art" : "pause"
|
2015-07-23 05:08:08 +00:00
|
|
|
// :TODO: support mci mappings
|
2015-05-16 05:02:58 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"custom" : {
|
2015-05-01 04:29:24 +00:00
|
|
|
|
2015-07-24 04:23:44 +00:00
|
|
|
}*/
|
2015-05-16 05:02:58 +00:00
|
|
|
/*
|
|
|
|
see notes in menu_module.js also
|
|
|
|
...how to allow for this to come from the theme first???
|
|
|
|
same as custom vc drawing/etc.? ...
|
2015-05-01 04:29:24 +00:00
|
|
|
|
2015-05-16 05:02:58 +00:00
|
|
|
{
|
|
|
|
"theme" : {
|
|
|
|
"inlineArt" : {
|
|
|
|
"something" : "%MC and |01Pipe codes here"
|
|
|
|
}
|
2015-05-01 04:29:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-05-16 05:02:58 +00:00
|
|
|
"pause" : {
|
|
|
|
"art" : "@inline:simplePrompt",
|
|
|
|
// support pipe codes & MCI
|
|
|
|
"simplePrompt" : "--------/ Pause /----------------",
|
|
|
|
"mci" : {
|
2015-05-01 04:29:24 +00:00
|
|
|
|
2015-05-16 05:02:58 +00:00
|
|
|
}
|
2015-05-01 04:29:24 +00:00
|
|
|
}
|
2015-05-16 05:02:58 +00:00
|
|
|
*/
|
2015-04-24 05:00:48 +00:00
|
|
|
}
|
2016-08-04 02:59:10 +00:00
|
|
|
}
|