Space Engineers

Space Engineers

评价数不足
Assembler Inventory Manager
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
6.575 KB
2018 年 6 月 29 日 下午 11:14
2018 年 7 月 20 日 上午 12:11
8 项改动说明 ( 查看 )

订阅以下载
Assembler Inventory Manager

描述
You configure how many of each component you want kept in stock, and the script handles the rest.

Configure any number of assemblers. Components will be prioritized in the order you specify them, even doubling-up (or tripling, etc) on assemblers if there are enough.

Supports specifying both a "desired" and a "maximum" amount for each component. Once all components have reached their desired quantity, the assemblers will start producing more of things until their reach their maximum. At any point, if something drops below the desired amounts, all assemblers will be put to work bringing things to their desired, before going back to working up to the maximums.

Status is shown on a double-wide LCD. (Or multiple LCDs)

Pairs nicely with my Refinery management script: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1432879178

Updated to work with 1.187
11 条留言
Firebird-Chick-1986 2022 年 2 月 1 日 下午 3:31 
Any fix to this issue?
"En3rgyCrafter 25 Mar, 2019 @ 7:43pm"
Not sure what is wrong with the code, but something broke on line 379.
The error is: Program (379,95): Error:
There is no argument given that corresponds to the required formal parameter 'items' of 'IMyInventory.GetItems(List<MyInventoryItem>, Func<MyInventoryItem, bool>)'
Hacchu 2019 年 10 月 30 日 下午 2:46 
This no longer works in current versions.
Runian 2019 年 9 月 9 日 上午 6:58 
Does this still work?
And how do I get it to display on an LCD?
Thanks
En3rgyCrafter 2019 年 3 月 25 日 下午 12:43 
Not sure what is wrong with the code, but something broke on line 379.
The error is:
There is no argument given that corresponds to the required formal parameter 'items' of 'IMyInventory.GetItems(List<MyInventoryItem>, Func<MyInventoryItem, bool>)'
Vim 2019 年 1 月 20 日 下午 7:39 
This script is awesome. Thanks @Xenoc
SurprisingEdge  [作者] 2018 年 7 月 16 日 下午 3:30 
@Thor The script doesn't currently configure the LCDs for showing text, that needs to be done manually. I know I've forgotten about it before. I'm planning to add that to the script eventually.

I also have an update coming soon that allows configuring both desired quantity, and maximum quantity. The script will ensure everything is at the desired quantity, and then start building things up to the maximum quantity.
Thor_1872 2018 年 7 月 16 日 上午 8:57 
forget about what i said about wide lcd, it works now ... i have not changed the config ... space engineers is weird sometimes.
the first time the one above did not start then it was the turn of the one at the bottom ...
Thor_1872 2018 年 7 月 16 日 上午 8:32 
♥♥♥♥♥♥♥♥♥ it work :) if you know what you are doing you can easly add modded component.
at least yours does not crash when I add a component :D
but unfortunately it does not work with two wide LCDs, this is the only problem I have found.
Big thank you for this script ;)
I hope you Have a nice day.
:steamhappy:
SurprisingEdge  [作者] 2018 年 7 月 5 日 下午 9:56 
@remethep Yeah, forgot to put in a description, whoops. :) Done now, as well as did a major update to the code, allowing it to use multiple assemblers for the same component, if there are enough available.