Allow to log position of placement spot
This commit is contained in:
@@ -201,7 +201,7 @@ weaponBetweenPillars = do
|
||||
let wpPos = rprBool $ \rp r ->
|
||||
and
|
||||
[ rpIsOnPath rp
|
||||
, _rpPlacementUse rp == 0
|
||||
, null $ _rpPlacementUse rp
|
||||
, _rpLinkStatus rp == NotLink
|
||||
, any ((< 100) . dist (_rpPos rp)) (usedRoomInLinkPoss r)
|
||||
]
|
||||
@@ -211,7 +211,7 @@ weaponBetweenPillars = do
|
||||
randDirPS $
|
||||
rprBool $ \rp r ->
|
||||
rpIsOnPath rp
|
||||
&& _rpPlacementUse rp == 0
|
||||
&& null (_rpPlacementUse rp)
|
||||
&& all ((> 100) . dist (_rpPos rp)) (usedRoomLinkPoss r)
|
||||
( roomPillars 30 w h wn hn
|
||||
<&> rmPmnts .++~ map (`sps` randC1) critPlacementSpots ++ [sps wpPos (PutFlIt wp)]
|
||||
@@ -329,7 +329,7 @@ pistolerRoom = do
|
||||
.++~ replicate
|
||||
3
|
||||
( psPtPl
|
||||
(rprBool $ \rp _ -> _rpPlacementUse rp == 0 && rpIsOnPath rp)
|
||||
(rprBool $ \rp _ -> null (_rpPlacementUse rp) && rpIsOnPath rp)
|
||||
(PutCrit chaseCrit)
|
||||
)
|
||||
|
||||
@@ -369,7 +369,7 @@ spawnerRoom = do
|
||||
roomC x y <&> rmPmnts
|
||||
.:~ psPtPl
|
||||
( rprBool $ \rp _ ->
|
||||
_rpPlacementUse rp == 0 && rpIsOnPath rp
|
||||
null (_rpPlacementUse rp) && rpIsOnPath rp
|
||||
&& xV2 (_rpPos rp) < x / 2
|
||||
&& yV2 (_rpPos rp) < y / 2
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user