Inebriation algorithm

An inebriation algorithm was created by the droid I-5YQ in order for him to experience intoxication.