Skip to content

Sync AP access logic from SMBW Archipelago v0.11.6 - #22

Open
mdietz94 wants to merge 1 commit into
LuckwurstJoe:mainfrom
mdietz94:ap-logic-sync-v0.11.6
Open

Sync AP access logic from SMBW Archipelago v0.11.6#22
mdietz94 wants to merge 1 commit into
LuckwurstJoe:mainfrom
mdietz94:ap-logic-sync-v0.11.6

Conversation

@mdietz94

@mdietz94 mdietz94 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

This PR was automatically generated by the SMBW Archipelago release workflow.

Source release: https://github.com/mdietz94/smbw_ap/releases/tag/v0.11.6

What changed

The AP item/location IDs or access logic changed in release v0.11.6.
This PR regenerates the PopTracker access rules from the apworld's single source of truth
so the tracker stays in sync.

Files updated by scripts/generate_tracker_logic.py:

  • scripts/logic/smbw_generated_logic.lua — compiled region/location access rules (one Lua function per region, one dispatch entry per AP location ID)
  • items/logic_item.json — hidden toggle items for codes the AP logic references that have no declared item object in the tracker
  • locations/*.json — injected "access_rules": ["$smbw_loc|<apid>"] per section (minimal diff, original formatting preserved)
  • scripts/init.lua / scripts/items_import.lua — import hooks (patched once on first run, idempotent thereafter)

Review notes

  • Logic is compiled directly from apworld/data/{regions,locations,items}.json — the apworld is the single source of truth
  • Both standard linear and open-world slot options are covered
  • smbw_generated_logic.lua is auto-generated; hand edits will be overwritten on the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant