Skip to content

Conversation

@DigitalDetective47
Copy link
Contributor

Adds a new context, used when poker hands' values are changed (primarily through being leveled up). This is different than context.using_consumable, as it also affects other ways of leveling up hands (e.g. Space Joker).

if context.poker_hand_changed then
context.old_level, context.new_level
context.old_parameters, context.new_parameters -- only contains scoring parameters that were changed
context.scoring_name, context.card

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