Skip to content

Fix for place_item and local item not being done at the right time during gen - #215

Open
nicopop wants to merge 9 commits into
mainfrom
place_item-in-create_items
Open

Fix for place_item and local item not being done at the right time during gen#215
nicopop wants to merge 9 commits into
mainfrom
place_item-in-create_items

Conversation

@nicopop

@nicopop nicopop commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

This PR fixes multiple things that AP's Unit tests says we are to late in generation

  • placement of locked items should be done at the latest in create_items
  • item being local (or not) should be decided at the latest in generate_early

Moving the item placement made the after_generate_basic hook useless so I removed it
and added a before_create_items_place_items instead

To make sure we catch everything like this in the future I added test location and items that each test a property we hadn't tested before

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants