test1 current_room$=inn (expect inn)
test2 current_room$=stairway_1 (expect stairway_1)
test3 current_room$=stairway_1 (expect stairway_1, unchanged)
test4a inn_entered logged= 1  (expect true -- inn has no EVENT_DEF, log-only)
test4b pending after log-only entered event, size= 0  (expect 0)
test4c gnoll_den_entered logged= 1  (expect true)
test4d pending after gnoll_den_entered (has an EVENT_DEF), size= 1  (expect 1)
test5a pit_ok?= 1  current_room$=middle_dungeon (expect true, middle_dungeon)
test5b teleport_ok?= 1  current_room$=treasure_vault (expect true, treasure_vault)
test6a key_check1?= 0  (expect false -- no key yet)
test6b key_check2?= 1  (expect true -- key now held)
test6c brass_key after check= 1  (expect 1 -- require_item never consumes)
test7a cost_ok1?= 1  (expect true -- 100 on hand, 40 needed)
test7b gold after cost= 60  (expect 60)
test7c cost_ok2?= 0  (expect false -- unaffordable)
test7d gold after rejected cost= 60  (expect 60, untouched)
test8 fight_ok?= 1  (expect true -- Fight has no gates, just effects)
test9 locked_ok?= 0  current_room$=stairway_1 (expect false, stairway_1 unchanged)
test10a safe_ok1?= 0  (expect false -- no combination yet)
test10b safe_ok2?= 1  (expect true -- combination now held)
test10c gold after Open Safe= 150  (expect 150)
test10d safe_combination after Open Safe= 1  (expect 1 -- require_item never consumes)
PASS: dungeon engine navigation/interpreter mechanism verified against the full fixture
