diff --git a/docs/world api.md b/docs/world api.md index 77b99e47c4..2b9e38fe67 100644 --- a/docs/world api.md +++ b/docs/world api.md @@ -306,6 +306,7 @@ An access rule is a function that returns `True` or `False` for a `Location` or The two possible ways to make a CollectionRule are: - `def rule(state: CollectionState) -> bool:` - `lambda state: ... boolean expression ...` + An access rule can be assigned through `set_rule(location, rule)`. Access rules usually check for one of two things.