Test of lock and key system

This commit is contained in:
2021-11-22 23:54:58 +00:00
parent 05e1307336
commit 5ab5be3087
11 changed files with 84 additions and 20 deletions
+2
View File
@@ -5,6 +5,7 @@ module Dodge.Floor
) where
import Geometry.Data
import Dodge.Data
import Dodge.LockAndKey
import Dodge.Creature.State.Data
import Dodge.Room
import Dodge.Room
@@ -35,6 +36,7 @@ import qualified Data.IntMap.Strict as IM
initialAnoTree :: RandomGen g => Tree [Annotation g]
initialAnoTree = padSucWithCorridors $ treeFromTrunk
[[AnoApplyInt 0 startRoom]
, [PassthroughLockKeyLists 2 lockRoomKeyItems itemRooms]
, [AnoApplyInt 2 room2]
, [AnoApplyInt 1 lasSensorTurretTest]
-- ,[ChainAnos