jake-white / OopsAllFlooded

Lethal company indoor flooding mod
MIT License
1 stars 0 forks source link

ScoopyVarietyMod #5

Open VioletXe opened 7 months ago

VioletXe commented 7 months ago

I'll be posting this issue on discord as well, but I assume the new Flooded Sewers interior uses coding from the flooded mod, that creates a conflict with OopsAllFlooded. The result is that the sewers is INSTANTLY flooded.

20240129094441_1 20240129094537_1

jake-white commented 7 months ago

Sorry, I'm not familiar with this, what mods are you referring to here?

VioletXe commented 7 months ago

https://thunderstore.io/c/lethal-company/p/scoopy/Scoopys_Variety_Mod/

It's the mod that adds in the dungeon. Just recently it got an update which, and this is just me spitballing, might be using flooded code that triggers the OopsAllFlooded mod to activate for the interior. After removing the flooded mod the sewers interior went back to how it was originally meant to be. image

scoopydev commented 7 months ago

Sorry, I'm not familiar with this, what mods are you referring to here?

hi, i develop the mod in question. it adds a new interior. the sewer is located directly below the entrance room. my understanding is your mod uses the facility entrance door to tell where to spawn the flooding water base. i believe this could be resolved, by adding a check in your mod to check for a gameobject with a certain name (could be "customFloodBase" etc.) custom interiors could place in unity to set their own flooding base level , and if an interior doesnt have that gameobject (i.e. vanilla interiors, custom interiors who dont include it) then defer to main entrance door position. happy to help implement this if youd be interested.