Skip to content

calc_dollar_bonus improvements#1244

Open
nh6574 wants to merge 4 commits intoSteamodded:mainfrom
nh6574:calcdollar
Open

calc_dollar_bonus improvements#1244
nh6574 wants to merge 4 commits intoSteamodded:mainfrom
nh6574:calcdollar

Conversation

@nh6574
Copy link
Member

@nh6574 nh6574 commented Mar 6, 2026

Adds calc_dollar_bonus for "individual" objects (by default decks, blinds, challenges, stakes and mods).

For this I added the set and key of the object to its table, which shouldn't break any functionality for any mod adding objects since it is only used if they add a calc_dollar_bonus function to it. Although it could be useful for identifying the objects in the future.

It additionally adds a second table return to the functions that allows some styling manipulation for the name.

  • text: sets the text directly
  • key, set: changes the key and set for the localization (ignored if text is set)
  • text_colour, scale

Additional Info:

  • I didn't modify api's or I've made a PR to the wiki repo.
  • I didn't modify api's or I've updated lsp definitions.
  • I didn't make new lovely files or all new lovely files have appropriate priority.

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.

1 participant