Stationeers
Evaluări insuficiente
Printer Ingot Restocker
   
Premiază
Adaugă la preferate
Preferat
Elimină din preferate
Dimensiunea fișierului
Postat
182.890 KB
20 oct. la 5:36
1 jurnal de actualizare ( vizionare )

Abonează-te pentru a descărca
Printer Ingot Restocker

Descriere
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://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3590458462
10 comentarii
froggx 28 oct. la 22:46 
@cowsarecows
i appreciate your scripts. i've drastically improved with IC10 by reading them and stealing your skills

currently running "Printer Logistics v4" and checking to see if this mod coupled with counter mod has any changes to functionality (gonna just not think about how different chunks of code have moved to different ICs, spits shit out regardless) and not really seeing anything notable. device assignment is done by name rather than pins (such a shame :runecrying:).... needs an extra IC10 for stacker control... toggles "lock" logictype on printers to send morse code.... dumps unused ingots in the raging tire fire... need some logic sorters....

think i'm sticking with logistics v4. tbh 've been putting together a thing for it. it keeps stacks in vending machine fully merged and splits off a preset amount rather than just "whole stack go bye bye." currently works with a single printer so gotta mux.
Pinus Alba 25 oct. la 9:35 
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_ 24 oct. la 5:13 
which one? @NeoGP
NeoGP 23 oct. la 18: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_ 23 oct. la 11:50 
doesn't seem to resupply of anything but Steel even when I press the button
Pinus Alba 23 oct. la 1:55 
No matter what i try, it shows error on line 50- device not found.
Garason 21 oct. la 16:17 
@wizard1001 thank you for the information i will go look it up
wizard1001 21 oct. la 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 21 oct. la 4:01 
most likely after he finnished the serie, he might be uploading it
Garason 20 oct. la 13: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: