Ash Functions: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
imported>StDoodle
No edit summary
Line 1: Line 1:
This is a good jump-off point for creating ASH function documentation.  Any of the red links have not yet been created.  Feel free.
{{Flink|void|abort|{{opt|string}}}}
 
{{Flink|void|add_item_condition|int|item}}
='''A'''=
{{Flink|boolean|adv1|location|int|string}}
[[abort()]] <--example of a command that is usable in both the gCLI and ash<br>
{{Flink|boolean|adventure|int|location|{{opt|string}}}}
[[add_item_condition()]]<br>
{{Flink|float [monster]|appearance_rates|location}}
[[adventure()]]<br>
{{Flink|buffer|append|buffer|string}}
[[append()]]<br>
{{Flink|buffer|append_replacement|matcher|buffer|string}}
[[append_tail()]]<br>
{{Flink|buffer|append_tail|matcher|buffer}}
[[append_replacement()]]<br>
{{Flink|buffer|attack}}
[[attack()]] <-- example of a command that is consult script only<br>
{{Flink|boolean|autosell|int|item}}
[[autosell()]]<br>
{{Flink|int|autosell_price|item}}
[[available_amount()]] <---example of a command that is ash/consult script only<br>
{{Flink|int|available_amount|item}}
 
{{Flink|boolean|batch_close}}
='''B'''=
{{Flink|void|batch_open}}
[[boolean_modifier()]]<br>
{{Flink|boolean|black_market_available}}
[[buffed_hit_stat()]]<br>
{{Flink|boolean|boolean_modifier|string|{{opt|string}}}}
[[buy()]]<br>
{{Flink|boolean|boolean_modifier|item|string}}
 
{{Flink|int|buffed_hit_stat}}
='''C'''=
{{Flink|boolean|buy|int|item}}
[[can_drink()]]<br>
{{Flink|int|buy|int|item|int}}
[[can_eat()]]<br>
{{Flink|boolean|can_drink}}
[[can_equip()]]<br>
{{Flink|boolean|can_eat}}
[[can_interact()]]<br>
{{Flink|boolean|can_equip|item}}
[[ceil()]]<br>
{{Flink|boolean|can_interact}}
[[chamber()]]<br>
{{Flink|int|ceil|float}}
[[change_mcd()]]<br>
{{Flink|boolean|chamber}}
[[chat_reply()]]<br>
{{Flink|boolean|change_mcd|int}}
[[class_modifier()]]<br>
{{Flink|void|chat_clan|string}}
[[clear()]]<br>
{{Flink|void|chat_private|string|string}}
[[cli_execute()]]<br>
{{Flink|class|class_modifier|string|string}}
[[closet_amount()]]<br>
{{Flink|class|class_modifier|item|string}}
[[combat_rate_modifier()]]<br>
{{Flink|void|clear|aggregate}}
[[contains_text()]]<br>
{{Flink|boolean|cli_execute|string}}
[[council()]]<br>
{{Flink|int|closet_amount|item}}
[[count()]]<br>
{{Flink|float|combat_rate_modifier}}
[[creatable_amount()]]<br>
{{Flink|boolean|contains_text|string|string}}
[[create()]]<br>
{{Flink|void|council}}
[[create_matcher()]]<br>
{{Flink|int|count|aggregate}}
[[current_hit_stat()]]<br>
{{Flink|int|creatable_amount|item}}
[[current_mcd()]]<br>
{{Flink|boolean|create|int|item}}
 
{{Flink|matcher|create_matcher|string|string}}
='''D'''=
{{Flink|stat|current_hit_stat}}
[[daily_special()]]<br>
{{Flink|int|current_mcd}}
[[damage_absorption_percent()]]<br>
{{Flink|item|daily_special}}
[[damage_reduction()]]<br>
{{Flink|float|damage_absorption_percent}}
[[delete()]]<br>
{{Flink|int|damage_reduction}}
[[disable()]]<br>
{{Flink|buffer|delete|buffer|int|int}}
[[display_amount()]]<br>
{{Flink|void|disable|string}}
[[drink()]]<br>
{{Flink|int|display_amount|item}}
 
