player.x = bed.x player.y = bed.y self:newAction("draw", homeDoor) self:newAction("draw", bed) self:newAction("draw", computer) self:newAction("draw", player) sequence(function(wait, resume) message("Whelp, time for another week of work. [>]") world:once("keyPressed", resume) wait() message("Work's been super busy. [>]") world:once("keyPressed", resume) wait() message("It's a tough market to be a software shop. [>]") world:once("keyPressed", resume) wait() message("Anyways, I should probably get to work.") world:newAction("update", player) self:newAction("draw", function() if self:interact() then world.active = true if player:touches(homeDoor) then self:goToWork() elseif player:touches(computer) then message("Wish I had time for a quick browse, but I can't afford the distraction.") elseif player:touches(bed) then message("haha, I wish I could sleep in more. But need to get that money.") end end end) end)