Skip to content

Refactored SMODS.destroy_cards + added SMODS.pinch_and_remove() and SMODS.is_playing_card() util funcs#1401

Merged
nh6574 merged 8 commits into
Steamodded:mainfrom
AllUniversal:smods-destroy-cards-refactor
Jun 2, 2026
Merged

Refactored SMODS.destroy_cards + added SMODS.pinch_and_remove() and SMODS.is_playing_card() util funcs#1401
nh6574 merged 8 commits into
Steamodded:mainfrom
AllUniversal:smods-destroy-cards-refactor

Conversation

@AllUniversal
Copy link
Copy Markdown
Contributor

@AllUniversal AllUniversal commented May 28, 2026

+/*Title, this replaces #1038, and implements most of that PR's functionality;
*Refactored SMODS.destroy_cards() to use an args table
+Added args.delay for in-between-cards delay
+Added args.destroy_func for manually replacing e.g. Card:start_dissolve() with your own function.
+Added SMODS.pinch_and_remove()
+Added SMODS.is_playing_card() (checks card.playing_card and card.ability/config.set == 'Enhanced'/'Default')

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.

2 participants