{{Flink|boolean|drink|int|item}}
='''E'''=
{{Flink|boolean|eat|int|item}}
[[eat()]]<br>
{{Flink|boolean|eatsilent|int|item}}
[[effect_modifier()]]<br>
{{Flink|effect|effect_modifier|string|string}}
[[elemental_resistance()]]<br>
{{Flink|effect|effect_modifier|item|string}}
[[end()]]<br>
{{Flink|float|elemental_resistance|element}}
[[enable()]]<br>
{{Flink|float|elemental_resistance|{{opt|monster}}}}
[[entryway()]]<br>
{{Flink|void|enable|string}}
[[equip()]]<br>
{{Flink|boolean|end|matcher}}
[[equipped_item()]]<br>
{{Flink|boolean|entryway}}
[[extract_items()]]<br>
{{Flink|boolean|equip|{{opt|slot}}|item}}
[[extract_meat()]]<br>
{{Flink|int|equipped_amount|item}}
[[expected_damage()]]<br>
{{Flink|item|equipped_item|slot}}
[[experience_bonus()]]<br>
{{Flink|int|expected_damage|{{opt|monster}}}}
 
{{Flink|float|experience_bonus}}
='''F'''=
{{Flink|int [item]|extract_items|string}}
[[familiar_equipment()]]<br>
{{Flink|int|extract_meat|string}}
[[familiar_weight()]]<br>
{{Flink|item|familiar_equipment|familiar}}
[[file_to_map()]]<br>
{{Flink|item|familiar_equipped_equipment|familiar}}
[[find()]]<br>
{{Flink|int|familiar_weight|familiar}}
[[form_field()]]<br>
{{Flink|boolean|file_to_map|string|aggregate|[boolean]}}
[[floor()]]<br>
{{Flink|boolean|find|matcher}}
[[fullness_limit()]]<br>
{{Flink|int|floor|float}}
 
{{Flink|string|form_field|string}}
='''G'''=
{{Flink|int|fullness_limit}}
[[get_ingredients()]]<br>
{{Flink|boolean|galaktik_cures_discounted}}
[[get_inventory()]]<br>
{{Flink|int [item]|get_campground}}
[[get_monsters()]]<br>
{{Flink|string|get_ccs_action|int}}
[[get_power()]]<br>
{{Flink|string|get_counters|string|int|int}}
[[get_property()]]<br>
{{Flink|int [item]|get_ingredients|item}}
[[group()]]<br>
{{Flink|int [item]|get_inventory}}
[[group_count()]]<br>
{{Flink|monster [int]|get_monsters|location}}
[[group_string()]]<br>
{{Flink|int|get_power|item}}
[[guardians()]]<br>
{{Flink|string|get_property|string}}
 
{{Flink|string|group|matcher|{{opt|int}}}}
='''H'''=
{{Flink|int|group_count|matcher}}
[[have_bartender()]]<br>
{{Flink|string [int, int]|group_string|string|string}}
[[have_chef()]]<br>
{{Flink|item|guardians}}
[[have_effect()]]<br>
{{Flink|boolean|guild_store_available}}
[[have_equipped()]]<br>
{{Flink|boolean|have_bartender}}
[[have_familiar()]]<br>
{{Flink|boolean|have_chef}}
[[have_mushroom_plot()]]<br>
{{Flink|boolean|have_display}}
[[have_outfit()]]<br>
{{Flink|int|have_effect|effect}}
[[have_skill()]]<br>
{{Flink|boolean|have_equipped|item}}
[[hedgemaze()]]<br>
{{Flink|boolean|have_familiar|familiar}}
[[hermit()]]<br>
{{Flink|boolean|have_mushroom_plot}}
 
{{Flink|boolean|have_outfit|string}}
='''I'''=
{{Flink|boolean|have_shop}}
[[import]]<br>
{{Flink|boolean|have_skill|skill}}
[[in_bad_moon()]]<br>
{{Flink|boolean|hedgemaze}}
[[in_hardcore()]]<br>
{{Flink|boolean|hermit|int|item}}
[[in_moxie_sign()]]<br>
{{Flink|boolean|hippy_store_available}}
[[in_muscle_sign()]]<br>
{{Flink|float|historical_age|item}}
[[in_mysticality_sign()]]<br>
{{Flink|int|historical_price|item}}
[[index_of()]]<br>
{{Flink|boolean|in_bad_moon}}
[[inebriety_limit()]]<br>
{{Flink|boolean|in_hardcore}}
[[initiative_modifier()]]<br>
{{Flink|boolean|in_moxie_sign}}
[[insert()]]<br>
{{Flink|boolean|in_muscle_sign}}
[[is_npc_item()]]<br>
{{Flink|boolean|in_mysticality_sign}}
[[is_tradeable()]]<br>
{{Flink|int|index_of|string|string|{{opt|int}}}}
[[item_amount()]]<br>
{{Flink|int|inebriety_limit}}
[[item_drop_modifier()]]<br>
{{Flink|float|initiative_modifier}}
[[item_drops()]]<br>
{{Flink|buffer|insert|buffer|int|string}}
[[item_type()]]<br>
{{Flink|boolean|is_displayable|item}}
 
