Increase default mounted lamp range
This commit is contained in:
@@ -54,8 +54,8 @@ roomRect x y xn yn =
|
||||
, --, _rmPos = map (roomposat (RoomPosOnPath S.empty)) posps
|
||||
-- ++ map (roomposat (RoomPosOffPath S.empty)) interposps
|
||||
_rmPos =
|
||||
map makeonpos posps'
|
||||
++ map makeoffpos interposps'
|
||||
map makeonpos posps
|
||||
++ map makeoffpos interposps
|
||||
, _rmPmnts = []
|
||||
, _rmBound = [rectNSWE (y + 5) (-5) (-5) (x + 5)]
|
||||
, _rmFloor =
|
||||
@@ -105,8 +105,8 @@ roomRect x y xn yn =
|
||||
, PathFromEdge East (xn - a)
|
||||
, PathFromEdge West a
|
||||
]
|
||||
posps' = map (over _1 (+.+ V2 20 20)) $ gridPoints'' xd (xn + 1) yd (yn + 1)
|
||||
interposps' = map (over _1 (+.+ V2 (20 + xd / 2) (20 + yd / 2))) $ gridPoints'' xd xn yd yn
|
||||
posps = map (over _1 (+.+ V2 20 20)) $ gridPoints'' xd (xn + 1) yd (yn + 1)
|
||||
interposps = map (over _1 (+.+ V2 (20 + xd / 2) (20 + yd / 2))) $ gridPoints'' xd xn yd yn
|
||||
makeoffpos (p, a) = RoomPos
|
||||
p 0 (S.singleton $ RoomPosOffPath $ makerpedges' a) NotLink mempty
|
||||
makerpedges' (a, b) =
|
||||
|
||||
Reference in New Issue
Block a user