Create

From Kolmafia
Revision as of 18:57, 5 March 2010 by imported>StDoodle (Created page with '{{#vardefine:name|create}} {{#vardefine:return_type|boolean}} {{FunctionPage| name={{#var:name}}| function_category=Item Management| function1={{Function| name={{#var:name}}| a…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search



needs(code_samples);

Function Syntax

boolean create(int qty ,item make )

  • qty is the quantity to create
  • make is the item to create

Attempts to create qty of make, following your KoLmafia settings regarding purchases to gather ingredients & require boxen. Returns true if all items are successfully created, and false otherwise.

CLI Equivalent

The CLI command "create" works similarly when supplied with an item as a parameter.

See Also

retrieve_item()


Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific question has been raised:

  • Is the return value given correct? Any exceptions?