Add unsafe blink gun
This commit is contained in:
@@ -104,18 +104,17 @@ blinkGun = defaultGun
|
||||
, _reloadTime = 20
|
||||
}
|
||||
, _itUse = defaultlUse
|
||||
& lUse .~ hammerCheckL (shootL aSelfL)
|
||||
& lUse .~ hammerCheckL (shootL $ const blinkAction)
|
||||
& useHammer .~ upHammer
|
||||
& eqSite .~ GoesOnWrist
|
||||
-- , _itFloorPict = const . noPic . colorSH chartreuse $ upperPrismPoly 2 $ square 2
|
||||
}
|
||||
|
||||
|
||||
aSelf :: Creature -> World -> World
|
||||
aSelf = blinkAction
|
||||
|
||||
aSelfL :: Item -> Creature -> World -> World
|
||||
aSelfL _ = blinkAction
|
||||
unsafeBlinkGun :: Item
|
||||
unsafeBlinkGun = blinkGun
|
||||
& itName .~ "BLINKER-UNSAFE"
|
||||
& itType .~ BLINKERUNSAFE
|
||||
& itUse . lUse .~ hammerCheckL (shootL $ const unsafeBlinkAction)
|
||||
|
||||
effectGun :: String -> (Creature -> World -> World) -> Item
|
||||
effectGun name eff = defaultGun
|
||||
|
||||
Reference in New Issue
Block a user