TeamREPENTOGON / REPENTOGON

Script extender for The Binding of Isaac: Repentance
https://repentogon.com/
GNU General Public License v2.0
130 stars 14 forks source link

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

Open Guantol-Lemat opened 8 months ago

Guantol-Lemat commented 8 months ago

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 commented 8 months ago

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

calvinhobbes1010 commented 3 months ago

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)