Adventuring: Difference between revisions
imported>Bale remove_item_condition is new in r9093 |
imported>Bale add more versions of visit_url() |
||
Line 2: | Line 2: | ||
{{Flink|boolean|adventure|int|location|string|desc=Visits the desired location a specified number of times, using a combat filter function defined elsewhere in your script.}} | {{Flink|boolean|adventure|int|location|string|desc=Visits the desired location a specified number of times, using a combat filter function defined elsewhere in your script.}} | ||
{{Flink|boolean|adv1|location|int|string|desc=Adventure exactly once in the specified location (even if it uses no turns). Chained choice adventures '''are''' followed. Int overrides default settings, and string is a filter, same as in [[adventure|adventure()]]}} | {{Flink|boolean|adv1|location|int|string|desc=Adventure exactly once in the specified location (even if it uses no turns). Chained choice adventures '''are''' followed. Int overrides default settings, and string is a filter, same as in [[adventure|adventure()]]}} | ||
{{Flink|string|visit_url|string|desc=Visits the specified address and returns the page source.}} | {{Flink|buffer|visit_url}} | ||
{{Flink|buffer|visit_url|string}} | |||
{{Flink|buffer|visit_url|string|boolean}} | |||
{{Flink|buffer|visit_url|string|boolean|boolean|desc=Visits the specified address and returns the page source.}} | |||
{{Flink|void|remove_item_condition|int|item|desc=Removes adventuring conditions.}} | {{Flink|void|remove_item_condition|int|item|desc=Removes adventuring conditions.}} | ||
{{Flink|void|add_item_condition|int|item|desc=Specifies adventuring conditions. With these in place, [[adventure|adventure()]] will successfully complete once the conditions are met.}} | {{Flink|void|add_item_condition|int|item|desc=Specifies adventuring conditions. With these in place, [[adventure|adventure()]] will successfully complete once the conditions are met.}} |
Revision as of 09:05, 27 April 2011
boolean adventure( int, location )
boolean adventure( int, location, string )
boolean adv1( location, int, string )
buffer visit_url()
buffer visit_url( string )
buffer visit_url( string, boolean )
buffer visit_url( string, boolean, boolean )
void remove_item_condition( int, item )
void add_item_condition( int, item )
boolean is_goal( item )
string get_counters( string, int, int )
void council()
item guardians()
int tavern()
boolean entryway()
boolean hedgemaze()
boolean chamber()
location my_location()
void refresh_status()
buffer run_combat()
boolean retrieve_item( int, item )
boolean change_mcd( int )
boolean hermit( int, item )
About Monsters
For all of the below functions that accept an optional monster parameter, the default value is your most recently-encountered monster (that means your current monster if you're in combat).
monster last_monster()
monster [int] get_monsters( location )
float [monster] appearance_rates( location )
int monster_attack( [monster] )
int monster_defense( [monster] )
int expected_damage( [monster] )
element monster_element( [monster] )