[logic]
active = sr_idle@wait

[sr_idle@wait]
on_info = sr_particle@teleport %=play_sound(jup_b16_oasis_noise)%

[sr_particle@teleport]
name = anomaly2\anomaly_teleport
path = lim_tel_northway_zone_way
mode = 2
looped = true
on_info = {=actor_in_zone(lim_tel_northway_zone)} sr_idle@start_teleport %=disable_ui =run_postprocess(black:3009:true)%

[sr_idle@start_teleport]
on_game_timer = 10 | sr_idle@spawn %=spawn_object(drug_antidot_harness:lim_drug_antidot_harness_1_way) =spawn_object(medkit_scientic_harness:lim_medkit_scientic_harness_1_way) =spawn_object(medkit_army_harness:lim_medkit_army_harness_1_way) =spawn_object(antirad_harness:lim_antirad_harness_1_way) =spawn_object(medkit_harness:lim_medkit_harness_1_way) =spawn_object(bread_harness:lim_bread_harness_1_way)%

[sr_idle@spawn]
on_game_timer = 10 | sr_idle@teleport %=teleport_actor(lim_actor_harness_bread_walk:lim_actor_harness_bread_look)%

[sr_idle@teleport]
on_game_timer = 10 | sr_idle@make_choose %=stop_postprocess(3009) =add_cs_text(st_actor_must_make_choose)%

[sr_idle@make_choose]
on_game_timer = 50 | sr_idle@wait_again %=del_cs_text =enable_ui%

[sr_idle@wait_again]
on_info  = {=actor_has_item(drug_antidot_harness)} 	  sr_idle@end          %=remove_objects(medkit_harness:antirad_harness:medkit_army_harness:medkit_scientic_harness:bread_harness)%
on_info2 = {=actor_has_item(medkit_harness)} 		  sr_idle@error_choose %=remove_objects(bread_harness:antirad_harness:medkit_army_harness:medkit_scientic_harness:drug_antidot_harness)%
on_info3 = {=actor_has_item(bread_harness)} 		  sr_idle@error_choose %=remove_objects(medkit_harness:antirad_harness:medkit_army_harness:medkit_scientic_harness:drug_antidot_harness)%
on_info4 = {=actor_has_item(medkit_army_harness)}	  sr_idle@error_choose %=remove_objects(medkit_harness:antirad_harness:bread_harness:medkit_scientic_harness:drug_antidot_harness)%
on_info5 = {=actor_has_item(medkit_scientic_harness)} sr_idle@error_choose %=remove_objects(medkit_harness:antirad_harness:medkit_army_harness:bread_harness:drug_antidot_harness)%
on_info6 = {=actor_has_item(antirad_harness)} 	      sr_idle@error_choose %=remove_objects(medkit_harness:drug_antidot_harness:medkit_army_harness:medkit_scientic_harness:bread_harness)%

[sr_idle@error_choose]
on_info  = {+medkit_harness_done}          sr_idle@tel_actor_to_ass %=teleport_actor(lim_actor_error_choose_walk:lim_actor_error_choose_look) -medkit_harness_done%
on_info2 = {+antirad_harness_done}         sr_idle@tel_actor_to_ass %=teleport_actor(lim_actor_error_choose_walk:lim_actor_error_choose_look) -antirad_harness_done%
on_info3 = {+medkit_army_harness_done}     sr_idle@tel_actor_to_ass %=teleport_actor(lim_actor_error_choose_walk:lim_actor_error_choose_look) -medkit_army_harness_done%
on_info4 = {+medkit_scientic_harness_done} sr_idle@tel_actor_to_ass %=teleport_actor(lim_actor_error_choose_walk:lim_actor_error_choose_look) -medkit_scientic_harness_done%
on_info5 = {+bread_harness_done}    	   sr_idle@tel_actor_to_ass %=teleport_actor(lim_actor_error_choose_walk:lim_actor_error_choose_look) -bread_harness_done%

[sr_idle@tel_actor_to_ass]
on_game_timer = 10 | sr_idle@wait_again %=spawn_object(drug_antidot_harness:lim_drug_antidot_harness_1_way) =spawn_object(medkit_scientic_harness:lim_medkit_scientic_harness_1_way) =spawn_object(medkit_army_harness:lim_medkit_army_harness_1_way) =spawn_object(antirad_harness:lim_antirad_harness_1_way) =spawn_object(medkit_harness:lim_medkit_harness_1_way) =spawn_object(bread_harness:lim_bread_harness_1_way)%

[sr_idle@end]
on_game_timer = 10 | sr_idle@nil %=remove_ids_objects(lim_tel_northway_zone)%

[sr_idle@nil]
