Stationeers

Stationeers

Not enough ratings
UfoL's Generator Control
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
255.746 KB
Mar 6, 2020 @ 9:12am
Mar 9, 2020 @ 5:12am
2 Change Notes ( view )

Subscribe to download
UfoL's Generator Control

In 1 collection by UfoL BeerSeeker
UfoL's IC Codes
2 items
Description
IC Script designed to run fueled power generators without wasting fuel.​ Does not require any other
logic devices, although supports Batch Read/Write.

YT tutorial here:
https://youtu.be/Sx85ZQ5ZC_w

Adjust Low/High Power thresholds in code to your needs.

Script will switch ON assigned generator when chosen battery charge falls below set % threshold.
Generator is switched OFF once battery charge reach high thershold. Output is sent to Setting Value.
If optional Logic Reader/Batch Reader is set, then battery is ignored.
To use with Batch Writer and other logic, link them to IC Housing Setting Value
If LCD is set tt can display % of battery, and color it depending on state.
- Red - Below low threshold
- Orange - Generator ON
- Yellow - Generator OFF
- Green - Above high threshold

I Provided comments to every line if you wish tolearn.
If you wish it have more features, let me know and i will see what can i do.
I hope you will find this script helpful. Cheers.

Updated:
Fixed typo in code, now runs ok if no generator.
4 Comments
UfoL BeerSeeker  [author] Mar 16 @ 12:56am 
Just connect both sides of your battery. No need to thank me ;)
Chipstix213 Mar 15 @ 6:36am 
Now my game is too easy there's too much power...
Mojo Mar 6 @ 1:01am 
Still works like a treat in 2025. Great Job with this.
Golden Dragon Nov 18, 2022 @ 7:44pm 
Thx you for your script! Can you add silo support for solid generator supply?
On and open while needed, off and close while standby?