Remove (by commenting out) module item-type system

This commit is contained in:
2024-09-30 11:42:10 +01:00
parent 4545caa7e6
commit 0701c4043e
37 changed files with 877 additions and 696 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ itemUseEffect cr it w = case it ^. ldtValue . itUse of
TargetingUse {} -> w
AmmoMagUse{} -> w
ScopeUse{} -> w
BulletTrajectoryUse{} -> w
BulletModUse{} -> w
where
itm = it ^. ldtValue
doequipmentchange = fromMaybe w $ do
+2 -1
View File
@@ -9,6 +9,7 @@ module Dodge.Creature.Picture (
deadFeet,
) where
import Dodge.Item.Grammar
import Shape
import Control.Lens
import Dodge.Creature.HandPos (translateToLeftHand, translateToRightHand)
@@ -172,4 +173,4 @@ shoulderSH = translateSHz 20
drawEquipment :: Creature -> SPic
{-# INLINE drawEquipment #-}
drawEquipment cr = foldMap (itemEquipPict cr) (_crInv cr)
drawEquipment cr = foldMap (itemEquipPict cr) (invLDT $ _crInv cr)