Take display: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
Created page with '{{#vardefine:name|take_display}} {{#vardefine:return_type|boolean}} {{FunctionPage| name={{#var:name}}| function_category=Item Management| function1={{Function| name={{#var:nam…'
 
imported>StDoodle
mNo edit summary
Line 1: Line 1:
{{#vardefine:name|take_display}}
{{
{{#vardefine:return_type|boolean}}
#vardefine:name|take_display}}{{
#vardefine:return_type|boolean}}{{


{{FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Item Management|
function_category=Item Management|

Revision as of 21:11, 8 March 2010

needs(code_samples);

Function Syntax

boolean take_display(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.

CLI Equivalent

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

See Also

put_display() | take_closet() | take_stash() | take_storage()