Difference between pages "Overdrink" and "Talk:Daily special"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>Eliteofdelete
 
imported>Heeheehee
m (Created page with 'Regarding the RFI: : > brewery <br/> :: Since you are not in a Moxie sign, you may not visit the brewery.<br/> : > microbrewery<br/> :: Since you are not in a Moxie sign, you may…')
 
Line 1: Line 1:
{{
+
Regarding the RFI:
#vardefine:name|overdrink}}{{
+
: > brewery <br/>
#vardefine:return_type|boolean}}{{
+
:: Since you are not in a Moxie sign, you may not visit the brewery.<br/>
 +
: > microbrewery<br/>
 +
:: Since you are not in a Moxie sign, you may not visit the brewery.<br/>
 +
: > omgbrewerywtf<br/>
 +
:: Since you are not in a Moxie sign, you may not visit the brewery.<br/>
 +
: > iWantToVisitTheBreweryAndGetDrunk<br/>
 +
:: Since you are not in a Moxie sign, you may not visit the brewery.<br/>
  
FunctionPage|
+
Huh. I can see the reasoning behind the asterisk padding in the front (see the second input), but... why the one in the back? And why make it use wildcard matching? --[[User:Heeheehee|Heeheehee]] 02:06, 11 April 2010 (UTC)
name={{#var:name}}|
 
 
 
function1={{Function|
 
name={{#var:name}}|
 
aggregate={{#var:aggregate}}|
 
return_type={{#var:return_type}}|
 
return_also={{#var:return_also}}|
 
parameter1={{Param|int|qty}}|
 
parameter2={{Param|item|consume}}|
 
p1desc={{Pspan|qty}} is the quantity to drink|
 
p2desc={{Pspan|consume}} is the item to drink|
 
}}|
 
 
 
function_description=Will attempt to drink {{pspan|qty}} amount of item {{pspan|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 {{f|drink}}, suppresses warning dialogs for overdrinking and drinking without Ode to Booze.|
 
 
 
code1={{CodeSample|
 
title=Code Samples|
 
description=This will drink 1 Mae West without Ode without a warning if you are unable to get Ode.|
 
code=
 
<syntaxhighlight>
 
if (!have_skill($skill[The Ode to Booze]) && !can_interact()) {
 
  if (inebriety_limit() >= my_inebriety()+4) { //Make sure we are not over drinking with the Mea West
 
      print("You don't have Ode and can't get it, drinking Mae West anyways.");
 
      overdrink(1, $item[Mae West]); //Overdrink Prevents Ode Warning
 
  }
 
  else print("You do not have enough inebriety left to prevent overdrunkeness");
 
 
else print("You should cast or acquire the Ode Buff before drinking.");
 
</syntaxhighlight>|
 
moreinfo=
 
Beware: Since it suppresses the overdrink warning, it is wise to do checks to assure you don't accidentally overdrink when using it to prevent the Ode Warning.
 
}}|
 
 
 
see_also={{SeeAlso|can_drink|drink|inebriety_limit|my_inebriety}}|
 
cli_equiv=The CLI command "drink" works similarly.|
 
}}
 
 
 
[[Category:Item Management]]
 

Revision as of 02:06, 11 April 2010

Regarding the RFI:

> brewery
Since you are not in a Moxie sign, you may not visit the brewery.
> microbrewery
Since you are not in a Moxie sign, you may not visit the brewery.
> omgbrewerywtf
Since you are not in a Moxie sign, you may not visit the brewery.
> iWantToVisitTheBreweryAndGetDrunk
Since you are not in a Moxie sign, you may not visit the brewery.

Huh. I can see the reasoning behind the asterisk padding in the front (see the second input), but... why the one in the back? And why make it use wildcard matching? --Heeheehee 02:06, 11 April 2010 (UTC)