[logic]
active = sr_idle@1

[sr_idle@1]
on_info = {-jup_b200_tech_materials_brought_counter_1 =counter_equal(jup_b200_tech_materials_brought_counter:1)} %+jup_b200_tech_materials_brought_counter_1%
on_info2 = {-jup_b200_tech_materials_brought_counter_2 =counter_equal(jup_b200_tech_materials_brought_counter:2)} %-jup_b200_tech_materials_brought_counter_1 +jup_b200_tech_materials_brought_counter_2%
on_info3 = {-jup_b200_tech_materials_brought_counter_3 =counter_equal(jup_b200_tech_materials_brought_counter:3)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 +jup_b200_tech_materials_brought_counter_3%
on_info4 = {-jup_b200_tech_materials_brought_counter_4 =counter_equal(jup_b200_tech_materials_brought_counter:4)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 +jup_b200_tech_materials_brought_counter_4%
on_info5 = {-jup_b200_tech_materials_brought_counter_5 =counter_equal(jup_b200_tech_materials_brought_counter:5)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 -jup_b200_tech_materials_brought_counter_4 +jup_b200_tech_materials_brought_counter_5%
on_info6 = {-jup_b200_tech_materials_brought_counter_6 =counter_equal(jup_b200_tech_materials_brought_counter:6)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 -jup_b200_tech_materials_brought_counter_4 -jup_b200_tech_materials_brought_counter_5 +jup_b200_tech_materials_brought_counter_6%
on_info7 = {-jup_b200_tech_materials_brought_counter_7 =counter_equal(jup_b200_tech_materials_brought_counter:7)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 -jup_b200_tech_materials_brought_counter_4 -jup_b200_tech_materials_brought_counter_5 -jup_b200_tech_materials_brought_counter_6 +jup_b200_tech_materials_brought_counter_7%
on_info8 = {-jup_b200_tech_materials_brought_counter_8 =counter_equal(jup_b200_tech_materials_brought_counter:8)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 -jup_b200_tech_materials_brought_counter_4 -jup_b200_tech_materials_brought_counter_5 -jup_b200_tech_materials_brought_counter_6 -jup_b200_tech_materials_brought_counter_7 +jup_b200_tech_materials_brought_counter_8%
on_info9 = {-jup_b200_tech_materials_brought_counter_9 =counter_greater(jup_b200_tech_materials_brought_counter:8)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 -jup_b200_tech_materials_brought_counter_4 -jup_b200_tech_materials_brought_counter_5 -jup_b200_tech_materials_brought_counter_6 -jup_b200_tech_materials_brought_counter_7 -jup_b200_tech_materials_brought_counter_8 +jup_b200_tech_materials_brought_counter_9%
on_info10 = {=counter_greater(jup_b200_tech_materials_brought_counter:0)} sr_idle@2  %+jup_b200_tech_materials_brought_counter_run +jup_b200_tech_materials_brought_counter_1%
on_info11 = {+jup_b200_tech_materials_brought_counter_run} sr_idle@2 %+jup_b200_tech_materials_brought_counter_1%

[sr_idle@2]
on_info = {-jup_b200_tech_materials_brought_counter_1 =counter_equal(jup_b200_tech_materials_brought_counter:1)} %+jup_b200_tech_materials_brought_counter_1%
on_info2 = {-jup_b200_tech_materials_brought_counter_2 =counter_equal(jup_b200_tech_materials_brought_counter:2)} %-jup_b200_tech_materials_brought_counter_1 +jup_b200_tech_materials_brought_counter_2%
on_info3 = {-jup_b200_tech_materials_brought_counter_3 =counter_equal(jup_b200_tech_materials_brought_counter:3)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 +jup_b200_tech_materials_brought_counter_3%
on_info4 = {-jup_b200_tech_materials_brought_counter_4 =counter_equal(jup_b200_tech_materials_brought_counter:4)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 +jup_b200_tech_materials_brought_counter_4%
on_info5 = {-jup_b200_tech_materials_brought_counter_5 =counter_equal(jup_b200_tech_materials_brought_counter:5)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 -jup_b200_tech_materials_brought_counter_4 +jup_b200_tech_materials_brought_counter_5%
on_info6 = {-jup_b200_tech_materials_brought_counter_6 =counter_equal(jup_b200_tech_materials_brought_counter:6)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 -jup_b200_tech_materials_brought_counter_4 -jup_b200_tech_materials_brought_counter_5 +jup_b200_tech_materials_brought_counter_6%
on_info7 = {-jup_b200_tech_materials_brought_counter_7 =counter_equal(jup_b200_tech_materials_brought_counter:7)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 -jup_b200_tech_materials_brought_counter_4 -jup_b200_tech_materials_brought_counter_5 -jup_b200_tech_materials_brought_counter_6 +jup_b200_tech_materials_brought_counter_7%
on_info8 = {-jup_b200_tech_materials_brought_counter_8 =counter_equal(jup_b200_tech_materials_brought_counter:8)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 -jup_b200_tech_materials_brought_counter_4 -jup_b200_tech_materials_brought_counter_5 -jup_b200_tech_materials_brought_counter_6 -jup_b200_tech_materials_brought_counter_7 +jup_b200_tech_materials_brought_counter_8%
on_info9 = {-jup_b200_tech_materials_brought_counter_9 =counter_greater(jup_b200_tech_materials_brought_counter:8)} %-jup_b200_tech_materials_brought_counter_1 -jup_b200_tech_materials_brought_counter_2 -jup_b200_tech_materials_brought_counter_3 -jup_b200_tech_materials_brought_counter_4 -jup_b200_tech_materials_brought_counter_5 -jup_b200_tech_materials_brought_counter_6 -jup_b200_tech_materials_brought_counter_7 -jup_b200_tech_materials_brought_counter_8 +jup_b200_tech_materials_brought_counter_9%
