Ziktofel / Archipelago

Archipelago Multi-Game Randomizer and Server
https://archipelago.gg
Other
0 stars 6 forks source link

SC2: Generator for raceswap mission variants #225

Closed EnvyDragon closed 17 hours ago

EnvyDragon commented 3 days ago

What is this fixing or adding?

Adding functionality to shuffle in race-swapped map variants if user opts in; that is, if a yaml has Wings of Liberty missions enabled but Terran missions disabled, they can still get (for example) the Zerg and Protoss versions of Smash and Grab shuffled into their mission order.

Currently the only options are disabled and shuffle_all; eventually I plan to add an option that will randomly pick just one of the available variants, but that will require some extra work.

Mission variants added here:

How was this tested?

Maps were tested by playing them a few times to ensure they were beatable; generation was tested by generating a bunch of mission orders with the maps either enabled or disabled to ensure behavior was as expected

EnvyDragon commented 3 days ago

Draft PR because vanilla and vanilla_shuffled mission orders are consistently failing to generate, even if swaps are disabled (ie. nothing should be different)

EDIT: Fixed!