Ash Functions: Difference between revisions
imported>Gnocchi masala m Revision 12906 add shop_price() function. |
imported>Vorzer →f: Added faxbot() |
||
Line 95: | Line 95: | ||
{{Flink|item|familiar_equipped_equipment|familiar}} | {{Flink|item|familiar_equipped_equipment|familiar}} | ||
{{Flink|int|familiar_weight|familiar}} | {{Flink|int|familiar_weight|familiar}} | ||
{{Flink|boolean|faxbot|monster}} | |||
{{Flink|boolean|file_to_map|string|aggregate|{{opt|boolean}}}} | {{Flink|boolean|file_to_map|string|aggregate|{{opt|boolean}}}} | ||
{{Flink|boolean|find|matcher}} | {{Flink|boolean|find|matcher}} |
Revision as of 16:07, 29 June 2014
Master list of all ASH functions. All functions as of r8144 are listed; this list is intended to be kept current, but it is possible that some functions added since the above revision may be missing. (Please feel free to add in any you notice.)
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, [boolean] )
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 )
boolean buy( coinmaster, int, item )
int buy_price( coinmaster, item )
boolean buys_item( coinmaster, item )
c
boolean can_drink()
boolean can_eat()
boolean can_equip( item )
boolean can_interact()
boolean canadia_available()
int ceil( float )
boolean chamber()
boolean change_mcd( int )
string char_at( string, int )
void chat_clan( string, [string] )
void chat_macro( string )
void chat_notify( string, string )
void chat_private( string, string )
class class_modifier( string, string )
class class_modifier( item, string )
void clear( aggregate )
boolean cli_execute( string )
int combat_mana_cost_modifier()
float combat_rate_modifier()
boolean contains_text( string, string )
void council()
boolean craft( string, int, item, item )
boolean create( int, item )
matcher create_matcher( string, string )
stat current_hit_stat()
int current_mcd()
d
element dad_sea_monkee_weakness( int )
item daily_special()
float damage_absorption_percent()
buffer delete( buffer, int, int )
void disable( string )
boolean dispensary_available()
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] )
boolean empty_closet()
void enable( string )
boolean enthrone_familiar( familiar )
string entity_decode( string )
string entity_encode( string )
boolean entryway()
boolean equip( [slot], item )
int expected_damage( [monster] )
float experience_bonus()
float expression_eval()
int [item] extract_items( string )
f
item familiar_equipment( familiar )
item familiar_equipped_equipment( familiar )
int familiar_weight( familiar )
boolean faxbot( monster )
boolean file_to_map( string, aggregate, [boolean] )
boolean find( matcher )
int floor( float )
string form_field( string )
string [string] form_fields()
string format_date_time( string, string, string )
boolean friars_available()
int fullness_limit()
g
boolean galaktik_cures_discounted()
int gameday_to_int()
string gameday_to_string()
int [item] get_campground()
string get_ccs_action( int )
int get_clan_id()
string get_clan_name()
string get_counters( string, int, int )
string [int] get_custom_outfits()
item get_dwelling()
string [int] get_goals()
int [item] get_ingredients( item )
int [item] get_inventory()
monster [int] get_monsters( location )
string [int] get_moods()
string [int] get_outfits()
string get_path()
string get_path_full()
string get_path_variables()
string get_player_id( string )
string get_property( string )
int [item] get_related( item, string )
int get_revision()
int [item] get_shop()
string get_version()
boolean gnomads_available()
boolean goal_exists( 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 hidden_temple_unlocked()
boolean hippy_stone_broken()
boolean hippy_store_available()
float historical_age( item )
i
monster image_to_monster( strict_string )
boolean in_bad_moon()
boolean in_hardcore()
boolean in_moxie_sign()
boolean in_muscle_sign()
boolean in_mysticality_sign()
string inaccessible_reason( coinmaster )
int index_of( string, string, [int] )
float initiative_modifier()
buffer insert( buffer, int, string )
boolean is_accessible( coinmaster )
boolean is_coinmaster_item( item )
boolean is_discardable( item )
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 )
boolean is_trendy( any )
boolean is_wearing_outfit( string )
float item_drop_modifier()
int [item] item_drops( [monster] )
record [int] item_drops_array( [monster] )
string item_type( item )
j
int jump_chance( [monster], [int], [int] )
int jump_chance( location, [int], [int] )
k
boolean knoll_available()
l
int last_index_of( string, string, [int] )
string last_item_message()
monster last_monster()
string last_skill_message()
int length( string )
buffer load_html( string )
void lock_familiar_equipment( boolean )
void logprint( string )
m
string make_url( string, boolean, boolean )
boolean map_to_file( aggregate, string, [boolean] )
float max( float, float )
int max( int, int )
boolean maximize( string, boolean )
boolean maximize( string, int, int, boolean )
record [int] maximize( string, int, int, boolean, boolean )
float meat_drop_modifier()
float min( float, float )
int min( int, int )
int minstrel_level()
boolean minstrel_quest()
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] )
int monster_initiative( [monster] )
element monster_element( [monster] )
float monster_eval( string )
int monster_level_adjustment()
phylum monster_phylum( [monster] )
int moon_light()
int moon_phase()
int mp_cost( skill )
int my_adventures()
int my_ascensions()
class my_class()
int my_closet_meat()
string my_companion()
int my_daycount()
familiar my_effective_familiar()
int [effect] my_effects()
familiar my_enthroned_familiar()
familiar my_familiar()
int my_fullness()
int my_fury()
string my_hash()
int my_hp()
string my_id()
int my_inebriety()
int my_level()
location my_location()
int my_maxhp()
int my_maxfury()
int my_maxmp()
int my_meat()
int my_mp()
string my_name()
string my_path()
stat my_primestat()
string my_sign()
int my_spleen_use()
int my_turncount()
n
float now_to_string( string )
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 )
item [int] outfit_pieces( 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 )
void refresh_shop()
void refresh_stash()
void refresh_status()
void remove_item_condition( int, item )
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
boolean sell( coinmaster, int, item )
int sell_price( coinmaster, item )
boolean sells_item( coinmaster, item )
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 )
skill stun_skill()
string substring( string, int, [int] )
t
boolean take_closet( int, [item] )
boolean take_display( int, item )
boolean take_shop( [int], item )
boolean take_stash( int, item )
boolean take_storage( int, item )
buffer throw_item( item )
buffer throw_items( item, item )
buffer time_to_string()
boolean to_boolean( any )
class to_class( string )
coinmaster to_coinmaster( string )
effect to_effect( int )
effect to_effect( string )
effect to_effect( skill )
element to_element( string )
familiar to_familiar( int )
familiar to_familiar( string )
float to_float( any )
int to_int( any )
item to_item( string )
item to_item( int )
string to_json( null )
location to_location( string )
location to_location( int )
string to_lower_case( string )
monster to_monster( string )
phylum to_phylum( 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 )
boolean user_confirm( string, int, boolean )
v
boolean visit( coinmaster )
buffer visit_url( string )
buffer visit_url( string, boolean )
buffer visit_url( string, boolean, boolean )
w
void wait( int )
void waitq( int )
stat weapon_type( item )
boolean white_citadel_available()
boolean [string] who_clan()
boolean will_usually_dodge()
boolean will_usually_miss()
void write( string )
void writeln( string )