Refactor floor items, removing ids (not fully checked)
This commit is contained in:
@@ -64,7 +64,7 @@ getCommand w tm = \case
|
||||
TCSensorInfo -> sensorCommand w tm
|
||||
|
||||
damageCodeCommand :: World -> Terminal -> PTE.TrieMap Char (PTE.TrieMap Char [TerminalLine])
|
||||
damageCodeCommand w tm
|
||||
damageCodeCommand w _
|
||||
= PTE.singleton "DAMAGECODE" $ PTE.fromList $ mapMaybe f [minBound ..]
|
||||
where
|
||||
f :: SensorType -> Maybe (String, [TerminalLine])
|
||||
|
||||
Reference in New Issue
Block a user