about summary refs log tree commit diff stats
path: root/apworld/regions.py
Commit message (Collapse)AuthorAgeFilesLines
* [Apworld] Some access checking optimizationsStar Rauchenberger12 hours1-6/+22
| | | | | | | | | | | | | | | | | | | | | | Letter requirements in OR logic (which is the main thing OR logic is used for) is simplified now. Any requirement within the OR logic that is redundant with the top level requirement now has the redundant letters removed. If a clause in a disjunction becomes empty due to this, the disjunction can be removed. Additionally, if all of the clauses in a disjunction are identical, then they can be merged into the top level requirement. I manually verified that every requirement that is affected by this simplification looks correct. Region objects are also now used in access checking instead of looking up the regions by name during access checking. This is a little faster for access checks that involve a lot of rooms, such as the Maze Gravestone. Finally, locations no longer check for access to the region the location is in, and connections no longer check for access to the source region, because these are both implied by how the graph works.
* Added option for Daedalus roof access logicStar Rauchenberger9 days1-0/+3
|
* Set apworld victory conditionStar Rauchenberger2025-08-271-2/+16
|
* Maps have display names nowStar Rauchenberger2025-08-201-1/+1
| | | | Also added endings to the apworld.
* Fixed some issues with door logicStar Rauchenberger2025-08-141-3/+3
| | | | | | If a door is shuffled, the door's item should be used in connections and in requirements specified by panels, ports, paintings, and other doors. However, the original requirements still need to be used for locations.
* Items and connections in the apworldStar Rauchenberger2025-08-121-2/+51
|
* Assign AP IDs to doors and panels protoStar Rauchenberger2025-08-071-1/+2
|
* Started apworldStar Rauchenberger2025-08-071-0/+28
vcpkg's libprotobuf is older than what PIP has, but neither are completely up to date either. Ugh. Doors have a room now because that's where the location will go.