{{Flink|boolean|is_giftable|item}}
='''J'''=
{{Flink|boolean|is_goal|item}}
 
{{Flink|boolean|is_npc_item|item}}
='''K'''=
{{Flink|boolean|is_numeric|string}}
 
{{Flink|boolean|is_online|string}}
='''L'''=
{{Flink|boolean|is_tradeable|item}}
[[last_index_of()]]<br>
{{Flink|int|item_amount|item}}
[[length()]]<br>
{{Flink|float|item_drop_modifier}}
[[load_html()]]<br>
{{Flink|int [item]|item_drops|{{opt|monster}}}}
[[logprint()]]<br>
{{Flink|string|item_type|item}}
 
{{Flink|int|last_index_of|string|string|{{opt|int}}}}
='''M'''=
{{Flink|monster|last_monster}}
[[mana_cost_modifier()]]<br>
{{Flink|void|launch_ui|string|string|string}}
[[map_to_file()]]<br>
{{Flink|int|length|string}}
[[meat_drop_modifier()]]<br>
{{Flink|buffer|load_html|string}}
[[monster_attack()]]<br>
{{Flink|void|logprint|string}}
[[monster_defense()]]<br>
{{Flink|int|mall_price|item}}
[[monster_element()]]<br>
{{Flink|int|mana_cost_modifier}}
[[monster_hp()]]<br>
{{Flink|boolean|map_to_file|aggregate|string|[boolean]}}
[[monster_level_adjustment()]]<br>
{{Flink|float|max|float|float}}
[[moon_light()]]<br>
{{Flink|int|max|int|int}}
[[moon_phase()]]<br>
{{Flink|int|meat_drop|{{opt|monster}}}}
[[mp_cost()]]<br>
{{Flink|float|meat_drop_modifier}}
[[my_adventures()]]<br>
{{Flink|float|min|float|float}}
[[my_basestat()]]<br>
{{Flink|int|min|int|int}}
[[my_buffedstat()]]<br>
{{Flink|int|mmg_bet_amount|int}}
[[my_class()]]<br>
{{Flink|string|mmg_bet_owner|int}}
[[my_familiar()]]<br>
{{Flink|int|mmg_bet_owner_id|int}}
[[my_fullness()]]<br>
{{Flink|string|mmg_bet_taker}}
[[my_hash()]]<br>
{{Flink|string|mmg_bet_taker_id}}
[[my_hp()]]<br>
{{Flink|int|mmg_bet_winnings}}
[[my_id()]]<br>
{{Flink|int|mmg_make_bet|int|boolean}}
[[my_inebriety()]]<br>
{{Flink|int [int]|mmg_my_bets}}
[[my_level()]]<br>
{{Flink|int [int]|mmg_offered_bets}}
[[my_location()]]<br>
{{Flink|boolean|mmg_retract_bet|int}}
[[my_maxhp()]]<br>
{{Flink|void|mmg_search|int|int}}
[[my_maxmp()]]<br>
{{Flink|int|mmg_take_bet|int|boolean}}
[[my_meat()]]<br>
{{Flink|void|mmg_visit}}
[[my_mp()]]<br>
{{Flink|int|mmg_wait_event|int}}
[[my_name()]]<br>
{{Flink|float|modifier_eval|string}}
[[my_primestat()]]<br>
{{Flink|int|monster_attack|{{opt|monster}}}}
[[my_spleen_use()]]<br>
{{Flink|int|monster_defense|{{opt|monster}}}}
[[my_turncount()]]<br>
{{Flink|element|monster_element|{{opt|monster}}}}
 
