Difference between revisions of "Creatable turns"

From Kolmafia
Jump to navigation Jump to search
imported>Trifectorce
(Created page with "{{ #vardefine:name|creatable_turns}}{{ #vardefine:return_type|int}}{{ FunctionPage| name={{#var:name}}| function1={{Function| name={{#var:name}}| aggregate={{#var:aggregate}...")
(No difference)

Revision as of 19:40, 1 February 2015

needs(code_samples);

Function Syntax

int creatable_turns(item check_me )

int creatable_turns(item check_me ,int qty )

int creatable_turns(item check_me ,int qty ,boolean free )

  • check_me is the item to check
  • qty is the quantity of check_me to check
  • free determines whether or not to account for free crafting turns

Returns the number of turns required to craft check_me (qty times, or 1). If free is true, this function will take into account free crafting from things like Rapid Prototyping or Thor's Pliers, but will always take into account the chef-in-the-box, bartender-in-the-box, and Innabox regardless of the boolean setting.

See Also

create()