Stop weapon fire after using up consumables
This commit is contained in:
@@ -74,14 +74,16 @@ lightSensByDoor outplid rm = rm
|
||||
|
||||
healthAnalyserByDoor :: Int -> Room -> Room
|
||||
healthAnalyserByDoor = analyserByDoor
|
||||
[ replicate 20 '-'
|
||||
, "HEALTH INTEGRITY CHECK"
|
||||
, replicate 20 '-'
|
||||
]
|
||||
[ bar
|
||||
, hic
|
||||
, bar ]
|
||||
"PASSED"
|
||||
"REQUIRES HEALTH AT LEAST 1100"
|
||||
(replicate 3 "")
|
||||
"REQUIRES HEALTH 1100"
|
||||
(bar : replicate 2 "")
|
||||
(machineAddSound fridgeHumS $ testYourHealth 1100)
|
||||
where
|
||||
hic = "HEALTH INTEGRITY CHECK"
|
||||
bar = replicate (length hic) '-'
|
||||
|
||||
analyserByDoor :: [String] -> String -> String -> [String]
|
||||
-> (Machine -> World -> World) -> Int -> Room -> Room
|
||||
|
||||
Reference in New Issue
Block a user