stannius_spaaace 1.2
stannius' semi-automatic spaaace script 1.2
A script to complete the "Repair_the_Elves'_Shield_Generator" quest for "Slyz's KoLMafia Scripting contest".
Prerequisite: zlib.
Please report bugs here so I can fix them, thus making the world a better place. CLI output would be helpful. I am also open to feedback.
What it Does:
* Completes the Repair the Elves' Shield Generator Quest
* Burns adventures.
* Changes your equiment and effects.
* Uses items (see SETTINGS). Buys transponders (if needed, and mall is accessible and allowed by mafia settings) and cheap wind-up clocks.
* Changes familiars (unless the zlib var is_100_run is set)
What it Does Not/What you Should Do:
* See USER SETTINGS below
* It is up to you to create a custom combat script that will handle scaling monsters, preferably without taking damage. Might I suggest entangling noodles + an auto-hit skill (spell, shieldbutt, etc). Also, olfact "survivor" if you have olfaction.
* Leave an AT song slot free. (And keep in mind that the script changes equipment, so don't count on having four songs)
* Have in inventory: transponders, deodorant/pine needles, yellow candy hearts, and cheap wind-up clocks.
USER SETTINGS
spaaace_useitems (defaults to true) Use some items giving helpful effects (see "Have in inventory:" above).
spaaace_escortmanually (defaults to false) Set to true if you want to handle the "Escort Axel Otto around the moons" part of the quest yourself. It is the trickiest part.
Changelog (more detail given in individual version++ posts)
0.1 Initial version
0.2 Fix problems with the hamburglaris/porko code (I didn't get to test it the first time through.)
0.3 Fix off-by one error in Porko playing code. Add automatic version checking.
0.4 Fix abort when escorting Axel Otto. Attempt to deliberately shrug the buffs cast by the script (so as to not randomly shrug user's buffs.)
0.5 Allow restart after loss of spooky little girl. Abort Porko if the probability isn't 1.0, just in case.
0.6 Get the right porko probs by hitting choice.php an extra time. Keep track of Axel's courage level and warn user if it goes down too fast.
0.7 Add familiar switching. Add user preferences. Abort if Beaten Up.
0.8 Transpondentify when using maps from inventory.
1.0 Rename script to "spaaace.ash". Remove On the Trail when switching zones. Support farming of distention/dog hair pills.
1.1 Incorporate some code from slyz to make shieldbutt-substitution method more robust.
1.2 Used sk1ll instead of skill, which is now a reserved keyword.
stannius' semi-automatic spaaace script 1.2
A script to complete the "Repair_the_Elves'_Shield_Generator" quest for "Slyz's KoLMafia Scripting contest".
Prerequisite: zlib.
Please report bugs here so I can fix them, thus making the world a better place. CLI output would be helpful. I am also open to feedback.
What it Does:
* Completes the Repair the Elves' Shield Generator Quest
* Burns adventures.
* Changes your equiment and effects.
* Uses items (see SETTINGS). Buys transponders (if needed, and mall is accessible and allowed by mafia settings) and cheap wind-up clocks.
* Changes familiars (unless the zlib var is_100_run is set)
What it Does Not/What you Should Do:
* See USER SETTINGS below
* It is up to you to create a custom combat script that will handle scaling monsters, preferably without taking damage. Might I suggest entangling noodles + an auto-hit skill (spell, shieldbutt, etc). Also, olfact "survivor" if you have olfaction.
* Leave an AT song slot free. (And keep in mind that the script changes equipment, so don't count on having four songs)
* Have in inventory: transponders, deodorant/pine needles, yellow candy hearts, and cheap wind-up clocks.
USER SETTINGS
spaaace_useitems (defaults to true) Use some items giving helpful effects (see "Have in inventory:" above).
spaaace_escortmanually (defaults to false) Set to true if you want to handle the "Escort Axel Otto around the moons" part of the quest yourself. It is the trickiest part.
Changelog (more detail given in individual version++ posts)
0.1 Initial version
0.2 Fix problems with the hamburglaris/porko code (I didn't get to test it the first time through.)
0.3 Fix off-by one error in Porko playing code. Add automatic version checking.
0.4 Fix abort when escorting Axel Otto. Attempt to deliberately shrug the buffs cast by the script (so as to not randomly shrug user's buffs.)
0.5 Allow restart after loss of spooky little girl. Abort Porko if the probability isn't 1.0, just in case.
0.6 Get the right porko probs by hitting choice.php an extra time. Keep track of Axel's courage level and warn user if it goes down too fast.
0.7 Add familiar switching. Add user preferences. Abort if Beaten Up.
0.8 Transpondentify when using maps from inventory.
1.0 Rename script to "spaaace.ash". Remove On the Trail when switching zones. Support farming of distention/dog hair pills.
1.1 Incorporate some code from slyz to make shieldbutt-substitution method more robust.
1.2 Used sk1ll instead of skill, which is now a reserved keyword.
Attachments
Last edited: