Weight adjustment

From Kolmafia
Revision as of 07:31, 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 weight_adjustment()

Returns the cumulative total of all familiar weight adjustments from equipment, effects, passive skills, and area modifiers.

Code Samples

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

boolean fam_weight() {
   return ( familiar_weight(my_familiar()) + weight_adjustment() );
}

See Also

familiar_weight() | my_familiar()

Special

Returns 0 when not logged in.