Commit before changing module system to Map
This commit is contained in:
@@ -154,7 +154,10 @@ defaultEquipment = Item
|
||||
, _itParams = NoParams
|
||||
, _itTweaks = NoTweaks
|
||||
, _itTargeting = Nothing
|
||||
, _itModules = ItemModules BlockedModule
|
||||
, _itModules = ItemModules
|
||||
{ _modHitEffect = BlockedModule
|
||||
, _modRifleMag = BlockedModule
|
||||
}
|
||||
}
|
||||
defaultItZoom :: ItZoom
|
||||
defaultItZoom = ItZoom 20 0.2 1
|
||||
@@ -178,7 +181,10 @@ defaultConsumable = Item
|
||||
, _itParams = NoParams
|
||||
, _itDimension = defItDimCol blue
|
||||
, _itTweaks = NoTweaks
|
||||
, _itModules = ItemModules BlockedModule
|
||||
, _itModules = ItemModules
|
||||
{ _modHitEffect = BlockedModule
|
||||
, _modRifleMag = BlockedModule
|
||||
}
|
||||
}
|
||||
defaultApplyDamage :: [DamageType] -> Creature -> (World -> World, Creature)
|
||||
defaultApplyDamage ds cr = (id, doPoisonDam $ foldl' (flip $ \d c -> snd $ applyIndividualDamage d c) cr ds')
|
||||
|
||||
Reference in New Issue
Block a user