[logic]
active = sr_idle@wait

[sr_idle@wait]
on_info = {=neer_24_00} sr_idle@sound %=set_weather( af3_dark_thunder:true )%

[sr_idle@sound]
on_info  = {+start_spawn_mother_heart} sr_idle@quest_control_0 %=actor_is_thinking_only(thoughts_in_my_head_24)%
on_info2 = {=actor_in_zone(sr_jup_cemetery) =neer_24_00} %=play_monsters_sound%
on_info3 = {!is_rain =neer_24_00} %=set_weather( af3_dark_thunder:true )%
on_info4 = {=bad_cemetery_time} sr_idle@wait

[sr_idle@quest_control_0]
on_info  = {+all_zombies_wake_up} sr_idle@quest_control_1 %=spawn_mother_heart(af_mother_heart_way)%

[sr_idle@quest_control_1]
on_info =  {=actor_has_item( af_mother_heart ) !surge_started} %=start_surge%
on_game_timer  = 900 | {!actor_has_item( af_mother_heart )} sr_idle@end %=remove_mother_heart +actor_aspirant_quest_fail%
on_game_timer2 = 900 | {=actor_has_item( af_mother_heart )} sr_idle@end %+actor_has_mother_heart =remove_counter(mother_heart)%

[sr_idle@end]
on_info = {=dist_to_actor_ge(200)} sr_idle@nil %=remove_squads(jup_a5_zombi_1_squad:jup_a5_zombi_2_squad:jup_a5_zombi_3_squad:jup_a5_zombi_4_squad:jup_a5_zombi_5_squad:jup_a5_zombi_6_squad:jup_a5_zombi_7_squad:jup_a5_zombi_8_squad)%

[sr_idle@nil]
