Allow for yet more complex placement positioning
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
module Dodge.Room.Room where
|
||||
import Dodge.Data
|
||||
import Dodge.PlacementSpot
|
||||
import Dodge.RoomLink
|
||||
import Dodge.Default.Room
|
||||
import Dodge.Item.Weapon.BulletGuns
|
||||
@@ -316,8 +317,12 @@ weaponBetweenPillars = do
|
||||
d p = argV $ V2 120 120 -.- p
|
||||
plmnts =
|
||||
[sPS wpPos 0 $ RandPS randFirstWeapon
|
||||
,sPS crPos1 (d crPos1) randC1
|
||||
,sPS crPos2 (d crPos2) randC1
|
||||
, sps (unusedSpotAwayFromInLink 150) randC1
|
||||
, sps (unusedSpotAwayFromInLink 150) randC1
|
||||
, sps (unusedSpotAwayFromInLink 150) randC1
|
||||
, sps (unusedSpotAwayFromInLink 150) randC1
|
||||
--,sPS crPos1 (d crPos1) randC1
|
||||
--,sPS crPos2 (d crPos2) randC1
|
||||
]
|
||||
theRoom = roomPillars & rmPmnts %~ (++ plmnts)
|
||||
(fmap singleUseAll . randomiseOutLinks) =<< filterLinks f theRoom
|
||||
|
||||
Reference in New Issue
Block a user