Work on detecting floor items near analyser

This commit is contained in:
2025-09-08 11:37:08 +01:00
parent f278af0f30
commit 203919933c
9 changed files with 25 additions and 26 deletions
+2
View File
@@ -8,6 +8,7 @@ module Dodge.Data.Machine.Sensor (
module Dodge.Data.Machine.Sensor.Type,
) where
import Geometry.Data
import Color
import Control.Lens
import Data.Aeson
@@ -36,6 +37,7 @@ data Sensor
data ProximityRequirement
= RequireHealth {_proxReqMinHealth :: Int}
| RequireEquipment {_proxReqEquipment :: ItemType}
| RequireNoItems {_proxNoItems :: [Point2]}
deriving (Show)
--deriving (Eq, Ord, Show, Read) --Generic, Flat)