Familiar weight

From Kolmafia
Revision as of 07:35, 10 March 2010 by imported>Heeheehee (Created page with example.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Syntax

int familiar_weight(familiar fam )

  • fam is the familiar type (e.g. Mosquito, not "Nos Feratu")

Returns the base weight of the specified familiar.

Code Samples

Checks to see how heavy a specified familiar is, including all weight-adjusting effects.

boolean fam_weight( familiar fam ) {
   return ( familiar_weight(fam) + weight_adjustment() );
}

See Also

weight_adjustment() | my_familiar()

Special

Returns 0 when not logged in.