[logic]
active = ph_door@locked

[ph_door@locked]
locked = true
closed = true
on_info = {+zat_b14_door_1_unlock} ph_door@close
snd_open_start = trader_door_locked
tip_open = zat_b14_door_locked_hint
not_for_npc = true 

[ph_door@close]
locked = false
closed = true
snd_open_start = metal_small_open
snd_close_start = metal_small_close_start
snd_close_stop = metal_small_close_stop
on_use = ph_door@open
not_for_npc = true 

[ph_door@open]
locked = false
closed = false
snd_open_start = metal_small_open
snd_close_start = metal_small_close_start
snd_close_stop = metal_small_close_stop
on_use = ph_door@close
on_info = {+zat_b14_take_item -zat_b14_close_door} ph_door@close %+zat_b14_close_door%
not_for_npc = true 