aboutsummaryrefslogtreecommitdiff
path: root/internal/validate/checks.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-10-05 17:05:14 -0400
committerhistoria <[not public]>2026-10-05 17:05:14 -0400
commite42952469dadfb3535633c66c881050ac128703c (patch)
treea78f7396b72cdbd6fa4f6c454c830f40cf2ad0cb /internal/validate/checks.go
parent90ad8c0c33b519d5830c69d4128bdc984b5e9de8 (diff)
downloadthehouseoficarus-e42952469dadfb3535633c66c881050ac128703c.tar.gz
fix: gather verbs, walk oom, admin path bypass, roulette refund
Diffstat (limited to 'internal/validate/checks.go')
-rw-r--r--internal/validate/checks.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/validate/checks.go b/internal/validate/checks.go
index 6341108..82f746f 100644
--- a/internal/validate/checks.go
+++ b/internal/validate/checks.go
@@ -95,6 +95,11 @@ func validateRooms(s Source) []Issue {
})
}
}
+ if exit.Condition != nil {
+ issues = append(issues, validateCondition(
+ fmt.Sprintf("Room %d: exit %q condition", id, dir),
+ exit.Condition, roomIndex, itemIDs)...)
+ }
issues = append(issues, validateTriggerBlock(
fmt.Sprintf("Room %d: exit %q on_traverse", id, dir),
exit.OnTraverse, itemIDs, roomIndex, mobIDs, dropIDs)...)