Attempted a fix. Can't test because I have no Chateau.
Attempted a fix. Can't test because I have no Chateau.
It seems to have worked. Thank you.
Noted. Galaktik availability is assumed in a lot of places and I have not found a quick fix. But I am looking. Thank you.n kingdom of explothing doc galactic is unavailable. So if you run out of other restorers and it tries to resort to buying from galactic it gives the following infinite loop
How about using this function
https://wiki.kolmafia.us/index.php?title=My_path
Make a bool called galaktik_avail which is used in various galaktik bought restorers to check if galactic is available.
on running the script it can check if my path is exploathing, and if it is then set galaktik_avail to false. otherwise set it to true. (it will pretty much need to be checked every time it is run, because breaking prism makes it available again)
If other paths are added in the future that block galactic, they can be added to that check
You can disable the use of, most restorers, from Doc's in the relay settings for the script.
That was the quick fix I was hoping for :-) but I don't see how to do it quickly.
There are 5-10 places where Galaktik is hard coded. There are several places where the script assumes success because it assumes Galaktik is available. However the script can fail if (for example) there is no meat to purchase Galaktik so I'm thinking I need to trigger the failure if Galaktik is unavailable as well. I am also trying to resist the Coder's Curse and decide it is easier to rewrite something than to understand it.
What is baleUr_AlwaysContinue for you?
If it is true, setting it to false might get around the infinite loop.