Mmg make bet: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
mNo edit summary
Mcroft (talk | contribs)
No edit summary
 
Line 1: Line 1:
{{
This function was removed when the make money game was removed from KoL.
#vardefine:name|mmg_make_bet}}{{
#vardefine:return_type|int}}{{


FunctionPage|
Place a bet of the specified {{pspan|amount}} using meat from inventory if {{pspan|storage}} is false or from Hagnk's storage if it is true. Returns the bet ID # if successful, or 0 if unsuccessful. You will be unsuccessful if you already have 5 bets out or don't have enough meat; or, presumably, if you don't have a casino pass.
name={{#var:name}}|
 
function1={{Function|
name={{#var:name}}|
aggregate={{#var:aggregate}}|
return_type={{#var:return_type}}|
return_also={{#var:return_also}}|
parameter1={{Param|int|amount}}|
parameter2={{Param|boolean|storage}}|
p1desc={{Pspan|amount}} is the amount of the bet|
p2desc={{Pspan|storage}} is true if using meat from Hagnk's storage or false to use meat from inventory|
}}|
 
function_description=Place a bet of the specified {{pspan|amount}} using meat from inventory if {{pspan|storage}} is false or from Hagnk's storage if it is true. Returns the bet ID # if successful, or 0 if unsuccessful. You will be unsuccessful if you already have 5 bets out or don't have enough meat; or, presumably, if you don't have a casino pass.|
 
needscode=yes|
 
}}
 
[[Category:Money Making Game]]

Latest revision as of 19:55, 24 April 2021

This function was removed when the make money game was removed from KoL.

Place a bet of the specified amount using meat from inventory if storage is false or from Hagnk's storage if it is true. Returns the bet ID # if successful, or 0 if unsuccessful. You will be unsuccessful if you already have 5 bets out or don't have enough meat; or, presumably, if you don't have a casino pass.