Adventuring

From Kolmafia
Revision as of 02:10, 31 October 2007 by 205.174.199.4 (talk)
Jump to navigation Jump to search

karaoke downloads mp3 strivectin cosmetics weightwatchers car insurance uk auctions exterior doors air soft gun irritable bowel syndrome franchise novelty phone low fare airline tickets mac cosmetics cheap hotels photo personal authentic designer handbags commerce ga bad credit personal loans computer table gm auto parts turquoise jewelry kissimmee vacation home kaspersky key universal remote jeep grand cherokee parts ford truck holiday online casino site xango amortization schedules gucci handbag numerology house insurance mcafee antivirus adult costumes bed bath last minute airfare discount web cams case knives alaska airlines xenical rihanna chocolate gas credit cards no fax payday loan auto auction new homes las vegas united airline flight wreath 2007 bmw x5 online games central air conditioner linksys wireless router free business card template cheap perfume enalapril kids furniture kohler plumbing british airway gmc pickup ferret cages airline cheap ticket experian kitchen table with bench spas phones basic poker rule best stay home business opportunity lg mobile phone exelon free dating site doctorate degrees wedding ideas cheap plane ticket viagra pharmacy thomas the tank engine flu cheap disneyland tickets us airway airline oracle voip antique table cocktail buy levitra central air conditioner us cellular free ringtones international trucks student airfare collectable penis enlargement pill bdsm personal poster discount international airline ticket hand bags rolex watch replicas palace resorts antique telephones teen bedding smock jeep picture data entry work

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.