Skip to content

context.modify_blind_chips#1135

Closed
the-Astra wants to merge 4 commits intoSteamodded:mainfrom
the-Astra:feature/modify_blind_amt
Closed

context.modify_blind_chips#1135
the-Astra wants to merge 4 commits intoSteamodded:mainfrom
the-Astra:feature/modify_blind_amt

Conversation

@the-Astra
Copy link
Copy Markdown
Contributor

@the-Astra the-Astra commented Dec 22, 2025

This commit allows objects that trigger off contexts to change a blind's target amount and correctly shows it on the Blind UI screen (assuming the object is in the player's possession at time of UI creation). It currently calls with three attributes:

  • context.blind = table - A reference to the Blind's config table
  • context.modify_blind_chips = true - Base context boolean
  • context.blind_multiplier = float - The multiplier value the blind uses to modify from the base ante amount (i.e. 1.5 for Big Blind)
  • context.blind_chips = int - The chips value the blind holds that needs to be defeated

Returning modify = number in a calculate function's return table will set the blind's chips to the returned value. context.blind_chips is updated accordingly for subsequent triggers

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.

@the-Astra the-Astra marked this pull request as draft February 21, 2026 21:17
@the-Astra the-Astra marked this pull request as ready for review March 23, 2026 00:51
@the-Astra the-Astra changed the title Modify Blind Amount context modify_blind_chips context Mar 23, 2026
@the-Astra the-Astra changed the title modify_blind_chips context context.modify_blind_chips Mar 23, 2026
@Aurelius7309
Copy link
Copy Markdown
Member

Considering #1281, is there still a use case for this?

@the-Astra
Copy link
Copy Markdown
Contributor Author

1281 looks to do what this does but better, however something I think that is missing from it is the ability to change the size text on the select screen

@the-Astra
Copy link
Copy Markdown
Contributor Author

Closed due to the merging of #1281

@the-Astra the-Astra closed this Mar 31, 2026
@the-Astra the-Astra deleted the feature/modify_blind_amt branch April 17, 2026 01:37
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