Put stash: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle Created page with '{{#vardefine:name|put_stash}} {{#vardefine:return_type|boolean}} {{FunctionPage| name={{#var:name}}| function_category=Item Management| function1={{Function| name={{#var:name}}…' |
imported>Bale mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:name|put_stash}} | {{ | ||
{{#vardefine:return_type|boolean}} | #vardefine:name|put_stash}}{{ | ||
#vardefine:return_type|boolean}}{{ | |||
FunctionPage| | |||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 24: | Line 24: | ||
cli_equiv=The CLI command "stash" with the parameter "put" works similarly. | cli_equiv=The CLI command "stash" with the parameter "put" works similarly. | ||
}} | }} | ||
[[Category:Item Management]] |
Latest revision as of 22:03, 21 May 2010
needs(code_samples);
Function Syntax
boolean put_stash(int qty ,item it )
- qty is the quantity to move
- it is the item to move
Attempts to move qty of it to your clan stash from your main inventory. Returns true if the move succeeds and false if it does not.
CLI Equivalent
The CLI command "stash" with the parameter "put" works similarly.