Bjornify familiar: Difference between revisions
Jump to navigation
Jump to search
imported>Bale r13638 |
imported>Bale No edit summary |
||
Line 19: | Line 19: | ||
code1={{CodeSample| | code1={{CodeSample| | ||
title=Code Sample| | title=Code Sample| | ||
description=Returns true if the El Vibrato Megadrone is successfully equipped to the | description=Returns true if the El Vibrato Megadrone is successfully equipped to the Buddy Bjorn.| | ||
code= | code= | ||
<syntaxhighlight> | <syntaxhighlight> |
Latest revision as of 05:18, 10 November 2014
Function Syntax
boolean bjornify_familiar(familiar target )
- target is the familiar to enthrone.
Bjornifies the specified familiar in a Buddy Bjorn. Returns false if something goes wrong with the bjornifying process (e.g. the player does not have the specified familiar in his terrarium, or the player does not have a Buddy Bjorn).
Code Sample
Returns true if the El Vibrato Megadrone is successfully equipped to the Buddy Bjorn.
boolean bjornify_megadrone() {
if (my_bjorned_familiar()!=$familiar[el vibrato megadrone])
return bjornify_familiar($familiar[el vibrato megadrone]);
return false;
}
CLI Equivalent
The CLI command bjornify has similar functionality.
See Also
Special
This command automatically equips the Buddy Bjorn if it is not currently equipped.