description, but instead be objects with a
descand add a
visible(modifier) objects? Then paths would just be objects. Add
nodescmodifier and you're all set for having it act like normal.
pathsarray would then hold directions -> objects, and you'd get automatic ensurance of locked doors staying locked and the player not being able to bypass them by doing a different command. Should be simpler. Then
pathin the object gives the room.
modifiers seem more composable...
yaml locked: key: to: unlockedunder the consume state transformation listing
format-friendly strings, and proper state changing