Skip to content

Showconditionset

toaster requested to merge showconditionset into next

A feature which was finished after 2.2 feature freeze but not merged, and which has major utility for both modders and future versions of the main game.

Our Unlockables checklist system is a mess as of 2.2.0. Everything is dumped out immediately to show to new players; you can use NoChecklist to hide the name of it, but if another Unlockable is directly dependent on it, the name will still be spoiled in the objective for it.

To that end, add a new UINT8, showconditionset. If this conditionset is not achieved and the unlockable has not been unlocked, then completely hide it from the list. Allows, for example, Aerial Garden to be completely hidden in the checklist until Haunted Heights is unlocked.

Also available to Extra Emblems in case their description is spoily.

srb2win_showconditionset.exe

No test SOC is available at the moment, but I can create one if necessary. It's fairly self explanatory, though..? It's KIND of a port from kart, but Kart's checklist itself was written differently, so it's mostly original code.

Edited by toaster

Merge request reports