Difference between pages "Minstrel level" and "My bjorned familiar"
(Difference between pages)
Jump to navigation
Jump to search
imported>Bale |
imported>Bale (r13638) |
||
Line 1: | Line 1: | ||
{{ | {{ | ||
− | #vardefine:name| | + | #vardefine:name|my_bjorned_familiar}}{{ |
− | #vardefine:return_type| | + | #vardefine:return_type|familiar}}{{ |
FunctionPage| | FunctionPage| | ||
Line 10: | Line 10: | ||
aggregate={{#var:aggregate}}| | aggregate={{#var:aggregate}}| | ||
return_type={{#var:return_type}}| | return_type={{#var:return_type}}| | ||
− | return_also={{#var:return_also}} | + | return_also={{#var:return_also}}| |
}}| | }}| | ||
− | function_description= | + | function_description=Returns the familiar currently occupying the Buddy Bjorn.| |
− | + | code1={{CodeSample| | |
+ | title=Code Sample| | ||
+ | description=Returns true if the El Vibrato Megadrone is successfully equipped to the Buddy Bjorn.| | ||
+ | code= | ||
+ | <syntaxhighlight> | ||
+ | boolean bjornify_megadrone() { | ||
+ | if (my_bjorned_familiar()!=$familiar[el vibrato megadrone]) | ||
+ | return bjornify_familiar($familiar[el vibrato megadrone]); | ||
+ | return false; | ||
+ | } | ||
+ | </syntaxhighlight>}}| | ||
− | see_also={{SeeAlso| | + | see_also={{SeeAlso|enthrone_familiar|my_enthroned_familiar|bjornify_familiar|equipped_item}}| |
}} | }} | ||
− | [[Category: | + | [[Category:Equipment]] |
Latest revision as of 05:19, 10 November 2014
Function Syntax
familiar my_bjorned_familiar()
Returns the familiar currently occupying the 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;
}