epfly6 / RepentanceAPIIssueTracker

An unofficial issue tracker for issues with The Binding of Isaac: Repentance's API.
20 stars 1 forks source link

QueuedItem manipulation is lacking #191

Open LeoGuirinec opened 3 years ago

LeoGuirinec commented 3 years ago

When designing an active item similar to Void or Abyss, there is no easy way to consume the queued item a player has. FlushQueueItem() does not work for that purpose despite its name. Also there is no access to the queued item as an Entity.

Meowlala commented 3 years ago

In Afterbirth+ at least, EntityPlayer:FlushQueueItem automatically adds the held item to the player, where it can then be easily removed. Has this changed in Repentance? It'd still be nice to be able to prevent it ever being added.

LeoGuirinec commented 3 years ago

It works with that trick. I guess it's not that lacking with that in mind. Thank you for pointing it out!