As a third option, you can create a shortcut to the .ps1 file, then edit the 'Target' to
%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File ".\KoLMafia-Updater.ps1"
double-clicking that shortcut will run the PS1
Powershell is a Microsoft Windows scripting language.
If you are on Windows, create a text file, copy and paste the code above into this file, then save it and rename it with a .ps1 extension.
Right-click and choose 'Run with PowerShell'
I don't know exactly how the Mafia faxbot support works, but I believe that Mafia gets an xml file from the faxbot that list all monsters available.
See 'KOLMafia\data\easyfax.xml' that should be in your data folder.
You should be able to iterate by parsing this for all faxbots without server hits.
Here is my ASH script for chatting with a BG:
//check if Avant Guard familiar [Burly Bodyguard] can 'chat'
boolean ChkAGCanChat() {
return (to_int(get_property("bodyguardCharge"))>=50);
}
//Chatting with your Burly Bodyguard, select next Bodyguard monster
boolean SetAGChatMon(monster mon)...
> ash $item[fire flower]
Multiple matches for "fire flower"; using "[10462]fire flower". (char 7 to char 18) Clarify by using one of:
$item[[2426]fire flower]
$item[[10462]fire flower]
You should try using the item # in your request instead of the item name, given the ambiguity of "fire flower"
Yes, when maximizerFoldables==false, maximize will not suggest folding any items.
I use this to set foldable items (Boris Helm, Pete's Jacket, Ed Crown, Garbage tote, Backup camera, Umbrella, Parka, etc.) to my preferred setting before I maximize.
It seems like Spooky VHS Tapes work weird in this path too.
From my last run, the VHS monster triggered - a bodyguard was instakilled, then you fight the VHS monster normally.
This does not correctly reset the counter.
"_locketMonstersFought" will increment monsters for both the bodyguard and the locket monster
This makes it look like you have spent 2 locket reminisce for every monster fought
There are a few summoned fights that do not track or switch location correctly.
Also see: https://kolmafia.us/threads/mafia-thinks-numberology-summons-to-last-adventured-zone.29237/