[logic]
active = sr_idle

[sr_idle]
on_info = {+esc_habar_mill_spawn} sr_idle@1 %=spawn_object(esc_trader_habar:esc_trader_habar_1_spawn:0)%

[sr_idle@1]
on_info = {=actor_has_item(esc_trader_habar)} sr_idle@wait %+esc_actor_inside_habar%

[sr_idle@wait]
