Take storage: Difference between revisions
Jump to navigation
Jump to search
imported>Heeheehee m Expanded on the CLI equivalent (added another one). |
imported>Bale mNo edit summary |
||
Line 5: | Line 5: | ||
FunctionPage| | FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 25: | Line 24: | ||
cli_equiv=The CLI commands "pull" and "hagnk" function similarly.| | cli_equiv=The CLI commands "pull" and "hagnk" function similarly.| | ||
}} | }} | ||
[[Category:Item Management]] |
Revision as of 22:03, 21 May 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 commands "pull" and "hagnk" function similarly.