TeamREPENTOGON / REPENTOGON

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

MC_PRE_LEVEL_LAYOUT_GENERATED #480

Open dpower12 opened 1 month ago

dpower12 commented 1 month ago

returning a table to modify the amount of rooms and dead ends the floor is supposed to generate, so we have an easier way to add dead ends or the number of rooms in the floor.

Rollerblade96 commented 1 month ago

I have a working branch with a MC_PRE_LEVEL_LAYOUT_GENERATED callback which returns the number of rooms that will be generated on the floor using the vanilla generator. It should also be pretty easy to return the number of dead ends as well. I think these would be great changes to incorporate into repentagon as many mods may want control over these parameters. The branch also has other various changes and useful callbacks that I have added for testing.

I'm currently working on a new mod that makes use of these :)

Other information: I found various memory signatures for functions that could be useful for generating special rooms (using the vanilla code): RandomBossId(...), RandomBossRoom(...) .. etc.. anyone who is interested in seeing these please let me know as Im not entirely sure how to upload my branch for viewing.

461