chore(engine): move ScriptCondition to scripting package