REPENTOGON icon indicating copy to clipboard operation
REPENTOGON copied to clipboard

[SUGGESTION] Adding an IsCycle boolean parameter to MC_PRE_PICKUP_MORPH and MC_POST_PICKUP_MORPH

Open Guantol-Lemat opened this issue 1 year ago • 2 comments

Or any way for mod creators to check if the morph is due to the item proceeding to the next cycle or not. Also ,if possible, adding a boolean variable to the EntityPickup:Morph() method so that one can mark their own morph as a cycle.

Guantol-Lemat avatar Jan 03 '24 16:01 Guantol-Lemat

Alternatively, instead of passing this variable as a part of the Function Args it could be an Optional Argument of the callbacks

Guantol-Lemat avatar Jan 06 '24 12:01 Guantol-Lemat

Additionally(?), it'd be great to check if the morph came from a reroll specifically (i.e. a dice), rather than a player picking up an item. Maybe these scenarios can be checked through a "MorphFlag" of some kind? (Though I have no idea how it'd work under the hood, if you haven't thought about it already)

calvinhobbes1010 avatar Jun 05 '24 02:06 calvinhobbes1010