{{Flink|int|monster_hp|{{opt|monster}}}}
='''N'''=
{{Flink|int|monster_level_adjustment}}
[[notify]]<br>
{{Flink|int|moon_light}}
[[numeric_modifier()]]<br>
{{Flink|int|moon_phase}}
 
{{Flink|int|mp_cost|skill}}
='''O'''=
{{Flink|int|my_adventures}}
[[outfit()]]<br>
{{Flink|int|my_ascensions}}
 
{{Flink|int|my_basestat|stat}}
='''P'''=
{{Flink|int|my_buffedstat|stat}}
[[print()]]<br>
{{Flink|class|my_class}}
[[print_html()]]<br>
{{Flink|int|my_closet_meat}}
[[put_closet()]]<br>
{{Flink|familiar|my_familiar}}
[[put_display()]]<br>
{{Flink|int|my_fullness}}
[[pulls_remaining()]]<br>
{{Flink|string|my_hash}}
[[put_shop()]]<br>
{{Flink|int|my_hp}}
[[put_stash()]]<br>
{{Flink|string|my_id}}
 
{{Flink|int|my_inebriety}}
='''Q'''=
{{Flink|int|my_level}}
 
{{Flink|location|my_location}}
='''R'''=
{{Flink|int|my_maxhp}}
[[random()]]<br>
{{Flink|int|my_maxmp}}
[[raw_damage_absorption()]]<br>
{{Flink|int|my_meat}}
[[retrieve_item()]]<br>
{{Flink|int|my_mp}}
[[refresh_stash()]]<br>
{{Flink|string|my_name}}
[[refresh_status()]]<br>
{{Flink|stat|my_primestat}}
[[replace()]]<br>
{{Flink|int|my_spleen_use}}
[[replace_all()]]<br>
{{Flink|int|my_turncount}}
[[replace_first()]]<br>
{{Flink|float|numeric_modifier|string|{{opt|string}}}}
[[replace_string()]]<br>
{{Flink|float|numeric_modifier|item|string}}
[[reset()]]<br>
{{Flink|float|numeric_modifier|effect|string}}
[[restore_hp()]]<br>
{{Flink|float|numeric_modifier|skill|string}}
[[restore_mp()]]<br>
{{Flink|float|numeric_modifier|familiar|string|int|item}}
[[round()]]<br>
{{Flink|boolean|outfit|string}}
[[run_combat()]]<br>
{{Flink|boolean|overdrink|int|item}}
[[runaway()]]<br>
{{Flink|void|print|string|{{opt|string}}}}
 
{{Flink|void|print_html|string}}
='''S'''=
{{Flink|int|pulls_remaining}}
[[session_logs()]]<br>
{{Flink|boolean|put_closet|int|{{opt|item}}}}
[[set_property()]]<br>
{{Flink|boolean|put_display|int|item}}
[[shop_amount()]]<br>
{{Flink|boolean|put_shop|int|int|{{opt|int}}|item}}
[[spleen_limit()]]<br>
{{Flink|boolean|put_stash|int|item}}
[[split_string()]]<br>
{{Flink|int|random|int}}
[[start()]]<br>
{{Flink|int|raw_damage_absorption}}
[[stash_amount()]]<br>
{{Flink|boolean|refresh_stash}}
[[stat_bonus_today()]]<br>
{{Flink|boolean|refresh_status}}
[[stat_bonus_tomorrow()]]<br>
{{Flink|boolean|replace|buffer|int|int|string}}
[[stat_modifier()]]<br>
{{Flink|string|replace_all|matcher|string}}
[[steal()]]<br>
{{Flink|string|replace_first|matcher|string}}
[[stills_available()]]<br>
{{Flink|buffer|replace_string|buffer|string|string}}
[[storage_amount()]]<br>
{{Flink|buffer|replace_string|string|string|string}}
[[substring()]]<br>
{{Flink|matcher|reset|matcher|{{opt|string}}}}
[[square_root()]]<br>
{{Flink|boolean|restore_hp|int}}
 
