Move towards allowing equipable targeting items

This commit is contained in:
2023-01-06 11:01:32 +00:00
parent bf479ca080
commit 612ee85579
23 changed files with 152 additions and 145 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ data ItemUse
, _heldAim :: AimParams
, _heldScroll :: HeldScroll
, _heldConsumption :: HeldConsumption
, _heldTargeting :: Targeting
, _useTargeting :: Maybe TargetType
}
| LeftUse
{ _leftUse :: Luse
@@ -49,7 +49,7 @@ data ItemUse
}
| EquipUse
{ _equipEffect :: EquipEffect
, _equipTargeting :: Targeting
, _useTargeting :: Maybe TargetType
}
| CraftUse
{_useAmount :: ItAmount}