[logic]
active = remark@wait
trade = misc\trade\trade_trader_esc_stalker.ltx
level_spot = trader
on_death = death

[remark@wait]
anim = wait_trade
on_signal = anim_end | smartcover@near_table
;on_game_timer = 20 | smartcover@near_table
meet = no_meet
invulnerable = true
combat_ignore_cond = true
combat_ignore_keep_when_attacked = true

[smartcover@near_table]
cover_name = esc_smart_cover_trader_1
loophole_name = lead_stand_look_at_table
cover_state = idle_target
combat_ignore_cond = true
combat_ignore_keep_when_attacked = true
invulnerable = true
out_restr = esc_space_restrictor_in_restr_1
def_state_standing = wait_trade
def_state_moving = walk_noweap
def_state_moving1 = walk_noweap
meet = meet@trader


[death]
on_info = %+esc_stalker_trader_dead%

[meet@trader]
meet_state		= 3|nil@nil
meet_state_wpn	= 3|nil@nil
victim			= 3|actor
victim_wpn		= 3|actor
precond 		= usability
sound_start 	= esc_stalker_trader_meet
sound_stop 		= esc_stalker_trader_meet_bye
use				= {!actor_enemy} true, false
use_wpn			= {!actor_enemy} true, false
;use				= true
;use_wpn				= true
abuse			= false
quest_npc = true
