Add airlocks

This commit is contained in:
2021-05-02 21:09:25 +02:00
parent 9cdd3a9629
commit f336d7e3f6
27 changed files with 522 additions and 219 deletions
+2
View File
@@ -10,6 +10,7 @@ import Dodge.SoundLogic
import Dodge.Creature.Property
import Geometry
import Picture
import qualified DoubleStack as DS
import Data.List
import Data.Maybe
@@ -85,6 +86,7 @@ autoDoorPane (trigx,trigy) n closedPos openPos = Door
, _wlSeen = False
, _wlIsSeeThrough = False
, _doorPathable = True
, _drPositions = DS.singleton closedPos
}
where
a = closedPos !! 0