Update ai_resting.lua