trigger_effect events - larswijn/CardSleeves GitHub Wiki
trigger_effect events
This mod handles some custom events+contexts for sleeves to use in trigger_effect
.
Base game events
Any event that gets passed to Back:trigger_effect()
will also be received by Sleeve:trigger_effect()
.
Custom events
These events do not have a base game equivalent, but might be useful.
- On any card creation, with context:
create_card = true
card = card
- On playing card modification (one using
set_base
), with context:
modify_playing_card = true
card = playing_card
- Right before a consumable gets used, with context:
before_use_consumable = true
card = consumable
- Directly after a consumable's effect has finished, with context:
after_use_consumable = true
- On shop enter/reroll (directly after
Tag:trigger_effect()
), with:
context = "shop_final_pass"`
Adding/changing events
If necessary, you can always create new events yourself. If there are any issues or obviously lacking events for sleeves, let me know.