epfly6 / RepentanceAPIIssueTracker

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

Ability to add entities via dynamic IDs/variants/subtypes similar to items/music/challenges/etc. #61

Open TaigaTreant opened 3 years ago

TaigaTreant commented 3 years ago

Currently, if you want to add new entities to the game (enemies, bosses, familiars, effects, etc.), you can only do so by manually setting the id/variant/subtype of the entity manually. This is in contrast to much of the rest of content-patching, which is handled through dynamic IDs (items, music, challenges, etc.). As this easily runs the risk of mods overlapping entity IDs/variants/subtypes, an issue that has occurred in the past and can lead to hard-to-diagnose issues, it would be desirable if adding entities could by handled through a similarly dynamic manner.

On a related note, it would be useful to have an Isaac.GetEntitySubTypeByName() function to go along with this feature, similar to the existing functions for IDs and variants.

Meowlala commented 3 years ago

I think the big problem with this is how entities would work with rooms. The room format could be changed to allow this ideally, but it'd be a pretty big undertaking. Would be fantastic though.