Difference between revisions of "Use familiar"

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
(Created page with '{{#vardefine:name|use_familiar}} {{#vardefine:return_type|familiar}} {{FunctionPage| name={{#var:name}}| function_category=Equipment| function1={{Function| name={{#var:name}}| …')
 
imported>Bale
m
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#vardefine:name|use_familiar}}
+
{{
{{#vardefine:return_type|familiar}}
+
#vardefine:name|use_familiar}}{{
 +
#vardefine:return_type|boolean}}{{
  
{{FunctionPage|
+
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
function_category=Equipment|
 
  
 
function1={{Function|
 
function1={{Function|
Line 22: Line 22:
 
cli_equiv=The CLI command "familiar" has the same function when a familiar type is specified as the only parameter.|
 
cli_equiv=The CLI command "familiar" has the same function when a familiar type is specified as the only parameter.|
 
}}
 
}}
 +
 +
[[Category:Equipment]]

Revision as of 22:11, 21 May 2010

needs(code_samples);

Function Syntax

boolean use_familiar(familiar buddy )

  • buddy is the familiar to equip

Switches your current familiar for the the familiar buddy specified. Returns true if the specified familiar buddy is your current familiar after the function's completion (so it will return true if you try to switch to your current familiar).

CLI Equivalent

The CLI command "familiar" has the same function when a familiar type is specified as the only parameter.

See Also

have_familiar()