Slightly rethink display of inventories and terminals
This commit is contained in:
@@ -36,14 +36,12 @@ textTerminal = defaultTerminal{_tmBootLines = textInputBlurb []}
|
||||
|
||||
textInputBlurb :: [TerminalLine] -> [TerminalLine]
|
||||
textInputBlurb tls =
|
||||
[ termSoundLine computerBeepingS
|
||||
, TLine 0 [TerminalLineConst "LOADING TEXT INTERFACE..." termTextColor] TmWdId
|
||||
]
|
||||
[termSoundLine computerBeepingS]
|
||||
++ tls
|
||||
++ [TLine 10 [TerminalLineConst "READY FOR INPUT" termTextColor] (TmTmSetStatus (TerminalTextInput ""))]
|
||||
++ tlSetStatus (TerminalTextInput "")
|
||||
|
||||
termSoundLine :: SoundID -> TerminalLine
|
||||
termSoundLine sid = TLine 0 [] (TmWdWdTermSound sid)
|
||||
termSoundLine = TLine 0 [] . TmWdWdTermSound
|
||||
|
||||
termTextColor :: Color
|
||||
termTextColor = greyN 0.9
|
||||
|
||||
Reference in New Issue
Block a user