I have the same problem in case I change the boolean value of the barrier:
> test
>(key press)
>(key press)
start_at = loc1
redescribe = auto_beta
booleans {
is_001 : boolean;
}
locations {
loc1 : location "You are in room 1." {
on_command {
: match "test -" {
: set_true "is_001" ;
: clear_screen;
: print "Welcome!" ;
: press_any_key ;
: redescribe ;
}
}
};
loc2 : location "You are in room 2." ;
}
connections {
from, direction, to = [
loc1, north, loc2,
]
} barriers {
barrier_01 : block_path {
from = loc1
to = loc2
block_when = is_001
message = The path is blocked.
}
}