Skip to content

Modify Final Cashout#1197

Open
the-Astra wants to merge 2 commits intoSteamodded:mainfrom
the-Astra:feature/modify_final_cashout
Open

Modify Final Cashout#1197
the-Astra wants to merge 2 commits intoSteamodded:mainfrom
the-Astra:feature/modify_final_cashout

Conversation

@the-Astra
Copy link
Contributor

Allows modify_final_cashout function to be added to card objects in a similar manner to calculate_dollar_bonus, which allows functional behavior based on the final cashout sum (for example, "Round cashout value to nearest factor of X"). While similar to the aforementioned calculate_dollar_bonus, this feature adds capability not previously available without patching

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.

@Aurelius7309
Copy link
Member

I don't love to be adding more single-use functions when this is a perfect use case for a self-modifying context

@the-Astra
Copy link
Contributor Author

I don't love to be adding more single-use functions when this is a perfect use case for a self-modifying context

The original intent was for this to be a context, but I wasn't sure how to do the automatic cashout lines through a method like that

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