Barotrauma

Barotrauma

Not enough ratings
Enhanced Reactors Lua
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
55.165 KB
17 Apr, 2024 @ 12:15pm
19 Dec, 2024 @ 12:22pm
10 Change Notes ( view )

Subscribe to download
Enhanced Reactors Lua

Description
THIS MOD IS CURRENTLY OUTDATED
The original mod already has lua improvements integrated by now so this patch is not needed

Lua patch for Enhanced reactors
Improves the performance when playing with Enhanced Reactors by doing the radiation calculation with lua.
However it comes with a downside. Radiation will only be applied to your character, if the fuel rod is within your character's line of sight.
Also improves the radation checks by having a one tag instead of multiple conditions.

This patch is maintained by ironic_and_dead.

Load Order:
- Enhanced Reactors Lua
- Enhanced Reactors



This is no longer a replacement mod, meaning you need the original!

*Note I can't activly maintain this mod, please message me on discord for issues.
19 Comments
_]|M|[_  [author] 23 Feb @ 8:50am 
@Gaduka: This patch is outdated and should not be used. The original Enhanced Reactors already comes with lua improvements by now and those should be working fine with the Baroverhaul Patch.
Gaduka 19 Feb @ 8:03am 
Hello, great mod, maybe you can make patch to let it be compatible with Baroverhaul Enhanced Reactors Patch ?
Ricardio 6 Sep, 2024 @ 3:06am 
That's nice to hear! Keep up the great mods!
_]|M|[_  [author] 2 Sep, 2024 @ 11:06am 
@Gordon Freeman, PhD: I'm not maintaining the patch as I don't understand lua code. ironic_and_dead is the one writing the patch.
He just added me to the project in case I do need to update some XML part of the patch, but the XML is fine and the lua code is currently the issue with stuff not working as intended.

ironic is currently not able to work on the mod and I've already got someone else working on a direct lua performance integration for the original Enhanced Reactors mod.
The update should hopefully arrive sometime in october.
Ricardio 31 Aug, 2024 @ 12:47pm 
The outpost type reactors seem to not spew out radiation when damaged beyond 75%. I've heard you mention on some stream that you forgot to add the fix for those when making the patch. Would it be possible for you to update it so they do? Either way i seem to have fixed it with a very simple modification to the lua script.
zeyv 26 May, 2024 @ 7:13am 
@_]|M|[_ Indeed, I was using Immersive Repairs Lua Patch. Now when I turned it off from my modlist, Enhanced Reactors lua patch works as intended! Thank you.
_]|M|[_  [author] 25 May, 2024 @ 5:28pm 
@Волк с Луз стрит, @zeyv: Are you perhaps using Immersive Repairs Lua Patch as well? We've recently noticed it's breaking this patch. I recommend using Enhanced Reactors Lua only for now since that is gaining you a the bigger performance increase.
zeyv 25 May, 2024 @ 5:44am 
Same problem that has Волк с Луз стрит - radiation doesn't work, active rod doesn't emiting any radiation.
Волк с Луз стрит 11 May, 2024 @ 7:20am 
and again, I am your servant attracting bugs and a little bit of mudraptors, but a little bit :D

I play with deathwish + EHA, in the submarine editor with the lua version when pulling out the nuclear (active) rod, there is no radiation and other effects, only glow and if you take burns in your hands, and also continues to break objects and the walls. And the reactor also behaves strangely, all its sliders move to 100% even without wires.

As soon as I remove enchanted reactor lua from the list of mods, it immediately works correctly.
ironic_and_dead  [author] 6 May, 2024 @ 3:23am 
@CaptainBadger Thank you for pointing this out, its been fixed.