REPENTOGON icon indicating copy to clipboard operation
REPENTOGON copied to clipboard

Pre callback for adding/removing trinkets

Open TaigaTreant opened this issue 8 months ago • 1 comments

Currently, MC_POST_TRIGGER_TRINKET_ADDED and MC_POST_TRIGGER_TRINKET_REMOVED exist as callbacks for handling trinket effects. However, there exists no PRE equivalents for preventing trinkets from being added/removed.

TaigaTreant avatar May 03 '25 20:05 TaigaTreant

Added MC_PRE_ADD_TRINKET in https://github.com/TeamREPENTOGON/REPENTOGON/commit/b4a0f9feb2926f9de7a385754fc88acf2d8e5d4a

Not currently planning to add a PRE for removal. There's no equivalents for items/cards/pills/etc either. Pre-removal is a little weird in general with how the game handles some things, and I'm not sure how I feel about being able to prevent removal

ConnorForan avatar May 21 '25 05:05 ConnorForan