Space Engineers

Space Engineers

Yeterli oy yok
Refinery Power Control
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
Dosya Boyutu
Gönderilme
Güncellenme
1.466 KB
26 Haz 2019 @ 18:04
13 Tem 2019 @ 10:34
3 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
Refinery Power Control

Açıklama
In-Game Script for Programmable Block
UPDATE: Minor fix of my n00b code, added exclusion for batteries that are switched off.

Like Renewable Energy, but dont like running out of power due to your refineries left on chugging away at your ores when you are not around? Then this is for you :)

This low impact simple script monitors battery levels of all batteries on the same grid as this script is running on, and turns refineries off when each battery on the grid gets below a certain level. It continues to monitor battery levels and then switches refineries back on when each battery on the grid goes above a certain level (both values set at the top of the script).

Batteries that are switched off when the script is compiled/first run, will be ignored, this allows the inclusion of emergency batteries on the grid, that will not be monitored by this script.

I personally dont have my Assemblers running for that long, its always my refineries that pose a risk to the power, so i did not add it to the script, but i plan to later on for a separate script.

aimed at use on servers where your stuff is left running live.
9 Yorum
[MM] Toasterific 26 Şub 2020 @ 3:40 
i kept recompiling / turning on & off the refinery and nothing works tho, it kept going unknown :/
Nikolas March  [yaratıcı] 26 Şub 2020 @ 3:34 
this usually happens happens at the beginning of the script running, though i will take a look at it :)
[MM] Toasterific 26 Şub 2020 @ 0:57 
refinery status unkown tho?
what happened here
Nikolas March  [yaratıcı] 29 Haz 2019 @ 23:42 
thats not a good mod lol, it makes things far too easy, just for someones server :)
Nikolas March  [yaratıcı] 29 Haz 2019 @ 23:15 
i dont know what the error is
Patchouli 29 Haz 2019 @ 8:44 
https://steamproxy.net/sharedfiles/filedetails/?id=1749799676
that caused the error :D damn its a good mod
Patchouli 29 Haz 2019 @ 8:44 
found it! does not work with Rykkar Server Mod Pack..maybe you could make it working?
Patchouli 29 Haz 2019 @ 7:47 
well doesnt matter, keep working on it, still very nice maybe needs some updating
Patchouli 29 Haz 2019 @ 4:45 
nice script! works very good for me!