Overdrink

From Kolmafia
Revision as of 22:06, 21 May 2010 by imported>Bale
Jump to navigation Jump to search
needs(code_samples);

Function Syntax

boolean overdrink(int qty ,item consume )

  • qty is the quantity to drink
  • consume is the item to drink

Will attempt to drink qty amount of item consume. Returns true for drinkable items and false for items that are not. (The return value does not reflect whether or not the items were actually consumed.) Using this command, rather than drink(), suppresses warning dialogs for overdrinking and drinking without Ode to Booze.

CLI Equivalent

The CLI command "drink" works similarly.

See Also

can_drink() | drink() | inebriety_limit() | my_inebriety()