From de1712e104823cd5f1389ca3388ec408f685e933 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 9 Jul 2016 23:08:33 -0600 Subject: [PATCH] BBS list contributed by Apam! --- mods/menu.hjson | 107 +++++++++++++++++++ mods/themes/luciano_blocktronics/BBSADD.ANS | Bin 0 -> 2112 bytes mods/themes/luciano_blocktronics/BBSLIST.ANS | Bin 0 -> 2392 bytes mods/themes/luciano_blocktronics/theme.hjson | 37 +++++++ 4 files changed, 144 insertions(+) create mode 100644 mods/themes/luciano_blocktronics/BBSADD.ANS create mode 100644 mods/themes/luciano_blocktronics/BBSLIST.ANS diff --git a/mods/menu.hjson b/mods/menu.hjson index 1ed12a98..858cd1f2 100644 --- a/mods/menu.hjson +++ b/mods/menu.hjson @@ -739,6 +739,10 @@ value: { command: "CHAT"} action: @menu:ercClient } + { + value: { command: "BBS"} + action: @menu:bbsList + } { value: 1 action: @menu:mainMenu @@ -1140,6 +1144,109 @@ } } + bbsList: { + desc: Viewing BBS List + module: bbs_list + options: { + cls: true + } + config: { + art: { + entries: BBSLIST + add: BBSADD + } + } + + form: { + 0: { + mci: { + VM1: { maxLength: 32 } + TL2: { maxLength: 32 } + TL3: { maxLength: 32 } + TL4: { maxLength: 32 } + TL5: { maxLength: 32 } + TL6: { maxLength: 32 } + TL7: { maxLength: 32 } + TL8: { maxLength: 32 } + TL9: { maxLength: 32 } + } + actionKeys: [ + { + keys: [ "a" ] + action: @method:addBBS + } + { + // :TODO: add delete key + keys: [ "d" ] + action: @method:deleteBBS + } + { + keys: [ "q", "escape" ] + action: @method:quitBBSList + } + ] + } + 1: { + mci: { + ET1: { + argName: name + maxLength: 32 + validate: @systemMethod:validateNonEmpty + } + ET2: { + argName: sysop + maxLength: 32 + validate: @systemMethod:validateNonEmpty + } + ET3: { + argName: telnet + maxLength: 32 + validate: @systemMethod:validateNonEmpty + } + ET4: { + argName: www + maxLength: 32 + } + ET5: { + argName: location + maxLength: 32 + } + ET6: { + argName: software + maxLength: 32 + } + ET7: { + argName: notes + maxLength: 32 + } + TM17: { + argName: submission + items: [ "save", "cancel" ] + submit: true + } + } + actionKeys: [ + { + keys: [ "escape" ] + action: @method:cancelSubmit + } + ] + submit: { + *: [ + { + value: { "submission" : 0 } + action: @method:submitBBS + } + { + value: { "submission" : 1 } + action: @method:cancelSubmit + } + ] + } + } + } + } + /////////////////////////////////////////////////////////////////////// // Doors Menu /////////////////////////////////////////////////////////////////////// diff --git a/mods/themes/luciano_blocktronics/BBSADD.ANS b/mods/themes/luciano_blocktronics/BBSADD.ANS new file mode 100644 index 0000000000000000000000000000000000000000..f341f486907a3a0ee288900adbfe8584d3b705fd GIT binary patch literal 2112 zcmb_d!D<^Z5Oq!kUwdkO(WQ6oYQ3Apr__W}XrYj_7oVKqLLstCZ3z9Xd`&^y=vVsQ z%xG=mPE$@MNXImr+_7?G1YD(s^;%@pu3BT#oGrlh1(K!ui; zR$u|SBSOBAJNbNM(j*s1tV;5bk+>DQBnF>*CzM#shgQac_Oy7D)fK4&OmQW35C9d< z3y0eu1{jQ)uwxiI8?;Ogf095y zcJxgOukZ)*l?6pr0_l7V*;({Wsx5j6F1SurT32WSSY(cjK!(_08Eg5)9Ia&?ioTRg zRx{LIZH0Coxjm^-Shd>t+mt*emoS!%kDMC}h6pw$+f&+{2fcJYa~QbKaQ>d5lBQ=C zu+f&$S{RapQ>Cvn``m1ijdB#~?rD<2&ofLHsmufC&%T%pKkQuX301jZBLDytO|>CF zH0}$QJ2W=U^W}N7`9h6+>9tT|o-PZR_@G$-9#piW$@VbSU%1;ar`)27cMh8P=4R{G z%eX2a=M?SUTwYf|jeO(yW5zg!a5gox9Hx}I3-imh$_TFu7m%DG9^-;jo z0;W#_wwtfJ`{j>gBU=k-iyGq~F2 uJbrz3@p*pfJ^Jr|J+-e|-}$p&FGi!2lTV{pBY9rFfBVsWd3T{-!~Z`8Jho>5 literal 0 HcmV?d00001 diff --git a/mods/themes/luciano_blocktronics/BBSLIST.ANS b/mods/themes/luciano_blocktronics/BBSLIST.ANS new file mode 100644 index 0000000000000000000000000000000000000000..ec2974e905ea067a18bcb8580a01f300cd981141 GIT binary patch literal 2392 zcmb_eO>fgc5KV6=S56QKeCZj-aqNDaid7*bDj^km$tfj9s??2X6R7&Hs{S2Y^z9~|IsX&7XI?`ay6Pw62=78<=mA}WspZu zaMAvkPl;@`0#2Gz07~3>op?Z8(=VV__p9nhz+xy4SQC$h)#4Znf!X&F1h6izm*sjF zA@vAY|BXP7gmG711_0%2dFBjd>VdFs0nsjyb6tI#udk|QzzAt%-WF@m7Mp`$xvIXe z@8-81nZYvmmRPqe)7UJ#LR9M#g|SKm;{$Jub;~$Vm$`DezP*pCyJdMBjD4MfF;U)! z9t3LuY0*V3nrMptgM?yGL_0yUPC>U4FU?(pvov=6P04ZWXu}>%xQ7Oi;E64YL#U!J zrAM7{Ry6$7Bt&C$Y0kF7pzgtjAk^ihg(^rYun-t$aG-n>95zGVdEOPC z#iAUQJN9YfNJyHAN+uT!#6s3lVr1(fa|Ey^$O~AaL+4Em8To}9-~OWakVQ(|o43G6 zv5vGeUx{W&X&?Chwqc6@RucbP%2i zSOAd5pl0$MV1LzrzE}_llo@08m^WOs_VHjhkdXP~V+d?J5v$xLOwW+-p0MlNLN+3M zj{$wP<9kyI-z3{b!W%UU4iWIdQI47|p38nwUL!v10z3fmW4!>`;ztoNv3gnH#wezc zxrc{Ptey^T)C(3WQe_a}Pj4FAKn?7HVvm`G@DKB}2wf6@anrN429oa%Ng&(k90-C& zAPiqLU=-K=(Ztz>0Y;}3B{U5WP1Zb=LRR3Clf)(}|1-kzh_4;KK0o