Stationeers

Stationeers

评价数不足
Printer Ingot Restocker
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
182.890 KB
10 月 20 日 上午 5:36
1 项改动说明 ( 查看 )

订阅以下载
Printer Ingot Restocker

描述
This script will monitor the number of ingots in the printers and dispense more ingots from a vending machine when required.
Items needed:
Vending machine
Logic sorters
Printers
Important button (you will need to change to structure has if you want to use a different button)

The script will automatically detect all of the required devices (make sure you name the sorters correctly) so pin assignments are not required.

The current setup controls the Autolathe, Electronics printer, Hydraulic pipe bender and Tool manufactory.
You can add or remove printers to the stack as noted in the code.

A hash display connected to the IC housing will show the ingots being dispensed.


It works well with the Print Job Counter script: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3590458462
9 条留言
Pinus Alba 4 小时以前 
The same issue as in the printer counter script. You HAVE to have all the devices set in code. If you don't have some of the devices (i.e electronics printer or tool manufactory) you have to comment them and their sorters out of the code.
Script will try to keep a minimum of 50g of the corresponding ingots - steel, silicon. gold, iron, copper in the printers.
If vending machine runs out of some ingots, it will be stuck in a loop trying to supply them.
You can check code- ingots will be requested in order last-first. People get stuck at steel because steel goes before silicon, gold, copper and iron. If you have no steel in the vending machine, nothing will be deliverd at all.
You can connect hash console to the housing to display what ingot code is trying to supply right now.
Rotn_ 10 月 24 日 上午 5:13 
which one? @NeoGP
NeoGP 10 月 23 日 下午 6:07 
I suggest going to his YT channel and finding the build there, starts around the 4-minute mark.. you can fast forward through the coding, some of the restock, eating drinking etc..
Thanks for a great code!
Rotn_ 10 月 23 日 上午 11:50 
doesn't seem to resupply of anything but Steel even when I press the button
Pinus Alba 10 月 23 日 上午 1:55 
No matter what i try, it shows error on line 50- device not found.
Garason 10 月 21 日 下午 4:17 
@wizard1001 thank you for the information i will go look it up
wizard1001 10 月 21 日 下午 12:56 
@Garason, Mick has a video on YT of the full build if you can't wait for the world to be uploaded.
Maniac Killah 10 月 21 日 上午 4:01 
most likely after he finnished the serie, he might be uploading it
Garason 10 月 20 日 下午 1:37 
cool just been looking for a code like this is there any chance of haveing the world uploaded so we can see a working version i seem to always make some sort of mistake only seem to find when compareing :steamthumbsup: