He should have seen it coming. “Walk naked to the restaurant on the corner, order takeaway, and do whatever it takes to get the owner to give you credit. I won’t let you back inside without the food.”
Yes, this was exactly the kind of forfeit his friend would come up with for losing a bet.