Ash Functions: Difference between revisions
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 1: | Line 1: | ||
{{TOCright}} | |||
Master list of all ASH functions as of r8144. (Plus or minus some misc. editing.) | Master list of all ASH functions as of r8144. (Plus or minus some misc. editing.) | ||
===a=== | |||
{{Flink|void|abort|{{opt|string}}}} | {{Flink|void|abort|{{opt|string}}}} | ||
{{Flink|void|add_item_condition|int|item}} | {{Flink|void|add_item_condition|int|item}} | ||
Line 13: | Line 14: | ||
{{Flink|int|autosell_price|item}} | {{Flink|int|autosell_price|item}} | ||
{{Flink|int|available_amount|item}} | {{Flink|int|available_amount|item}} | ||
===b=== | |||
{{Flink|boolean|batch_close}} | {{Flink|boolean|batch_close}} | ||
{{Flink|void|batch_open}} | {{Flink|void|batch_open}} | ||
Line 21: | Line 23: | ||
{{Flink|boolean|buy|int|item}} | {{Flink|boolean|buy|int|item}} | ||
{{Flink|int|buy|int|item|int}} | {{Flink|int|buy|int|item|int}} | ||
===c=== | |||
{{Flink|boolean|can_drink}} | {{Flink|boolean|can_drink}} | ||
{{Flink|boolean|can_eat}} | {{Flink|boolean|can_eat}} | ||
Line 44: | Line 47: | ||
{{Flink|stat|current_hit_stat}} | {{Flink|stat|current_hit_stat}} | ||
{{Flink|int|current_mcd}} | {{Flink|int|current_mcd}} | ||
===d=== | |||
{{Flink|item|daily_special}} | {{Flink|item|daily_special}} | ||
{{Flink|float|damage_absorption_percent}} | {{Flink|float|damage_absorption_percent}} | ||
Line 51: | Line 55: | ||
{{Flink|int|display_amount|item}} | {{Flink|int|display_amount|item}} | ||
{{Flink|boolean|drink|int|item}} | {{Flink|boolean|drink|int|item}} | ||
===e=== | |||
{{Flink|boolean|eat|int|item}} | {{Flink|boolean|eat|int|item}} | ||
{{Flink|boolean|eatsilent|int|item}} | {{Flink|boolean|eatsilent|int|item}} | ||
Line 67: | Line 72: | ||
{{Flink|int [item]|extract_items|string}} | {{Flink|int [item]|extract_items|string}} | ||
{{Flink|int|extract_meat|string}} | {{Flink|int|extract_meat|string}} | ||
===f=== | |||
{{Flink|item|familiar_equipment|familiar}} | {{Flink|item|familiar_equipment|familiar}} | ||
{{Flink|item|familiar_equipped_equipment|familiar}} | {{Flink|item|familiar_equipped_equipment|familiar}} | ||
Line 75: | Line 81: | ||
{{Flink|string|form_field|string}} | {{Flink|string|form_field|string}} | ||
{{Flink|int|fullness_limit}} | {{Flink|int|fullness_limit}} | ||
===g=== | |||
{{Flink|boolean|galaktik_cures_discounted}} | {{Flink|boolean|galaktik_cures_discounted}} | ||
{{Flink|int [item]|get_campground}} | {{Flink|int [item]|get_campground}} | ||
Line 89: | Line 96: | ||
{{Flink|item|guardians}} | {{Flink|item|guardians}} | ||
{{Flink|boolean|guild_store_available}} | {{Flink|boolean|guild_store_available}} | ||
===h=== | |||
{{Flink|boolean|have_bartender}} | {{Flink|boolean|have_bartender}} | ||
{{Flink|boolean|have_chef}} | {{Flink|boolean|have_chef}} | ||
Line 104: | Line 112: | ||
{{Flink|float|historical_age|item}} | {{Flink|float|historical_age|item}} | ||
{{Flink|int|historical_price|item}} | {{Flink|int|historical_price|item}} | ||
===i=== | |||
{{Flink|boolean|in_bad_moon}} | {{Flink|boolean|in_bad_moon}} | ||
{{Flink|boolean|in_hardcore}} | {{Flink|boolean|in_hardcore}} | ||
Line 125: | Line 134: | ||
{{Flink|record [int]|item_drops_array|{{opt|monster}}}} | {{Flink|record [int]|item_drops_array|{{opt|monster}}}} | ||
{{Flink|string|item_type|item}} | {{Flink|string|item_type|item}} | ||
===l=== | |||
{{Flink|int|last_index_of|string|string|{{opt|int}}}} | {{Flink|int|last_index_of|string|string|{{opt|int}}}} | ||
{{Flink|monster|last_monster}} | {{Flink|monster|last_monster}} | ||
Line 130: | Line 140: | ||
{{Flink|buffer|load_html|string}} | {{Flink|buffer|load_html|string}} | ||
{{Flink|void|logprint|string}} | {{Flink|void|logprint|string}} | ||
===m=== | |||
{{Flink|int|mall_price|item}} | {{Flink|int|mall_price|item}} | ||
{{Flink|int|mana_cost_modifier}} | {{Flink|int|mana_cost_modifier}} | ||
Line 184: | Line 195: | ||
{{Flink|int|my_spleen_use}} | {{Flink|int|my_spleen_use}} | ||
{{Flink|int|my_turncount}} | {{Flink|int|my_turncount}} | ||
===n=== | |||
{{Flink|float|numeric_modifier|string|{{opt|string}}}} | {{Flink|float|numeric_modifier|string|{{opt|string}}}} | ||
{{Flink|float|numeric_modifier|item|string}} | {{Flink|float|numeric_modifier|item|string}} | ||
Line 189: | Line 201: | ||
{{Flink|float|numeric_modifier|skill|string}} | {{Flink|float|numeric_modifier|skill|string}} | ||
{{Flink|float|numeric_modifier|familiar|string|int|item}} | {{Flink|float|numeric_modifier|familiar|string|int|item}} | ||
===o=== | |||
{{Flink|boolean|outfit|string}} | {{Flink|boolean|outfit|string}} | ||
{{Flink|boolean|overdrink|int|item}} | {{Flink|boolean|overdrink|int|item}} | ||
===p=== | |||
{{Flink|void|print|string|{{opt|string}}}} | {{Flink|void|print|string|{{opt|string}}}} | ||
{{Flink|void|print_html|string}} | {{Flink|void|print_html|string}} | ||
Line 198: | Line 212: | ||
{{Flink|boolean|put_shop|int|int|{{opt|int}}|item}} | {{Flink|boolean|put_shop|int|int|{{opt|int}}|item}} | ||
{{Flink|boolean|put_stash|int|item}} | {{Flink|boolean|put_stash|int|item}} | ||
===r=== | |||
{{Flink|int|random|int}} | {{Flink|int|random|int}} | ||
{{Flink|int|raw_damage_absorption}} | {{Flink|int|raw_damage_absorption}} | ||
Line 214: | Line 229: | ||
{{Flink|buffer|run_combat}} | {{Flink|buffer|run_combat}} | ||
{{Flink|buffer|runaway}} | {{Flink|buffer|runaway}} | ||
===s=== | |||
{{Flink|string [int]|session_logs|{{opt|string}}|int}} | {{Flink|string [int]|session_logs|{{opt|string}}|int}} | ||
{{Flink|void|set_length|buffer|int}} | {{Flink|void|set_length|buffer|int}} | ||
Line 233: | Line 249: | ||
{{Flink|string|string_modifier|string|string}} | {{Flink|string|string_modifier|string|string}} | ||
{{Flink|string|substring|string|int|{{opt|int}}}} | {{Flink|string|substring|string|int|{{opt|int}}}} | ||
===t=== | |||
{{Flink|boolean|take_closet|int|{{opt|item}}}} | {{Flink|boolean|take_closet|int|{{opt|item}}}} | ||
{{Flink|boolean|take_display|int|item}} | {{Flink|boolean|take_display|int|item}} | ||
Line 268: | Line 285: | ||
{{Flink|int|turns_per_cast|skill}} | {{Flink|int|turns_per_cast|skill}} | ||
{{Flink|int|turns_played}} | {{Flink|int|turns_played}} | ||
===u=== | |||
{{Flink|string|url_decode|string}} | {{Flink|string|url_decode|string}} | ||
{{Flink|string|url_encode|string}} | {{Flink|string|url_encode|string}} | ||
Line 275: | Line 293: | ||
{{Flink|buffer|use_skill|skill}} | {{Flink|buffer|use_skill|skill}} | ||
{{Flink|boolean|user_confirm|string}} | {{Flink|boolean|user_confirm|string}} | ||
===v=== | |||
{{Flink|buffer|visit_url}} | {{Flink|buffer|visit_url}} | ||
{{Flink|buffer|visit_url|string}} | {{Flink|buffer|visit_url|string}} | ||
{{Flink|buffer|visit_url|string|boolean}} | {{Flink|buffer|visit_url|string|boolean}} | ||
===w=== | |||
{{Flink|void|wait|int}} | {{Flink|void|wait|int}} | ||
{{Flink|int|weapon_hands|item}} | {{Flink|int|weapon_hands|item}} |
Revision as of 22:40, 19 April 2010
Master list of all ASH functions as of r8144. (Plus or minus some misc. editing.)
a
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 )
b
boolean batch_close()
void batch_open()
boolean black_market_available()
boolean boolean_modifier( string, [string] )
boolean boolean_modifier( item, string )
boolean buy( int, item )
c
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 )
float combat_rate_modifier()
boolean contains_text( string, string )
void council()
boolean create( int, item )
matcher create_matcher( string, string )
stat current_hit_stat()
int current_mcd()
d
item daily_special()
float damage_absorption_percent()
buffer delete( buffer, int, int )
void disable( string )
boolean drink( int, item )
e
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 entryway()
boolean equip( [slot], item )
int expected_damage( [monster] )
float experience_bonus()
int [item] extract_items( string )
f
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()
g
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 )
string get_property( string )
string group( matcher, [int] )
string [int, int] group_string( string, string )
item guardians()
boolean guild_store_available()
h
boolean have_bartender()
boolean have_chef()
boolean have_display()
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 )
i
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] )
float initiative_modifier()
buffer insert( buffer, int, string )
boolean is_displayable( item )
boolean is_giftable( item )
boolean is_goal( item )
boolean is_integer( string )
boolean is_npc_item( item )
boolean is_online( string )
boolean is_tradeable( item )
float item_drop_modifier()
int [item] item_drops( [monster] )
record [int] item_drops_array( [monster] )
string item_type( item )
l
int last_index_of( string, string, [int] )
monster last_monster()
int length( string )
buffer load_html( string )
void logprint( string )
m
boolean map_to_file( aggregate, string, [boolean] )
float max( float, float )
int max( int, int )
float meat_drop_modifier()
float min( float, float )
int min( int, int )
string mmg_bet_owner( int )
string mmg_bet_taker()
string mmg_bet_taker_id()
int mmg_make_bet( int, boolean )
int [int] mmg_my_bets()
int [int] mmg_offered_bets()
boolean mmg_retract_bet( int )
int mmg_take_bet( int, boolean )
void mmg_visit()
float modifier_eval( string )
int monster_attack( [monster] )
int monster_defense( [monster] )
element monster_element( [monster] )
int monster_level_adjustment()
int moon_light()
int moon_phase()
int mp_cost( skill )
int my_adventures()
int my_ascensions()
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()
n
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 )
o
boolean outfit( string )
boolean overdrink( int, item )
p
void print( string, [string] )
void print_html( string )
boolean put_closet( int, [item] )
boolean put_display( int, item )
boolean put_shop( int, int, [int], item )
boolean put_stash( int, item )
r
int random( int )
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()
s
string [int] session_logs( [string], int )
void set_length( buffer, int )
void set_property( string, string )
int spleen_limit()
string [int] split_string( string, [string] )
float square_root( float )
stat stat_bonus_today()
stat stat_modifier( effect, string )
buffer steal()
string string_modifier( string )
string string_modifier( string, string )
string substring( string, int, [int] )
t
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 )
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 turns_played()
u
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 )
v
buffer visit_url()
buffer visit_url( string )
buffer visit_url( string, boolean )
w
void wait( int )
stat weapon_type( item )
boolean white_citadel_available()
boolean will_usually_dodge()
boolean will_usually_miss()
void write( string )
void writeln( string )