Implement different door speeds
This commit is contained in:
@@ -132,19 +132,17 @@ addButtonSlowDoor x h rm = do
|
||||
.++~ [MountedLS (fromJust $ _plMID plls), MountedProp (fromJust $ _plMID plpr)]
|
||||
-- TODO make the height of this light source and of other mounted lights
|
||||
-- be taken from a single consistent source
|
||||
--thewall = switchWallCol red
|
||||
thewall = defaultDoorWall
|
||||
butDoor = putLitButOnPos
|
||||
col
|
||||
(rprBool (isUnusedLnkType InLink))
|
||||
$ \btplmnt -> Just $
|
||||
putDoubleDoorThen
|
||||
thewall
|
||||
defaultDoorWall
|
||||
(WdBlBtOn $ fromJust $ _plMID btplmnt)
|
||||
30
|
||||
(V2 0 h)
|
||||
(V2 x h)
|
||||
2
|
||||
0.5
|
||||
$ \dr1 dr2 ->
|
||||
amountedlight dr1 50 $
|
||||
amountedlight dr1 (-50) $
|
||||
|
||||
Reference in New Issue
Block a user