{{Flink|boolean|restore_mp|int}}
='''T'''=
{{Flink|boolean|retrieve_item|int|item}}
[[take_closet()]]<br>
{{Flink|int|round|float}}
[[take_display()]]<br>
{{Flink|buffer|run_combat}}
[[take_stash()]]<br>
{{Flink|buffer|runaway}}
[[take_storage()]]<br>
{{Flink|string [int]|session_logs|{{opt|string}}|int}}
[[tavern()]]<br>
{{Flink|void|set_length|buffer|int}}
[[throw_item()]]<br>
{{Flink|void|set_location|location}}
[[throw_items()]]<br>
{{Flink|void|set_property|string|string}}
[[to_boolean()]]<br>
{{Flink|int|shop_amount|item}}
[[to_class()]]<br>
{{Flink|int|spleen_limit}}
[[to_effect()]]<br>
{{Flink|string [int]|split_string|string|{{opt|string}}}}
[[to_familiar()]]<br>
{{Flink|float|square_root|float}}
[[to_float()]]<br>
{{Flink|boolean|start|matcher}}
[[to_int()]]<br>
{{Flink|int|stash_amount|item}}
[[to_item()]] <---- example of a simple overloaded function<br>
{{Flink|stat|stat_bonus_today}}
[[to_location()]]<br>
{{Flink|stat|stat_bonus_tomorrow}}
[[to_lower_case()]]<br>
{{Flink|stat|stat_modifier|effect|string}}
[[to_monster()]]<br>
{{Flink|buffer|steal}}
[[to_skill()]]<br>
{{Flink|int|stills_available}}
[[to_slot()]]<br>
{{Flink|int|storage_amount|item}}
[[to_stat()]]<br>
{{Flink|string|string_modifier|string}}
[[to_string()]]<br>
{{Flink|string|string_modifier|string|string}}
[[to_upper_case()]]<br>
{{Flink|string|substring|string|int|{{opt|int}}}}
[[to_url()]]<br>
{{Flink|boolean|take_closet|int|{{opt|item}}}}
[[today_to_string()]]<br>
{{Flink|boolean|take_display|int|item}}
[[truncate()]]<br>
{{Flink|boolean|take_stash|int|item}}
[[turns_played()]]<br>
{{Flink|boolean|take_storage|int|item}}
[[turns_per_cast()]]<br>
{{Flink|int|tavern}}
 
{{Flink|buffer|throw_items|item|{{opt|item}}}}
='''U'''=
{{Flink|boolean|to_boolean|any}}
[[url_decode()]]<br>
{{Flink|class|to_class|string}}
[[url_encode()]]<br>
{{Flink|effect|to_effect|int}}
[[use()]]<br>
{{Flink|effect|to_effect|string}}
[[use_familiar()]]<br>
{{Flink|effect|to_effect|skill}}
[[use_skill()]]<br>
{{Flink|familiar|to_familiar|int}}
[[user_confirm()]]<br>
{{Flink|familiar|to_familiar|string}}
 
{{Flink|float|to_float|any}}
='''V'''=
{{Flink|int|to_int|any}}
[[visit_url()]]<br>
{{Flink|item|to_item|string}}
 
{{Flink|item|to_item|int}}
='''W'''=
{{Flink|item|to_item|string|int}}
[[wait()]]<br>
{{Flink|location|to_location|string}}
[[weapon_hands()]]<br>
{{Flink|location|to_location|int}}
[[weapon_type()]]<br>
{{Flink|string|to_lower_case|string}}
[[weight_adjustment()]]<br>
{{Flink|monster|to_monster|string}}
[[will_usually_miss()]]<br>
{{Flink|string|to_plural|item}}
[[will_usually_dodge()]]<br>
{{Flink|skill|to_skill|int}}
[[write()]]<br>
{{Flink|skill|to_skill|string}}
[[writeln()]]<br>
{{Flink|skill|to_skill|effect}}
 
{{Flink|slot|to_slot|item}}
='''X'''=
{{Flink|stat|to_stat|string}}
 
{{Flink|string|to_string|any}}
='''Y'''=
{{Flink|string|to_upper_case|string}}
 
{{Flink|string|to_url|location}}
='''Z'''=
{{Flink|string|today_to_string}}
{{Flink|int|truncate|float}}
{{Flink|int|turns_per_cast|skill}}
{{Flink|int|turns_played}}
{{Flink|string|url_decode|string}}
{{Flink|string|url_encode|string}}
{{Flink|boolean|use|int|item}}
{{Flink|boolean|use_familiar|familiar}}
{{Flink|boolean|use_skill|int|skill|{{opt|string}}}}
{{Flink|buffer|use_skill|skill}}
{{Flink|boolean|user_confirm|string}}
{{Flink|buffer|visit_url}}
{{Flink|buffer|visit_url|string}}
{{Flink|buffer|visit_url|string|boolean}}
{{Flink|void|wait|int}}
{{Flink|int|weapon_hands|item}}
{{Flink|stat|weapon_type|item}}
{{Flink|int|weight_adjustment}}
{{Flink|boolean|white_citadel_available}}
{{Flink|boolean|will_usually_dodge}}
{{Flink|boolean|will_usually_miss}}
{{Flink|void|write|string}}
{{Flink|void|writeln|string}}

