My familiar: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
see also
imported>Bale
see also
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 08:51, 8 November 2014

Function Syntax

familiar my_familiar()

Returns your current familiar.

Code Samples

If your familiar is a leprechaun, retrieve a meat detector.

if(my_familiar() == $familiar[leprechaun]) {
retrieve_item(1 , $item[meat detector]);
}

See Also

my_companion() | my_thrall()

Special

When not logged in, returns $familiar[none] (needs spading).