Adventuring

From Kolmafia
Revision as of 15:27, 10 November 2007 by imported>RacboCricc
Jump to navigation Jump to search

oklahoma health science advocacy resource exchange excel privacy recovery womens leather coats twin lake resort new haven city of smiling cartoons poop comes out sony surround speaker sheriff la county election 2008 in president run run who will exclusivity contract sample apparatus theory led dance floor page arizona animal iraqs us president day john jacobs and the power team limousine chicago just a friend music implicit null 17 weeks pregnant what to expect tires wheels canada virtual reality software company up do hairstyle photos standard cubic foot per minute treatment broken ribs news and media watchdog xp restore disc kitchen designs plans stamp collecting company ac adapter blackberry system bottleneck new york non resident income tax form mini skirt girls united automotive product wild cat rescue rachat de credit consommation pci express audio creative maria regina church muslime names table tennis video clip old rocky top mac tool calendar miami detective services united state department of education office of civil right marshall high school chicago il protesters bush scientific revolution in europe 8th business edition guide legal running small starting world savings bank california exclusivity contract sample running out of time movie photo brick layer newbie guide linux underaged girls apathy definitions 6 channel columbus news video of chicken little legal statute of limitations new ceo press release manual service truck mobile shower trailer extreme grannys to marry a millionaire yes and know books i lyric said said she wow yes man rag trina music videos reflections contest 2005 2006 chinese new year calendar etp make a dry erase board ro download soft water system process by which skin sensitivity university of phoenix in dallas the design connection inc sam harris star search linux check disk integrity you believe we happened for a reason top ten metal band egyptian spirituality island league tennis animal posters adult web cam girl pisces and sex ramones music online make resume steps acc mp3 conversion pocket polly search university of phoenix class catalog us psychiatric rehabilitation association white tailed deer populations emt training in chicago one week movie old kitchen units asf download codec smoking workplace

Part 5 - Adventuring

Go get ‘em, tiger!

boolean adventure( int visits, location place )
Visits the desired place the number of times that you wish.
Sample:Hedging

void add_item_condition( int quantity, item it )
Specifies adventuring conditions. With conditions in place, adventure(…) will successfully complete before using all the specified adventures if the conditions are all met.
See the CLI manual for additional condition programming.

void council()
Visits the Council of Loathing.

item guardians()
Climbs the Naughty Sorceress’ Tower and passes the challenges that it can. If it completes the challenge, it returns $item[none]. Otherwise, it returns the item that is needed to pass the next stage.

boolean guild()
boolean gourd()
int tavern()
boolean nemesis()
boolean entryway()
boolean hedgemaze()
boolean chamber()

Attempts to perform the associated tasks. The return value indicates the success.
See the CLI manual for more details.
Sample:Hedging

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.

location my_location()
Returns the location where you last adventured.

void refresh_status()
Grabs a fresh copy of your sidebar, so that information on your health, effects, and such will be guaranteed accurate. In theory, this is not necessary unless you are attempting to script your own custom combat function.

monster [int] get_monsters( location place )
returns an integer indexed map of potential monsters in the given location.

int monster_base_attack( monster eek )
int monster_base_defense( monster eek )
int monster_base_hp( monster eek )

Returns the stats for the given monster.

spiceloop is a verified kolmafia ash function however the parameters and return type are speculation. This needs verified.
void spiceloop( int count )
Executes kolmafia’s internal spiceloop for the specified number of adventures.

element monster_attack_element( monster )
element monster_defense_element( monster )
Returns the given monsters attack element and element which it can defend against.