Take closet: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>Bale
mNo edit summary
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Item Management|


function1={{Function|
function1={{Function|
Line 33: Line 32:
cli_equiv=The CLI command "closet" with the parameter "take" works similarly.
cli_equiv=The CLI command "closet" with the parameter "take" works similarly.
}}
}}
[[Category:Item Management]]

Revision as of 22:03, 21 May 2010

needs(code_samples);

Function Syntax

boolean take_closet(int qty )

boolean take_closet(int qty ,item it )

  • qty is the quantity to move
  • it is the item to move

Attempts to move qty of it from your display case to your main inventory. Returns true if the move succeeds and false if it does not. If used without it specified, this function will move meat instead of an item.

CLI Equivalent

The CLI command "closet" with the parameter "take" works similarly.

See Also

put_closet() | take_display() | take_stash() | take_storage()