Hidden City location name

Is there a way to set a particular square in the hidden city as a location? I tried:
Code:
adventure(1,$location[Hidden City (Square 1)]);
returned Bad location value: "Hidden City (Square 1)"

Code:
adventure(1,to_location(visit_url("hiddencity.php?which=0&pwd")));
returned:
[6963] Hidden City (Square 1)
Encounter: boaraffe
Round 0: Dwight Schrute wins initiative!
1 none does not exist in the adventure database.

I realize I can just use this:
Code:
visit_url("hiddencity.php?which=0&pwd");
run_combat();

but I was just wondering if it was possible to set a particular square as a location.
 

Bale

Minion
The method was created in revision 6504:

Code:
Support for automatic adventuring in the Hidden City. You have to choose a
square to adventure in. Having done so, you can select Hidden City as an
adventure location and all should work as expected. If you choose a square
that contains an altar, the temple, or a former protector spirit, you will
be told that there is nothing more to do and adventuring will abort.

A new CLI command has been added to enable this:

hiddencity <square>

will set the designated square in your preferences for automated adventuring
in the Hidden City.

This command also allows two other things, but they have not been tested yet:

hiddencity <square> temple

will visit the specified square and deposit the four stone triangles. That
should redirect you into a fight...

hiddencity <square> altar <item>

will visit the specified square and insert the specified item into the altar.
 
Thank you. I figured it was already implemented because of the Hidden City option in the zone list, I just couldn't find the info about it.
 
Top