diff --git a/auto_item_sorter.ic10 b/auto_item_sorter.ic10 index 76821b6..2d47c4f 100644 --- a/auto_item_sorter.ic10 +++ b/auto_item_sorter.ic10 @@ -1,3 +1,8 @@ +# Controls Sorters to sort items based on hash. +# Reads item-hashes from stack to decide if it +# should be split off or passed on. +# Connect one Sorter to each screw on the IC. + alias counter r0 move counter 0 @@ -8,6 +13,7 @@ alias IsItem r4 define INPUTSLOT 0 +# Replace hashes below with the ones you need. push 1724793494 # Coal push -983091249 # Cobalt push -707307845 # Copper @@ -20,12 +26,15 @@ push -190236170 # Lead #push -1516581844 # Uranium start: +# Loops over screws to instruct attached Sorters, +# loops over all sorters every tick. bdseal dr0 sort add counter counter 1 bgt counter 5 reset j start sort: +# Compares Sorter input-slot with hash in stack move sp counter add sp sp 1 peek hash @@ -38,6 +47,7 @@ s dr0 Output IsItem j ra reset: +# Resets counter to 0 zero so we can loop over again move counter 0 yield j start \ No newline at end of file diff --git a/automated_canister_filling.ic10 b/automated_canister_filling.ic10 index 30b445e..273f429 100644 --- a/automated_canister_filling.ic10 +++ b/automated_canister_filling.ic10 @@ -1,6 +1,4 @@ -# automatic gas-canister filler. -# only works with player-made cans, starter-cans -# have different hashes that won't work +# Automatic gas-canister filler. # !!! Remember to set volume pump to no more !!! # !!! than 10l! I have mine at 2l for safety !!! diff --git a/filtration.ic10 b/filtration.ic10 index 5a21b90..2de3b10 100644 --- a/filtration.ic10 +++ b/filtration.ic10 @@ -106,4 +106,4 @@ beqz FilterHash ra #if you are still here then it is an error so end s filtration On 0 -j start +j start \ No newline at end of file diff --git a/heating_cooling.ic10 b/heating_cooling.ic10 index 398c6b3..dd55e2e 100644 --- a/heating_cooling.ic10 +++ b/heating_cooling.ic10 @@ -89,4 +89,4 @@ bdseal TempDisplay display sb Heater On HeatingActive bgtz HeatingActive heating -j start +j start \ No newline at end of file