
--- Vybegallo

[logic@vybegallo]
   suitable = {=check_npc_name(vybegallo)} true
   prior = 500
   active = beh@vybegallo_job

[beh@vybegallo_job]
	behaviour_state = beh_move
	target = waypoint
	path_end = loop
	pt1 = 88860000,idle | pos:-0.96449947357178,2.4984850883484,5.1722574234009 look:-1.9572842717171,2.4984850883484,5.0705771446228

[logic@vybegallo_2]
   suitable = {=check_npc_name(vybegallo)} true
   prior = 500
   active = beh@vybegallo_job_2
   
[beh@vybegallo_job_2]
	behaviour_state = beh_move
	target = waypoint
	walk_anim = patrol
	combat_ignore_cond = {=actor_true_enemy =check_enemy_name(actor)} false, true
	combat_ignore_keep_when_attacked = false
	invulnerable = {!actor_true_enemy} true, false
	path_end = loop
	pt1 = 88860000,idle | pos:42.025260925293,10.499049186707,16.939895629883 look:42.941039323807,10.499049186707,17.068541884422
	
--- Alyosha
	
[logic@alyosha_shyogolov]
   suitable = {=check_npc_name(alyosha_shyogolov)} true
   prior = 500
   active = beh@alyosha_shyogolov_job

[beh@alyosha_shyogolov_job]
	behaviour_state = beh_move
	
	target = waypoint
	path_end = loop
	pt1 = 88860000,guard | pos:252.66156005859,-0.2021781951189,76.431800842285 look:252.27964878082,-0.2021781951189,75.510967731476


[logic@alyosha_shyogolov_2]
   suitable = {=check_npc_name(alyosha_shyogolov)} true
   prior = 500
   active = beh@alyosha_shyogolov_job_2

[beh@alyosha_shyogolov_job_2]
	behaviour_state = beh_move
	target = waypoint
	path_end = loop
	pt1 = 88860000,sit_ass_drink_vodka | pos:-6.3672633171082,7.4974012374878,4.344096660614 look:-5.3891610503197,7.4974012374878,4.4683983996511
	

--- Sarpedon

[logic@sarpedon_logic]
   suitable = {=check_npc_name(sarpedon)} true
   prior = 500
   active = beh@sarpedon_job
   
[beh@sarpedon_job]
	gather_items_enabled = false
	behaviour_state = beh_move
	target = waypoint
	walk_anim = patrol
	combat_ignore_cond = {=is_warfare} false, {=actor_true_enemy =check_enemy_name(actor)} false, true
	combat_ignore_keep_when_attacked = {=is_warfare} false, true
	invulnerable = {=is_warfare} false, {!actor_true_enemy} true, false
	
	path_end = loop
	pt1 = 100000,sit_ass | pos:20.758554458618,0.15221303701401,11.817081451416 look:19.781954109669,0.15221303701401,11.732858784497
	
	
--- Like Rats in a Trap

[logic@bh_rat_guards_1]
   suitable = {=target_squad_name(bh_rat_guards_1_squad)} true
   prior = 500
   active = beh@bh_rat_guards_1_1_job

[logic@bh_rat_guards_2]
   suitable = {=target_squad_name(bh_rat_guards_1_squad)} true
   prior = 500
   active = beh@bh_rat_guards_2_1_job

[logic@bh_rat_guards_3]
   suitable = {=target_squad_name(bh_rat_guards_1_squad)} true
   prior = 500
   active = beh@bh_rat_guards_3_1_job

[logic@bh_rat_guards_4]
   suitable = {=check_npc_name(bh_rat_guards_naruchnik)} true
   prior = 500
   active = beh@bh_rat_guards_4_1_job

[logic@bh_rat_guards_5]
   suitable = {=target_squad_name(bh_rat_guards_1_squad)} true
   prior = 500
   active = beh@bh_rat_guards_5_1_job

[logic@bh_rat_guards_6]
   suitable = {=target_squad_name(bh_rat_guards_1_squad)} true
   prior = 500
   active = beh@bh_rat_guards_6_1_job   
   
[beh@rat_guards_base]
	meet = no_meet
	behaviour_state = beh_move
	target = waypoint
	walk_anim = patrol
	path_end = loop

[beh@bh_rat_guards_1_1_job]:beh@rat_guards_base
	pt1 = 100000,guard | pos:-39.03401184082,-0.0018443763256073,43.549373626709 look:-39.030780088622,-0.0018443763256073,42.550311863422
	
[beh@bh_rat_guards_2_1_job]:beh@rat_guards_base
	pt1 = 100000,guard | pos:-73.328407287598,1.5947494506836,15.870664596558 look:-73.177272751927,1.5947494506836,14.899828910828
	
[beh@bh_rat_guards_3_1_job]:beh@rat_guards_base
	pt1 = 100000,guard | pos:-75.507743835449,1.7313983440399,8.8472261428833 look:-75.153992801905,1.7313983440399,9.7309593558311
	
[beh@bh_rat_guards_4_1_job]
	behaviour_state = beh_move
	target = waypoint
	walk_anim = patrol
	path_end = loop
	pt1 = 100000,guard | pos:-44.158550262451,-0.20010030269623,-5.9492511749268 look:-45.03028523922,-0.20010030269623,-5.4725189805031
	
[beh@bh_rat_guards_5_1_job]:beh@rat_guards_base
	pt1 = 100000,guard | pos:-44.264957427979,-0.2002044916153,-8.7417984008789 look:-45.08905673027,-0.2002044916153,-8.1764976978302
	
[beh@bh_rat_guards_6_1_job]:beh@rat_guards_base
	pt1 = 100000,guard | pos:-42.33907699585,-0.20185586810112,-4.5265274047852 look:-43.171230971813,-0.20185586810112,-3.9731520414352