Closed hnejfnvjojgrogjwm closed 1 year ago
In beta 76.
barrier_cupboard_door : block_path {
from = hallway
to = cupboard
message = The door to the cupboard is closed.
bidirectional = true
block_when_not = is_door_open
}
Right now if I want to block a way in both directions, I have to type two barriers like this:
I think it will be easier if we can type something like this:
This type of code (block one path, but in both directions) is necessary when the player can be in both sides of the door (through another path) but the door must block both directions.