Skip to content

Update satisfactory trigger to use intermediate value#403

Open
adamsong wants to merge 1 commit into
ArchipelagoMW:mainfrom
adamsong:fix-satisfactory-triggers
Open

Update satisfactory trigger to use intermediate value#403
adamsong wants to merge 1 commit into
ArchipelagoMW:mainfrom
adamsong:fix-satisfactory-triggers

Conversation

@adamsong
Copy link
Copy Markdown

@adamsong adamsong commented May 3, 2026

When Archipelago runs get_choice it will check if there is a randomization, and roll it. When one of the goal triggers was setting goal_selection it was setting it to an array, which if there was another goal triggers, would be randomly pulled from. Adding the dummy option of goal_selection_for_trigger allowed setting a weighted value that the triggers can act on to write to goal_selection and allow setting it to an array without that array being randomized.

I tested this, and all 4 possible goal options show up as the correct goal in the spoiler log, and successfully generate.

@Jarno458
Copy link
Copy Markdown
Contributor

Jarno458 commented May 3, 2026

I approve this, i did try the yaml triggers, and they seem to work fine now

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.

2 participants