Thanks. I think I'm a bit out of my depth here. Now, I would never ask anyone to look at my Climates & Calories code because that's a deformed monster waiting for me to write the whole thing over again.Interkarma wrote: ↑Sun Jul 05, 2020 8:31 am Good luck Ralzar! Don't hesitate to reach out if any help needed.
Races Redone though, is a pretty straightforward mod so is Torch Taker.
Torch Taker works except this bit:
Code: Select all
PlayerEnterExit.OnTransitionDungeonInterior += RemoveVanillaLightSources;
PlayerEnterExit.OnTransitionDungeonInterior += AddVanillaLightToLightSources;
It either does not get registered or the methods do not manage to execute correctly. The code is intended to strip out the vanilla torch lights, then find all torches and attach a similar light object to the torches. So when you take a torch, the light is also removed.
But this no longer happens. If you enter a dungeon, the vanilla lights are not removed and new lights are not attached to the torches. Which becomes obvious when you attempt to take a torch and the torch light stays there without the torch sprite.
Edit: Removed the Races Redone example. It appear to still be working. I think I got a bit stressed and tested the wrong attribute.