Cleanup
This commit is contained in:
@@ -71,7 +71,7 @@ addWarningTerminal outplid = (rmName .++~ "warningTerm-")
|
||||
termMessages trid = ops trid (genTermMessage $ const ["OPEN DOOR?"])
|
||||
-- <&> termFutureLines %~ (++ [TerminalLineChoice 0 (ops trid)])
|
||||
ops trid f gw w = f gw w & termFutureLines %~
|
||||
(++ [ TerminalLineInput 0 [quitCommand,helpCommand,infoCommand theinfo,commandsCommand,unlockCommand trid]])
|
||||
(++ [ TerminalLineInput 0 [unlockCommand trid] [quitCommand,helpCommand,infoCommand theinfo,commandsCommand]])
|
||||
unlockCommand trid = singleCommand "OPEN" ["YES","Y"] "OPEN THE CONNECTED DOOR." (toggledoor trid)
|
||||
-- (++ [ TerminalLineChoice 0 [ ("TOGGLE", toggledoor trid)
|
||||
-- , ("EXIT", id)
|
||||
|
||||
Reference in New Issue
Block a user