Difference between revisions of "Take storage"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
m
imported>StDoodle
m
Line 1: Line 1:
{{#vardefine:name|take_storage}}
+
{{
{{#vardefine:return_type|boolean}}
+
#vardefine:name|take_storage}}{{
 +
#vardefine:return_type|boolean}}{{
  
{{FunctionPage|
+
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
 
function_category=Item Management|
 
function_category=Item Management|

Revision as of 21:12, 8 March 2010

needs(code_samples);

Function Syntax

boolean take_storage(int qty ,item it )

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

Attempts to move qty of it from Hagnk's Ancestral Storage to your main inventory. Returns true if the move succeeds and false if it does not.

CLI Equivalent

The CLI command "pull" functions similarly.

See Also

take_closet() | take_display() | take_stash()