[logic]
active = ph_door@open

[ph_door@close]
slider = true
;locked = true
closed = true
show_tips = false
snd_close_start = trader_door_close_start
snd_close_stop = trader_door_close_stop
on_info = {+yan_labx16_switcher_primary_off} ph_door@open_final
;on_use = ph_door@open

[ph_door@open]
slider = true
;locked = true
closed = false
show_tips = false
snd_open_start = trader_door_open_start
on_info = {=actor_in_zone(yan_zasada_restrictor) !is_alive(x16_burer_1)} ph_door@close %=play_snd_3d(ambient\x16\x16_grate_fall)%
;on_use = ph_door@close

[ph_door@open_final]
slider = true
;locked = true
closed = false
show_tips = false
snd_open_start = trader_door_open_start