Skip to content

Hide C-Side/Golden postcard if LevelSet has no C-Sides#378

Merged
0x0ade merged 1 commit into
EverestAPI:devfrom
coloursofnoise:hide-csidepostcard
Sep 28, 2021
Merged

Hide C-Side/Golden postcard if LevelSet has no C-Sides#378
0x0ade merged 1 commit into
EverestAPI:devfrom
coloursofnoise:hide-csidepostcard

Conversation

@coloursofnoise
Copy link
Copy Markdown
Member

Relatively simple hack to only show the C-Side Unlock Postcard if the level set has a C-Side.

Adds a public LevelSetStats.MaxAreaMode property that returns an int representation of the highest available AreaMode for the current level set.
Returning an int makes for a slightly simpler IL patch, and hopefully promotes compatibility with some future integration of the AltSidesHelper mod into Everest. This can easily be changed to return an AreaMode if desired.

@0x0ade 0x0ade merged commit 46b63e2 into EverestAPI:dev Sep 28, 2021
@coloursofnoise coloursofnoise deleted the hide-csidepostcard branch March 5, 2023 22:33
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.

C-Side + Goldenberry postcard should have a toggle or automatically be disabled if the map pack does not contain C sides

2 participants