Skip to content

Conversation

@robotzurg
Copy link
Contributor

@robotzurg robotzurg commented Aug 17, 2025

The options menu is getting way too big and messy, this re-organizes it into more tabs, so that more options can be added and its less overwhelming and more organized. Also adds preview (non-functioning) options for the upcoming preview and order disable options being added in stephs bigger refactor of stuff later.

image image image image

The options menu is getting way too big and messy, this re-organizes it into more tabs, so that more options can be added and its less overwhelming and more organized. Also adds preview (non-functioning) options for the upcoming preview and order disable options being added in stephs bigger refactor of stuff later.
Copy link
Member

@stephenkirk stephenkirk left a comment

Choose a reason for hiding this comment

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

Good job with this! I've yet to run it but code overall looks solid

Comment on lines +4 to +6
local function send_lobby_options(value)
MP.ACTIONS.lobby_options()
end
Copy link
Member

Choose a reason for hiding this comment

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

Note to self to find a better abstraction for this so we don't need to duplicate it

Comment on lines 1 to 3
local Disableable_Toggle = MP.UI.Disableable_Toggle
local Disableable_Button = MP.UI.Disableable_Button

Copy link
Member

Choose a reason for hiding this comment

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

Nit: just inline this

Comment on lines 295 to 300
k_opts_gm = "Gamemode Modifiers",
k_opts_gen = "General",
k_opts_game = "Gameplay",
k_opts_gm = "Modifiers",
k_opts_adv = "Advanced",
Copy link
Member

Choose a reason for hiding this comment

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

realize you're inheriting this but think k_lobby prefix would better distinguish visual tabs from actual options (like k_lobby_gameplay)

also: strong pref for avoiding abbrevs unless truly necessary - just write general, gameplay, modifiers etc. bytes are cheap and clarity > brevity for anything that isn't extremely unwieldy

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea, will change

colour = G.C.BOOSTER,
tabs = {
{
label = localize("k_lobby_options"),
Copy link
Member

Choose a reason for hiding this comment

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

Is this still used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

k_lobby_options isn't used anymore, it can probably be removed from the localization files. Not sure if I can just remove that though without breaking other stuff

Changed the localization tags, and also removed some unnecessary lines
@stephenkirk stephenkirk merged commit 03fc133 into Balatro-Multiplayer:main Aug 17, 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