adj.
Drunk by closing time, and arranging the pub’s conduct into a complete but locally applicable set of rules.
Source: Wiktionary