TeamREPENTOGON / REPENTOGON

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

EntityPlayer:SetBlackHeart() #475

Closed TaigaTreant closed 4 months ago

TaigaTreant commented 4 months ago

In the base API, there is a function EntityPlayer:RemoveBlackHeart() that can be used to update the black heart mask and turn a black heart directly into a soul heart without the need to add/remove hearts. However, there is no equivalent for turning a soul heart into a black heart. This would be helpful for managing the state of black hearts in systems such as CHAPI.