Start to add basic gibbing
This commit is contained in:
@@ -118,6 +118,13 @@ unsafeBlinkGun = blinkGun
|
||||
|
||||
effectGun :: String -> (Creature -> World -> World) -> Item
|
||||
effectGun name eff = defaultGun
|
||||
{ _itName = name ++ "Gun"
|
||||
, _itUse = defaultrUse
|
||||
& rUse .~ const eff
|
||||
& useMods .~ [hammerCheckI]
|
||||
}
|
||||
effectGunCont :: String -> (Creature -> World -> World) -> Item
|
||||
effectGunCont name eff = defaultGun
|
||||
{ _itName = name ++ "Gun"
|
||||
, _itUse = defaultrUse {_rUse = const eff}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user