Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: option to supply text getter #18

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

tildejustin
Copy link
Contributor

@tildejustin tildejustin commented Jan 14, 2025

attempted implementation of #16, it works for extra options but idk

tildejustin added a commit to tildejustin/extra-options that referenced this pull request Jan 14, 2025
Copy link
Owner

@KingContaria KingContaria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, if there is ever any need for a mod to have its own translation key instead of "speedrunapi.config.modid.option.name.value" a Text#value() can probably also be added, same with Name#getter() or Description#getter() if mods ever need to get fancy with that but I don't see any usecase for now

@KingContaria KingContaria merged commit 841ccd0 into KingContaria:master Jan 24, 2025
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