Skip to content

Conversation

@bepisfever
Copy link
Contributor

@bepisfever bepisfever commented Aug 22, 2025

Seals now have:
apply(self, card): Runs when the Seal is applied on an obtained card, or when the card with the Seal is obtained.
remove(self, card): Runs when the card with the seal is removed, or when the seal is removed.
set_ability(self, card): Runs when the Seal is applied on a card.

I also added a hook that adds added_to_deck to all playing cards at the start of run.

Wiki PR update: Steamodded/Wiki#53

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.

@DigitalDetective47
Copy link
Contributor

It would be nice to be able to distinguish between calling cases. For example with removed: being able to differentiate the seal being replaced from the card with the seal being destroyed.

@english5040
Copy link
Collaborator

english5040 commented Nov 27, 2025

as always, naming concerns: apply/remove/set_ability don't really match with what they actually do. I propose add_to_deck/remove_from_deck (like Jokers), set_seal

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.

3 participants