Cleanup
This commit is contained in:
@@ -14,12 +14,8 @@ import qualified IntMapHelp as IM
|
||||
|
||||
medkit :: Int -> Item
|
||||
medkit i = defaultConsumable
|
||||
{ _itUse = ConsumeUse
|
||||
{_cUse = CHeal i
|
||||
}
|
||||
, _itID = Nothing
|
||||
}
|
||||
& itType . iyBase .~ MEDKIT i
|
||||
& itUse . cUse .~ CHeal i
|
||||
& itType . iyBase .~ Consumable (MEDKIT i)
|
||||
|
||||
heal25 :: Int -> World -> Maybe World
|
||||
heal25 = heal 25
|
||||
|
||||
Reference in New Issue
Block a user