diff --git a/auto_class_sorter.ic10 b/auto_class_sorter.ic10 index bca8f67..e995ebd 100644 --- a/auto_class_sorter.ic10 +++ b/auto_class_sorter.ic10 @@ -1,5 +1,7 @@ -# Runs up to six sorters that filter throughput by ItemClass -# When looking at the outputs, left = ITEMCLASS, right = everything else +# Runs up to six sorters that filter +# throughput by ItemClass. +# When looking at the outputs, +# left = ITEMCLASS, right = everything else alias SlotOccupied r0 alias InputClass r1 @@ -8,7 +10,7 @@ alias SorterCounter r3 move SorterCounter 0 -define ITEMCLASS 19 # 10=ores, 19=ingots, 33=wrekage +define ITEMCLASS 19 # 10=ores,19=ingots,33=wrekage define INPUTSLOT 0 # sorter input-slot start: @@ -19,10 +21,12 @@ j start sort: s dr3 Mode 2 # set sorter to IC mode -ls SlotOccupied dr3 INPUTSLOT Occupied # check if anything to sort +# check if anything to sort +ls SlotOccupied dr3 INPUTSLOT Occupied beqz SlotOccupied ra ls InputClass dr3 INPUTSLOT Class -seq IsClass InputClass ITEMCLASS # change seq to sne to swap output ports +# change seq to sne to swap output ports +seq IsClass InputClass ITEMCLASS s dr3 Output IsClass j ra diff --git a/auto_item_sorter.ic10 b/auto_item_sorter.ic10 index 2d47c4f..740d221 100644 --- a/auto_item_sorter.ic10 +++ b/auto_item_sorter.ic10 @@ -47,7 +47,7 @@ s dr0 Output IsItem j ra reset: -# Resets counter to 0 zero so we can loop over again +# Resets counter to zero so we can loop over again move counter 0 yield j start \ No newline at end of file diff --git a/battery_monitor.ic10 b/battery_monitor.ic10 index 96af199..dcd37a1 100644 --- a/battery_monitor.ic10 +++ b/battery_monitor.ic10 @@ -1,4 +1,4 @@ -# Uses a Diode Slide to show battery-bank fill-level. +# Uses a Diode Slide to show battery-bank levels # You can add a Cable Analyzer between generators # and batteries so an LED light can show if system # is charging or discharging. diff --git a/filtration.ic10 b/filtration.ic10 index 2de3b10..2f57099 100644 --- a/filtration.ic10 +++ b/filtration.ic10 @@ -34,12 +34,14 @@ yield # Check storage pressure l OutPressure filtration PressureOutput slt FilterActive OutPressure MAXPRESSURE -beqz FilterActive filteronoff # if pressure > MAX, skip to shutdown +# if pressure > MAX, skip to shutdown +beqz FilterActive filteronoff # Check temperature l InTemperature filtration TemperatureInput slt FilterActive InTemperature MAXTEMPERATURE -beqz FilterActive filteronoff # if temperature > MAX, skip to shutdown +# if temperature > MAX, skip to shutdown +beqz FilterActive filteronoff # Check filters and set diodes ls FilterLeft filtration 0 Quantity diff --git a/mush_cooler.ic10 b/mush_cooler.ic10 index a83e6f8..8a513dd 100644 --- a/mush_cooler.ic10 +++ b/mush_cooler.ic10 @@ -1,5 +1,5 @@ -# Connect mush-pipe to Heat Exchanger, use Digital Valve -# to expose heat-exchanger to radiators +# Connect mush-pipe to Heat Exchanger, use Digital +# Valve to expose heat-exchanger to radiators alias PipeAnalyzer d0 alias DigitalValve d1 diff --git a/solar_tracking.ic10 b/solar_tracking.ic10 index 6aec53d..ff13e60 100644 --- a/solar_tracking.ic10 +++ b/solar_tracking.ic10 @@ -1,5 +1,5 @@ alias Sensor d0 # Kit (Sensor) > Daylight Sensor -# Place sensor facing UP, and not in an enclosed space +# Place daylight-sensor facing UP alias Display d1 # Optional, Kit (Console) alias PanelType1 d2 # Any controllable Solar Panel alias PanelType2 d3 # Optional