As we know, all of VMF is not intended to work in-run. You can certainly import it and use individual functions. For example, I have a CLI alias called "zatara":I too would be interested in VCON as an EatDrink replacement although my recollection is that I was able to do that with the earlier algorithm and so I expect I could do it now, as well.
Tangentially, that said, I would find fighting the tentacle, the NEP, if available, and using VMF to max the still all of interest in run. I have experimented with importing and had some success but last time I tried there were things with outfits that I chose not to resolve. As I recall, the script would use an outfit but the saved outfit of the name could not be equipped in run for any one of several reasons. Since the "best" outfit tends to vary between freeing the king and level 15, or so, and I tend to stash a lot of useful gear in my display case, my personal solution is going to be a script that pulls potentially useful items from the DC, runs the maximizer and then saves the outfit with the appropriate names. But I have not written that yet
Code:
ashq import <VeracityMeatFarm.ash>; consult_with_madame_zatara()
Your script which does that could also dynamically change the outfit name; when you run a script that imports it, VMF's static initialization happens at the beginning, along with your script's and you can then change a configured variable:
Code:
import <VeracityMeatFarm.ash>;
print( "static initialization done" );
print( "Current farm_outfit (from VMF.DefaultOutfit) = '" + farm_outfit + "'" );
farm_outfit = "L13 Meat Drop";
print( "VMF functions will now use '" + farm_outfit + "'" );
Maybe I should choose a name for the script using the "script" directive. Something like "VMF".Yes you can. You can call the main function from WHAM by doing, for example:
ETA: The part after the @ is either the name of the file or the name of the script as defined by the script-predicate. Any odd characters needs to be replaced with underscores.Code:import wham.ash; void main() { main@wham(); }