Revision as of 21:08, 3 March 2010

void abort( [string] )

void add_item_condition( int, item )

boolean adv1( location, int, string )

boolean adventure( int, location, [string] )

float [monster] appearance_rates( location )

buffer append( buffer, string )

buffer append_replacement( matcher, buffer, string )

buffer append_tail( matcher, buffer )

buffer attack()

boolean autosell( int, item )

int autosell_price( item )

int available_amount( item )

boolean batch_close()

void batch_open()

boolean black_market_available()

boolean boolean_modifier( string, [string] )

boolean boolean_modifier( item, string )

int buffed_hit_stat()

boolean buy( int, item )

int buy( int, item, int )

boolean can_drink()

boolean can_eat()

boolean can_equip( item )

boolean can_interact()

int ceil( float )

boolean chamber()

boolean change_mcd( int )

void chat_clan( string )

void chat_private( string, string )

class class_modifier( string, string )

class class_modifier( item, string )

void clear( aggregate )

boolean cli_execute( string )

int closet_amount( item )

float combat_rate_modifier()

boolean contains_text( string, string )

void council()

int count( aggregate )

int creatable_amount( item )

boolean create( int, item )

matcher create_matcher( string, string )

stat current_hit_stat()

int current_mcd()

item daily_special()

float damage_absorption_percent()

int damage_reduction()

buffer delete( buffer, int, int )

void disable( string )

int display_amount( item )

boolean drink( int, item )

boolean eat( int, item )

boolean eatsilent( int, item )

effect effect_modifier( string, string )

effect effect_modifier( item, string )

float elemental_resistance( element )

float elemental_resistance( [monster] )

void enable( string )

boolean end( matcher )

boolean entryway()

boolean equip( [slot], item )

int equipped_amount( item )

item equipped_item( slot )

int expected_damage( [monster] )

float experience_bonus()

int [item] extract_items( string )

int extract_meat( string )

item familiar_equipment( familiar )

item familiar_equipped_equipment( familiar )

int familiar_weight( familiar )

boolean file_to_map( string, aggregate, [boolean] )

boolean find( matcher )

int floor( float )

string form_field( string )

int fullness_limit()

boolean galaktik_cures_discounted()

int [item] get_campground()

string get_ccs_action( int )

string get_counters( string, int, int )

int [item] get_ingredients( item )

int [item] get_inventory()

monster [int] get_monsters( location )

int get_power( item )

string get_property( string )

string group( matcher, [int] )

int group_count( matcher )

string [int, int] group_string( string, string )

item guardians()

boolean guild_store_available()

boolean have_bartender()

boolean have_chef()

boolean have_display()

int have_effect( effect )

boolean have_equipped( item )

boolean have_familiar( familiar )

boolean have_mushroom_plot()

boolean have_outfit( string )

boolean have_shop()

boolean have_skill( skill )

boolean hedgemaze()

boolean hermit( int, item )

boolean hippy_store_available()

float historical_age( item )

int historical_price( item )

boolean in_bad_moon()

boolean in_hardcore()

boolean in_moxie_sign()

boolean in_muscle_sign()

boolean in_mysticality_sign()

int index_of( string, string, [int] )

int inebriety_limit()

float initiative_modifier()

buffer insert( buffer, int, string )

boolean is_displayable( item )

boolean is_giftable( item )

boolean is_goal( item )

boolean is_npc_item( item )

boolean is_numeric( string )

boolean is_online( string )

boolean is_tradeable( item )

int item_amount( item )

float item_drop_modifier()

int [item] item_drops( [monster] )

string item_type( item )

int last_index_of( string, string, [int] )

monster last_monster()

void launch_ui( string, string, string )

int length( string )

buffer load_html( string )

void logprint( string )

int mall_price( item )

