moo.sdk.escape.check_room_connectivity
- moo.sdk.escape.check_room_connectivity(room)
Report whether a room is a potential trap.
A build-completion guard: flags a room with no way out, and any exit whose destination has no exit leading back (a one-way trip).
- Parameters:
room – the room Object to check
- Returns:
{"has_exit": bool, "one_way_exits": [names], "issues": [str]}