about summary refs log tree commit diff stats
path: root/data/maps/the_entry/rooms/Literate Entrance.txtpb
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-12 13:20:39 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-12 13:20:39 -0400
commite187853a7cd3fbbfdf99d23a306841e63121e1d8 (patch)
tree36799a8f6b9a5e23471b3ca31808cd62687249e0 /data/maps/the_entry/rooms/Literate Entrance.txtpb
parent67b721503443274351e0729ac57cbff83d31d753 (diff)
downloadlingo2-archipelago-e187853a7cd3fbbfdf99d23a306841e63121e1d8.tar.gz
lingo2-archipelago-e187853a7cd3fbbfdf99d23a306841e63121e1d8.tar.bz2
lingo2-archipelago-e187853a7cd3fbbfdf99d23a306841e63121e1d8.zip
[Apworld] Some access checking optimizations
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.
Diffstat (limited to 'data/maps/the_entry/rooms/Literate Entrance.txtpb')
0 files changed, 0 insertions, 0 deletions
> 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279