Defunction-ify item modules, requires more cleanup

This commit is contained in:
2022-06-08 12:28:11 +01:00
parent d91a53f76c
commit bcbfd7d2fa
48 changed files with 762 additions and 740 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ roomsContaining crs its = do
]
return (treeFromPost [] $ UseAll endroom
,TreeSubLabelling ("roomsContaining-creatures:" ++ intercalate "," (map _crName crs)
++ "-items:" ++ intercalate "," (map _itName its)) Nothing)
++ "-items:" ++ intercalate "," (map (show . _iyBase . _itType) its)) Nothing)
pedestalRoom :: RandomGen g => Item -> State g Room
pedestalRoom it = do