mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-25 01:23:25 -07:00
Update docs/world api.md
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user