Cleanup
This commit is contained in:
@@ -19,7 +19,9 @@ itemString = head . itemDisplay
|
||||
itemBaseName :: Item -> String
|
||||
itemBaseName it = case _iyBase $ _itType it of
|
||||
CRAFT str -> show str
|
||||
HELD str -> show str
|
||||
HELD hit -> case hit ^? xNum of
|
||||
Just i -> takeWhile (/=' ') (show hit) ++ show i
|
||||
Nothing -> show hit
|
||||
x -> show x
|
||||
|
||||
itemDisplayWithNumber :: String -> Item -> [String]
|
||||
|
||||
Reference in New Issue
Block a user