Make chasms remove RoomPos within their boundaries
This commit is contained in:
@@ -77,7 +77,7 @@ glassSwitchBack = do
|
||||
l2 <-
|
||||
mntLightLnkCond $
|
||||
rprBool $ \rp _ ->
|
||||
rp ^. rpLinkStatus . rplsType . at (OnEdge West) == Just ()
|
||||
rp ^. rpType . rplsType . at (OnEdge West) == Just ()
|
||||
&& null (rp ^. rpPlacementUse)
|
||||
let hf = hgt / 5
|
||||
awindow h xl xr = windowLine (V2 xl h) (V2 xr h)
|
||||
@@ -207,7 +207,7 @@ weaponBetweenPillars = do
|
||||
and
|
||||
[ rpIsOnGrid rp
|
||||
, null $ _rpPlacementUse rp
|
||||
, _rpLinkStatus rp == NotLink
|
||||
, notLink (_rpType rp)
|
||||
, any ((< 100) . dist (_rpPos rp)) (usedRoomInLinkPoss r)
|
||||
]
|
||||
ncrits <- state $ randomR (1, 3)
|
||||
|
||||
Reference in New Issue
Block a user