[logic]
active = ph_door@locked

[ph_door@locked]
locked = true
closed = true
hit_on_bone = 2|ph_door@close

[ph_door@close]
locked = false
closed = true
snd_open_start = trader_door_open_start
on_use = ph_door@open %+red_polter_spawn =smart_terrain_force_update(red_smart_terrain_monsters_4)%


[ph_door@open]
locked = false
closed = false
snd_close_start = trader_door_close_start
snd_close_stop = trader_door_close_stop
on_use = ph_door@close

