From the NannyMUD documentation
2003-04-09
NAME
query_can_drink_alcohol - Can the player drink this much/strong?LOCATION
This function is located in /obj/player.AVAILABILITY
This function can be called by any object.SYNTAX
int query_can_drink_alcohol(int strength)DESCRIPTION
This function can be called to see if the player can drink the drink with strength 'strenght'.RETURN VALUES
0 No, the player cannot drink that strong a drink. 1 Yes, the player can drink that strong a drink.SEE ALSO
drink_alcohol in lfun/player/drink_alcohol