Familiar: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>MagiNinjA
m tune up of my pretty page ;)
imported>Zarqon
ran a foreach to list all familiars recognized by mafia 1/29/09; used wiki list formatting
Line 40: Line 40:


== $familiar[constant] ==
== $familiar[constant] ==
    * Angry Goat
* Mosquito
    * Astral Badger
* Leprechaun
    * Attention-Deficit Demon
* Levitating Potato
    * Baby Gravy Fairy
* Angry Goat
    * Baby Yeti
* Sabre-Toothed Lime
    * Barrrnacle
* Fuzzy Dice
    * Blood-Faced Volleyball
* Spooky Pirate Skeleton
    * Cheshire Bat
* Barrrnacle
    * Clockwork Grapefruit
* Howling Balloon Monkey
    * Cocoabo
* Stab Bat
    * Coffee Pixie
* Grue
    * Comma Chameleon
* Blood-Faced Volleyball
    * Crimbo Elf
* none
    * Cymbal-Playing Monkey
* Ghuol Whelp
    * Doppelshifter
* Baby Gravy Fairy
    * Emo Squid
* Cocoabo
    * Feather Boa Constrictor
* Star Starfish
    * Flaming Gravy Fairy
* Hovering Sombrero
    * Frozen Gravy Fairy
* Ghost Pickle on a Stick
    * Fuzzy Dice
* Killer Bee
    * Ghost Pickle on a Stick
* Whirling Maple Leaf
    * Ghuol Whelp
* Coffee Pixie
    * Grue
* Cheshire Bat
    * Hand Turkey
* Jill-O-Lantern
    * Hanukkimbo Dreidl
* Hand Turkey
    * Hovering Sombrero
* Crimbo Elf
    * Howling Balloon Monkey
* Hanukkimbo Dreidl
    * Inflatable Dodecapede
* Baby Yeti
    * Jill-O-Lantern
* Feather Boa Constrictor
    * Killer Bee
* Emo Squid
    * Leprechaun
* Personal Raincloud
    * Levitating Potato
* Clockwork Grapefruit
    * MagiMechTech MicroMechaMech
* MagiMechTech MicroMechaMech
    * Mosquito
* Flaming Gravy Fairy
    * Ninja Pirate Zombie Robot
* Frozen Gravy Fairy
    * Personal Raincloud
* Stinky Gravy Fairy
    * Pet Rock
* Spooky Gravy Fairy
    * Pygmy Bugbear Shaman
* Inflatable Dodecapede
    * Sabre-Toothed Lime
* Pygmy Bugbear Shaman
    * Sleazy Gravy Fairy
* Doppelshifter
    * Snowy Owl
* Attention-Deficit Demon
    * Spirit Hobo
* Cymbal-Playing Monkey
    * Spooky Gravy Fairy
* Temporal Riftlet
    * Spooky Pirate Skeleton
* Sweet Nutcracker
    * Stab Bat
* Pet Rock
    * Star Starfish
* Snowy Owl
    * Stinky Gravy Fairy
* Teddy Bear
    * Sweet Nutcracker
* Ninja Pirate Zombie Robot
    * Teddy Bear
* Sleazy Gravy Fairy
    * Temporal Riftlet
* Wild Hare
    * Whirling Maple Leaf
* Wind-up Chattering Teeth
    * Wild Hare
* Spirit Hobo
    * Wind-up Chattering Teeth
* Astral Badger
* Comma Chameleon
* Misshapen Animal Skeleton
* Scary Death Orb
* Jitterbug
* Nervous Tick
* Reassembled Blackbird
* Origami Towel Crane
* Ninja Snowflake
* Evil Teddy Bear
* Toothsome Rock
* none
* Ancient Yuletide Troll
* Dandy Lion
* O.A.F.
* Penguin Goodfella
* Jumpsuited Hound Dog
* Green Pixie
* Ragamuffin Imp
* Exotic Parrot
* Wizard Action Figure
* Gluttonous Green Ghost
* Casagnova Gnome
* Hunchbacked Minion
* Crimbo P. R. E. S. S. I. E.
* Bulky Buddy Box
* Teddy Borg
* RoboGoose
* El Vibrato Megadrone
* Mad Hatrack

