fir for lua get_spawn_condition