Add support for mod credits in credit screen - #362
Open
lamali292 wants to merge 3 commits into
Open
Conversation
Contributor
Author
Removed 'MegaInput.accept' from ConfirmActions array.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add mod credits to the credits screen
Mods can now register their own sections on the in-game credits screen. A
— MODS —banner separates modded content from vanilla, each mod gets its own titled block, and
a fixed side-navigation list lets you jump straight to the top of the vanilla credits
or to any mod's section (mouse, keyboard, and controller).
Usage
Register at load time, using your mod id or any type from your assembly:
Layouts
.namesformatRolesDeveloper||Name 1\nArtist||Name 2NamesName 1\nName 2\nName 3Columns3Name 1\nName 2\nName 3Localization
All text is read from the vanilla
creditsloc table, namespaced by mod id(
<MODID>-<SECTION>.header/.names, plus<MODID>-<MODID>.titlefor the block title):{ "DOWNFALL-DOWNFALL.title": "Downfall", "DOWNFALL-TEAM.header": "Team", "DOWNFALL-TEAM.names": "Lead Developer||Name 1\nConcept & Balance||Name 2", "DOWNFALL-HELP.header": "Programming & Bug Fixes", "DOWNFALL-HELP.names": "Bug Fixes & Code Cleanup||Name 3\nBug Fixes||Name 4", "DOWNFALL-ART.header": "Art", "DOWNFALL-ART.names": "Name 5\nName 6", "DOWNFALL-LOC.header": "Localization", "DOWNFALL-LOC.names": "Language||Name 7\nLanguage||TODO\nLanguage||Name 8", "DOWNFALL-TESTER.header": "Playtester", "DOWNFALL-TESTER.names": "Name 9\nName 10\nName 11\nName 12\nName 13" }The section id (
TEAM,HELP, …) is just the loc-key stub and is independent of thevisible
.headertext, so a single-person section can still read "Developer" or"Author" on screen.
Demo
2026-07-27.12-56-22.mp4