Space Engineers

Space Engineers

34 ratings
Moisture Vaporator Fixed
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Block, Production
File Size
Posted
Updated
38.342 MB
10 Feb, 2023 @ 1:26pm
10 Feb, 2023 @ 2:44pm
2 Change Notes ( view )

Subscribe to download
Moisture Vaporator Fixed

Description
Very slowly generates ice from literally air.

Original mod: https://steamproxy.net/sharedfiles/filedetails/?id=709975763

As the original mod caused a lot of performance issues on servers and the original author seems to have abandoned it, I basically rewrote the script to make it run much much faster. In fact it is so fast now, that I can barely even measure the CPU time it takes (running 150 blocks at less than 0.001 ms in test setup).

Changes to the original mod:
  • If the Vaporator cannot work it switches itself off to save CPU time.
  • Vaporator can only work on static grids (grids that are a Station).
  • Vaporator needs minimum air density of 0.01 to operate. Essentially just a CPU-saving change, as it also took air density into account before, and then kept producing (close to) zero amounts of ice.
  • Vaporator will check planets only once. So if you add/remove planets manually you need to restart the server before you can use the Vaporator on them.
  • Values can be configured via local world storage config.
    Note that if you set the amount of ice produced too high it appears like the block is not working, while in fact it just cannot add ore to it's inventory anymore. Also if you change power values, the displayed max power will no longer be correct, but that's just visual.


I will not develop this any further, this is just a maintenance update.
7 Comments
Menos  [author] 6 Apr, 2023 @ 5:30pm 
Yes, the original mod uses most of my code now.
miku567 6 Apr, 2023 @ 3:18am 
Original mod got an update that includes fixes from this one.
Siv 24 Mar, 2023 @ 9:16pm 
How does this handle air density changes at different altitudes?
Menos  [author] 18 Feb, 2023 @ 6:02am 
I assume that removing and adding planets durring the game constantly is not something that happens regularily.

If you add/remove planets and then restart once, the vaporator will recheck them and work just fine.
FMHikari 17 Feb, 2023 @ 4:50pm 
Instead of checking only once, maybe add a button in the UI to re-check?
scar1355 16 Feb, 2023 @ 3:44pm 
thanks ill use this instead
E 16 Feb, 2023 @ 2:25pm 
basically an air vent except it gives ice