My enthroned familiar: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Heeheehee
m Other page added to go along with enthrone(). ASH.php probably will need updating some time soon.
 
imported>Bale
mNo edit summary
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Equipment|


function1={{Function|
function1={{Function|
Line 30: Line 29:
see_also={{SeeAlso|enthrone|equipped_item}}|
see_also={{SeeAlso|enthrone|equipped_item}}|
}}
}}
[[Category:Equipment]]

Revision as of 22:12, 21 May 2010

Function Syntax

familiar my_enthroned_familiar()

Returns the familiar currently enthroned.

Code Sample

Returns true if the El Vibrato Megadrone is successfully equipped to the Crown of Thrones.

boolean enthrone_megadrone() {
   if (my_enthroned_familiar()!=$familiar[el vibrato megadrone])
      return enthrone($familiar[megadrone]);
   return false;
}

See Also

enthrone() | equipped_item()