Set location: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bale
Created page
 
imported>Bale
mNo edit summary
Line 5: Line 5:
FunctionPage|
FunctionPage|
name={{#var:name}}|
name={{#var:name}}|
function_category=Adventuring|


function1={{Function|
function1={{Function|
Line 19: Line 18:
cli_equiv=The CLI command "locations" will list all locations adventured at during your current session, along with adventures spent at each.|
cli_equiv=The CLI command "locations" will list all locations adventured at during your current session, along with adventures spent at each.|
}}
}}
[[Category:Adventuring]]

Revision as of 22:19, 21 May 2010

needs(code_samples);

Function Syntax

void set_location()

Changes the value returned by my_location(). This is significant because it allows scripts which check current adventuring location to provide results based on the location that you are about to adventure at.

CLI Equivalent

The CLI command "locations" will list all locations adventured at during your current session, along with adventures spent at each.

See Also

adventure() | my_location()