[meet@a]
meet_state 	= 3|nil@nil
sound_start = gar_bandit_leader_meet_a
sound_stop 	= gar_bandit_leader_meet_bye_a
use_wpn	= true
use = true
allow_break = false
trade_enable = false
quest_npc = true

[meet@b]
meet_state 	= 3|nil@nil
sound_start = gar_bandit_leader_meet_b
sound_stop 	= gar_bandit_leader_meet_bye_b
use_wpn	= true
use = true
allow_break = false
trade_enable = false
quest_npc = true

[logic]
active = walker@start_leader
level_spot = quest_npc
;suitable = {=check_npc_name(gar_bandit_leader)}
;job_online = true
;prior = 130

[walker@start_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
;2nd iteration
on_info = {+gar_quest_kill_digger_traitor_done} walker@kill_digger_traitor_leader
on_info2 = {+gar_quest_kill_digger_traitor_call} remark@talk_with_traitor_leader
meet = meet@a

[remark@talk_with_traitor_leader]
target = gar_smart_terrain_3_5_bandit_leader_look, 0
anim = wait_rac_noweap
snd = gar_bandit_leader_kill_digger_traitor_call
;snd_anim_sync = true
on_signal = sound_end | walker@kill_digger_traitor_leader
meet = no_meet

[walker@kill_digger_traitor_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
;2nd iteration
on_info = {+gar_quest_kill_smuggler_told} walker@kill_smuggler_leader
on_info2 = {+gar_quest_kill_digger_traitor_done} walker@kill_digger_traitor_a_leader %+gar_quest_kill_smuggler_prepare%, {+gar_quest_kill_digger_traitor_gone} walker@kill_digger_traitor_b_leader %=remove_squad(gar_digger_traitor) +gar_quest_kill_smuggler_prepare%
meet = meet@a

[walker@kill_digger_traitor_a_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
on_timer = 3000 | walker@kill_digger_traitor_speech_leader %=play_sound(gar_bandit_leader_kill_digger_traitor_done_a:bandit:gar_bandit_leader_name)%
meet = meet@a

[walker@kill_digger_traitor_b_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
on_info = walker@kill_digger_traitor_speech_leader %=play_sound(gar_bandit_leader_kill_digger_traitor_done_b:bandit:gar_bandit_leader_name)%
meet = meet@a

[walker@kill_digger_traitor_speech_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
on_signal = sound_end | walker@kill_digger_traitor_speech_catch_leader %=play_sound(gar_bandit_leader_kill_digger_traitor_done:bandit:gar_bandit_leader_name)%
meet = no_meet

[walker@kill_digger_traitor_speech_catch_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
on_signal = sound_end | walker@kill_smuggler_leader %+gar_quest_kill_smuggler_told%
meet = no_meet

[walker@kill_smuggler_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
;2nd iteration
on_info = {+gar_quest_destroy_flea_market_told} walker@destroy_flea_market_leader
on_info2 = {+gar_quest_kill_smuggler_done} walker@kill_smuggler_speech_leader %=play_sound(gar_bandit_leader_kill_smuggler_done:bandit:gar_bandit_leader_name)%
meet = meet@a

[walker@kill_smuggler_speech_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
on_signal = sound_end | walker@destroy_flea_market_leader %+gar_quest_destroy_flea_market_told%
meet = no_meet

[walker@destroy_flea_market_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
;2nd iteration
on_info = {+gar_quest_bandit_reward_started} walker@join_leader
on_info2 = {+gar_quest_destroy_flea_market_done} walker@destroy_flea_market_wait_leader %+gar_bandit_join_talked_first%
meet = meet@a

[walker@destroy_flea_market_wait_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
on_timer = 5000 | walker@destroy_flea_market_speech_leader %=play_sound(gar_bandit_leader_destroy_flea_market_done:bandit:gar_bandit_leader_name)%
meet = meet@a

[walker@destroy_flea_market_speech_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
on_signal = sound_end | walker@join_leader %+gar_quest_bandit_reward_started%
meet = no_meet

[walker@join_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
;2nd iteration
on_info = {+gar_bandit_join_invited} walker@main_leader
on_info2 = {+gar_bandit_join_enemy_wait +agru_open_story_door +gar_quest_destroy_flea_market_done !is_faction_enemy_to_actor(bandit)} walker@main_leader %=play_sound(gar_bandit_leader_join_message:bandit:gar_bandit_leader_name) +gar_bandit_join_invited%
meet = meet@a

[walker@main_leader]
path_walk = gar_smart_terrain_3_5_bandit_leader_walk
path_look = gar_smart_terrain_3_5_bandit_leader_look
meet = meet@b