Stationeers

Stationeers

Stationeers
Share the best world creations and game modifications with the community for Stationeers through Steam workshop.
Cahh 28 Jan, 2019 @ 8:59am
Ore Sorter help
I created a script (IC) by modifying a pre-existing script, which changes the value of a memory according to the state of the dial. eg.
dial = 1. Memory = 1758427767 (iron hash).
day = 2. Memory = -707307845 (copper hash).

Now I want to create a script (IC) for sorter. in which it reads the number contained in the memory and if it has the ore passing through it, with the same hash number of the memory, he makes the selection to the left or right exit.
i was confused? can undestand? =D


Can someone help me?????? Thanks
< >
Showing 1-5 of 5 comments
Kastuk 9 28 Jan, 2019 @ 12:46pm 
There's one of Sorter mods:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1578508121

Sorting like that:
alias Sorter d0
ls r0 d0 0 OccupantHash
# Sorts Miningbelt, Dril, Pickaxe
beq r0 -913649823 True #jump to the True
beq r0 1055173191 True
beq r0 -676435305 True
# If not true wil be send to the Right Output
# Sorter will send all not true items Here
s d0 Output 0 # Set Output to Right Side
s d0 Mode 0 # Do 1 Operration
s d0 Mode 1 # Lock Sorter up again for next sorting
#j Start need here, i think
True:
# If true wil be send to the Left Output
s d0 Output 1 # Set Output to Left Side
s d0 Mode 0 # Do 1 Operration
s d0 Mode 1 # Lock Sorter up again for next sorting
j Start


For yours one memory may need like
alias MemorywithHash d1
l r1 d1 Setting

and then
beq r0 r1 True
Last edited by Kastuk; 28 Jan, 2019 @ 12:53pm
Cahh 28 Jan, 2019 @ 4:37pm 
Thanx Kastuk! thanx a lot!
Porkchop Express 8 Feb, 2019 @ 6:42pm 
I think Nihall is talking about this: https://www.youtube.com/watch?v=C0i1RKNjUQ4

I wish i could get the IC code to slow down rate of Chute Inputs and also use Appofis IC Ore Sorter with a dial for more sorting options like in the youtube video.
Etsijä 5 14 Feb, 2019 @ 5:16am 
This would be more compact way to do it, by using Mode2 of the sorter.

alias dSorter d0 alias dIC d1 start: s dSorter Mode 2 l r0 dIC Setting ls r1 dSorter 0 OccupantHash seq r1 r1 r0 # Port1: match, Port0: no match s dSorter Output r1 yield j start

If you want to switch the ports, change seq to sne.
Last edited by Etsijä; 14 Feb, 2019 @ 5:17am
Cahh 19 Feb, 2019 @ 3:08am 
Thanx Guys!!!!
< >
Showing 1-5 of 5 comments
Per page: 1530 50