Revision as of 08:28, 29 January 2009

This page has ASH functions and constants related to familiars.

familiar my_familiar()
Returns the familiar you currently have equipped as $familiar[familiar].

boolean have_familiar( familiar pet )
Returns true or false depending on if you have the familiar pet in your terrarium or equipped on you.

boolean equip_familiar( familiar pet )
Returns true or false depending on if the equip_familiar succeeded in equipping the familiar pet as your current familiar.

int familiar_weight( familiar pet )
Returns the raw, unbuffed weight of the familiar pet.

int familiar_weight( familiar pet )
Returns the difference between the unbuffed and buffed weights of your currently equipped familiar.

boolean train_familiar( int nGoal, string sGoal )
Trains your currently-equipped familiar. sGoal can be either “base”, “buffed”, or “turns”, and nGoal is either the target weight or desired number of battles. Returns success value.

item familiar_equipment( familiar pet )
Returns the item that is most common to pet. e.g. This function will return $item[Meat detector] if pet is $familiar[Leprechaun].


Datatype Conversions

string familiar_to_string( familiar pet )
Returns the string name of pet.

familiar string_to_familiar( string str )
Returns $familiar[str] from the string given.

int familiar_to_int ( familiar pet )
Returns the KoL number of familiar pet for raw URL building.

familiar int_to_familiar ( int nFamiliar )
Returns $familiar[pet] from the KoL number of the familiar.


$familiar[constant]

  • Mosquito
  • Leprechaun
  • Levitating Potato
  • Angry Goat
  • Sabre-Toothed Lime
  • Fuzzy Dice
  • Spooky Pirate Skeleton
  • Barrrnacle
  • Howling Balloon Monkey
  • Stab Bat
  • Grue
  • Blood-Faced Volleyball
  • none
  • Ghuol Whelp
  • Baby Gravy Fairy
  • Cocoabo
  • Star Starfish
  • Hovering Sombrero
  • Ghost Pickle on a Stick
  • Killer Bee
  • Whirling Maple Leaf
  • Coffee Pixie
  • Cheshire Bat
  • Jill-O-Lantern
  • Hand Turkey
  • Crimbo Elf
  • Hanukkimbo Dreidl
  • Baby Yeti
  • Feather Boa Constrictor
  • Emo Squid
  • Personal Raincloud
  • Clockwork Grapefruit
  • MagiMechTech MicroMechaMech
  • Flaming Gravy Fairy
  • Frozen Gravy Fairy
  • Stinky Gravy Fairy
  • Spooky Gravy Fairy
  • Inflatable Dodecapede
  • Pygmy Bugbear Shaman
  • Doppelshifter
  • Attention-Deficit Demon
  • Cymbal-Playing Monkey
  • Temporal Riftlet
  • Sweet Nutcracker
  • Pet Rock
  • Snowy Owl
  • Teddy Bear
  • Ninja Pirate Zombie Robot
  • Sleazy Gravy Fairy
  • Wild Hare
  • Wind-up Chattering Teeth
  • Spirit Hobo
  • Astral Badger
  • Comma Chameleon
  • Misshapen Animal Skeleton
  • Scary Death Orb
  • Jitterbug
  • Nervous Tick
  • Reassembled Blackbird
  • Origami Towel Crane
  • Ninja Snowflake
  • Evil Teddy Bear
  • Toothsome Rock
  • none
  • Ancient Yuletide Troll
  • Dandy Lion
  • O.A.F.
  • Penguin Goodfella
  • Jumpsuited Hound Dog
  • Green Pixie
  • Ragamuffin Imp
  • Exotic Parrot
  • Wizard Action Figure
  • Gluttonous Green Ghost
  • Casagnova Gnome
  • Hunchbacked Minion
  • Crimbo P. R. E. S. S. I. E.
  • Bulky Buddy Box
  • Teddy Borg
  • RoboGoose
  • El Vibrato Megadrone
  • Mad Hatrack