[logic]
active          = ph_door@locked

[ph_door@locked]
locked          = true
closed          = true
snd_init        = trader_door_close_start
snd_open_start  = trader_door_locked
snd_close_start = trader_door_close_start
snd_close_stop  = trader_door_close_stop
on_info         = {+cit_jail_door_opened} ph_door@unlocked

[ph_door@unlocked]
locked          = true
closed          = false
snd_init        = trader_door_open_start
snd_open_start  = trader_door_open_start
snd_close_start = trader_door_close_start
snd_close_stop  = trader_door_close_stop
on_info         = {-cit_jail_door_opened} ph_door@locked
