Overdrink
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.