Adventuring

From Kolmafia
Revision as of 09:20, 1 November 2007 by imported>RacboCricc
Jump to navigation Jump to search

beauty supplies childrens school backpacks bottled spring water india tv antenna digital scanners discover credit card samsung x427 country house plan cheap swimming pools bargains discount airline ticket birmingham uk hotel mortgage payments calculator adult dating sites free music download dale earnhardt nokia 6230 basketball betting book publishing cosmetic surgery life insurance lowest fare air ticket six flags discount electric generators baby costumes best kitty litter last minute travel models bolt china airline dating online single t mobile ringtones older woman personal best cell phone plan prepaid decoration free verizon wireless ringtone book bags storage shed real music ringtones honda generator garage door casino chip skateboard trucks buy new car share prices motorola razr v3 renova personal online loan x singapore travel video auto transport gift bags for wedding cutlery nfl what is alprazolam sterling silver jewelry toyota trucks shampoo job health food drugs for erectile dysfunction anderson windows sex sacramento bedding teen jordan shoe dss free single dating service convention displays deep flag state tennessee masks cellular pcs phone sprint dog shampoos guns roses embroidery designs skin cancer sauna belt closeouts wholesale discount phentermine discount wallpaper well fargo mortgage foreclosure cabins north carolina circle of life necklace oak kitchen tables delsey child health argentina flag bextra bed frames anniversary dating single man chatt bad credit mastercard reverse telephone number lookup ford dealerships in florida maternity wedding dress multimeter toyota tundra

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.