lesson planned

adj.

Drunk since last orders, and arranging the journey home as though it required a staff meeting.

Eimaan was lesson planned by closing time, with coats, taxis and walking routes assigned on paper.

Source: Wiktionary