Space Engineers

Space Engineers

评价数不足
Plug-in Hybrid
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
9.949 KB
2020 年 3 月 8 日 上午 9:46
2020 年 3 月 10 日 下午 12:49
2 项改动说明 ( 查看 )

订阅以下载
Plug-in Hybrid

描述
A script for managing a combination of Hydrogen Engines and Batteries on a vehicle or base, with plenty of config options.

To use the script with default options place down at least 1 hydrogen tank, 1 hydrogen engine and 1 battery on a grid (along with a programmable block for this script). Then the script will just magically work.

In the default configuration the script will use the hydrogen engines to keep the batteries between 5-6% charge. If you try to use more power than your batteries can output then the script enters "Boost Mode" and keeps the hydrogen engines on until power usage goes down. It also automatically sets all tanks to stockpile when any connector is connected.

Every part of the functionality is configurable for instance it's possible to disable everything except for the auto-stockpile functionality if you so choose. Config is automatically created with default values and comments in the blocks Custom Data.

There's a config setting called autoRecharge which is set to false by default. If enabled it will set the batteries to Recharge mode when a connector is connected. The problem with that is that if you use P to disconnect your grid will be powered off. To disconnect when this settings enabled run the block with the "disconnect" argument. That will set the batteries back to auto, disable the handbrake and disconnect any connected connectors.

This script can also be used to automatically manage emergency hydrogen generators in your base by disabling the autoStockpile option.
1 条留言
RainbowSkyDancer 2020 年 3 月 18 日 上午 6:19 
Nice =)