Commit before attempting to allow for non-convex chasm shapes
This commit is contained in:
@@ -78,7 +78,7 @@ invItemLocUpdate cr loc w = doAnyEquipmentEffect loc cr $ case itm ^. itType of
|
||||
HELD MACHINEPISTOL{} -> coolMachinePistol cr itm w
|
||||
LASER | loc ^. locDT . dtValue . _2 == WeaponTargetingSF
|
||||
, itm ^? itLocation . ilIsAttached == Just True -> shineTargetLaser cr loc w
|
||||
HELD TORCH
|
||||
HELD LED
|
||||
| itm ^? itLocation . ilIsAttached == Just True -> shineTorch cr loc w
|
||||
TARGETING tt
|
||||
| itm ^? itLocation . ilIsAttached == Just True -> updateItemTargeting tt cr itm w
|
||||
|
||||
@@ -114,7 +114,7 @@ heldItemWeight = \case
|
||||
GLAUNCHER -> 10
|
||||
POISONSPRAYER -> 10
|
||||
SHATTERGUN -> 10
|
||||
TORCH -> 5
|
||||
LED -> 5
|
||||
FLATSHIELD -> 15
|
||||
KEYCARD {} -> 5
|
||||
BLINKER -> 5
|
||||
|
||||
@@ -227,7 +227,7 @@ heldItemBulkiness = \case
|
||||
GLAUNCHER -> 1
|
||||
POISONSPRAYER -> 1
|
||||
SHATTERGUN -> 1
|
||||
TORCH -> 1
|
||||
LED -> 1
|
||||
FLATSHIELD -> 0.5
|
||||
KEYCARD{} -> 1
|
||||
BLINKER -> 1
|
||||
|
||||
Reference in New Issue
Block a user