int mana_cost_modifier()

boolean map_to_file( aggregate, string, [boolean] )

float max( float, float )

int max( int, int )

int meat_drop( [monster] )

float meat_drop_modifier()

float min( float, float )

int min( int, int )

int mmg_bet_amount( int )

string mmg_bet_owner( int )

int mmg_bet_owner_id( int )

string mmg_bet_taker()

string mmg_bet_taker_id()

int mmg_bet_winnings()

int mmg_make_bet( int, boolean )

int [int] mmg_my_bets()

int [int] mmg_offered_bets()

boolean mmg_retract_bet( int )

void mmg_search( int, int )

int mmg_take_bet( int, boolean )

void mmg_visit()

int mmg_wait_event( int )

float modifier_eval( string )

int monster_attack( [monster] )

int monster_defense( [monster] )

element monster_element( [monster] )

int monster_hp( [monster] )

int monster_level_adjustment()

int moon_light()

int moon_phase()

int mp_cost( skill )

int my_adventures()

int my_ascensions()

int my_basestat( stat )

int my_buffedstat( stat )

class my_class()

int my_closet_meat()

familiar my_familiar()

int my_fullness()

string my_hash()

int my_hp()

string my_id()

int my_inebriety()

int my_level()

location my_location()

int my_maxhp()

int my_maxmp()

int my_meat()

int my_mp()

string my_name()

stat my_primestat()

int my_spleen_use()

int my_turncount()

float numeric_modifier( string, [string] )

float numeric_modifier( item, string )

float numeric_modifier( effect, string )

float numeric_modifier( skill, string )

float numeric_modifier( familiar, string, int, item )

boolean outfit( string )

boolean overdrink( int, item )

void print( string, [string] )

void print_html( string )

int pulls_remaining()

boolean put_closet( int, [item] )

boolean put_display( int, item )

boolean put_shop( int, int, [int], item )

boolean put_stash( int, item )

int random( int )

int raw_damage_absorption()

boolean refresh_stash()

boolean refresh_status()

boolean replace( buffer, int, int, string )

string replace_all( matcher, string )

string replace_first( matcher, string )

buffer replace_string( buffer, string, string )

buffer replace_string( string, string, string )

matcher reset( matcher, [string] )

boolean restore_hp( int )

boolean restore_mp( int )

boolean retrieve_item( int, item )

int round( float )

buffer run_combat()

buffer runaway()

string [int] session_logs( [string], int )

void set_length( buffer, int )

void set_location( location )

void set_property( string, string )

int shop_amount( item )

int spleen_limit()

string [int] split_string( string, [string] )

float square_root( float )

boolean start( matcher )

int stash_amount( item )

stat stat_bonus_today()

stat stat_bonus_tomorrow()

stat stat_modifier( effect, string )

buffer steal()

int stills_available()

int storage_amount( item )

string string_modifier( string )

string string_modifier( string, string )

string substring( string, int, [int] )

boolean take_closet( int, [item] )

boolean take_display( int, item )

boolean take_stash( int, item )

boolean take_storage( int, item )

int tavern()

buffer throw_items( item, [item] )

boolean to_boolean( any )

class to_class( string )

effect to_effect( int )

effect to_effect( string )

effect to_effect( skill )

familiar to_familiar( int )

familiar to_familiar( string )

float to_float( any )

int to_int( any )

item to_item( string )

item to_item( int )

item to_item( string, int )

location to_location( string )

location to_location( int )

string to_lower_case( string )

monster to_monster( string )

string to_plural( item )

skill to_skill( int )

skill to_skill( string )

skill to_skill( effect )

slot to_slot( item )

stat to_stat( string )

string to_string( any )

string to_upper_case( string )

string to_url( location )

string today_to_string()

int truncate( float )

int turns_per_cast( skill )

int turns_played()

string url_decode( string )

string url_encode( string )

boolean use( int, item )

boolean use_familiar( familiar )

boolean use_skill( int, skill, [string] )

buffer use_skill( skill )

boolean user_confirm( string )

buffer visit_url()

buffer visit_url( string )

buffer visit_url( string, boolean )

void wait( int )

int weapon_hands( item )

stat weapon_type( item )

int weight_adjustment()

boolean white_citadel_available()

boolean will_usually_dodge()

boolean will_usually_miss()

void write( string )

void writeln( string )