My familiar

From Kolmafia
Revision as of 08:50, 8 November 2014 by imported>Bale (Reverted edits by Bale (talk) to last revision by StDoodle)
Jump to navigation Jump to search

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]);
}

Special

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