taltamir
Member
is it possible to expose the zone id somehow? it is tracked internally by mafia. but using .to_int() does not work
however you can see it via
in this case the zone id is 240
this is needed for hosing down an area in wildfire. the url to hose down an area is:
where TARGET is the zone id of the target zone. (hence the zid= portion of the url)
so for noob cave it would be zid=240
Code:
> ash $location[noob cave].to_int()
Function 'to_int( location )' undefined. This script may require a more recent version of KoLmafia and/or its supporting scripts. ()
Returned: void
Code:
> ash to_url($location[noob cave]);
Returned: adventure.php?snarfblat=240
this is needed for hosing down an area in wildfire. the url to hose down an area is:
Code:
visit_url("place.php?whichplace=wildfire_camp&action=wildfire_captain");
visit_url("choice.php?option=1&whichchoice=1451&pwd=&zid=" +TARGET);
so for noob cave it would be zid=240