Create ai_resting.lua