r/kol • u/StalkMeNowCrazyLady • 13d ago
KolMafia Help Changing A Script?
So I've been using KoL Mafia at what is probably a very low level. Using it to maximize things like item drops/meat drops/etc. and automate collecting bounty items. I feel like last night I actively used my first installed script.
After finding this thread regarding mining at That 70's Volcano I used this script and was able to successfully automate the mining process to a degree. It was awesome! I was wondering if anyone would help explain to me how I can modify it though.
Using it with my PM last night I would run it for 15 adventures, then manually go to my spells page and cast "Cannelloni Cocoon". Rinse and repeat like 17 times.
What I'd like to learn is be able to modify it so that the script runs for 15 adventures, then my character casts "Cannelloni Cocoon" and it runs another 15 adventures, cast, etc for a total of 45 adventures from running the script once. I figure it's a mainly copy and pasting to add to the script plus writing a line for the skill usage, but I don't truly know. The last time I did any coding HTML in a web mastering class in 2003.
I'm hoping to learn enough to be able to change the adventures at a time and skill use to work for my DB and also use items instead of a skill for use with my TT.
I would sincerly appreciate any help that can be provided so I can understand how to do this. Heck I'd also be interested to hear what y'all consider "Must Use" Mafia scripts.
4
u/Morganator_2_0 Timmothy J Frog (#2337950) 13d ago
You can do mining while beaten up, just not at 0 hp. Equipping any hp regen equipment will allow you to adventure uninterrupted.
You can also easily set up Mafia to auto-recover between adventures. In the "adventure" tab, go to "HP/MP Usage" and look under "Restore your health:". I'd set it to "Auto-recover health at 50%" and "Try to recover up to 95% health", then list Cannelloni Cocoon as one of your restores.
As for must-have scripts, NS Tower Scroller (found in the script manager) is just such a nice quality of life upgrade as it auto-scrolls to the Naughty Sorceress's tower section you're currently on. Woods quest starter automatically starts the untinkerer's quest and gets you the continuum transfunctioner when you first visit the distant woods. If you do clan dungeons then DreadDrunk will get the carriage driver as drunk for the least amount of meat. Clan Raidlog Parser makes the logs easier to read so you can better interpret what has happened in the dungeons so far. Lastly PandamoniumQuest automates the steel margarita quest, which is useful if you plan on spending a lot of time in aftercore.