TeamREPENTOGON / REPENTOGON

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

Custom GridRooms #412

Closed Sanio46 closed 3 months ago

Sanio46 commented 3 months ago

Currently, there's only so many GridRooms (rooms that don't exist on the map, like a Devil or Angel Deal) that exist, and so many that other mods can override for their own custom GridRoom. Having the ability to create custom GridRooms would be amazing so we don't have to carefully tiptoe around what GridRooms we can override or not.

Sylmir commented 3 months ago

This will be difficult as the game uses a finite sized array to store negative rooms

Sanio46 commented 3 months ago

I'm aware of this, and this is me purely speaking from lack of experience, but the enum GridRooms.MAX_GRID_ROOMS suggests that there's at least a pretty sizable amount of finite space? Or is it much more limited?

Sanio46 commented 3 months ago

Taking two seconds to read the other enum NUM_OFF_GRID_ROOMS, it's 18.

jsgnextortex commented 3 months ago

The only way we would add stuff like this is is if it was limitless, theres no point in adding functionality that only 1-2 mods will be able to use at once at the end of the day

Sylmir commented 3 months ago

One thing that might be worth adding is the ability to load any RoomConfig Room in a RoomDescriptor, as well as more control to save / restore RoomDescriptors

jsgnextortex commented 3 months ago

Definitely