PDA

View Full Version : Breakfast Script



asturia
04-11-2006, 09:27 AM
Since the breakfast command does not work anymore in kolmafia 7.1
I've made the following script.
Untill now I checks wether you have one of the breakfast skills (pastamancery, advanced saucecrafting, summon snowcone, hilarious objects, advanced cocktailcrafting).
It doesn't use the toaster nor the arches since I don't know how to check if you have it or not.

w0rm
04-13-2006, 07:22 PM
Even if you can't check for these, there's a minor modification that gets around the situation. Try substituting this:

if (cli_execute( "arches")) {}
if (cli_execute( "toast")) {}

Not the most elegant fix, but it works.

Nightmist
04-13-2006, 11:38 PM
if (cli_execute( "arches")) {}
if (cli_execute( "toast")) {}


Theres no real point in that since it runs the toast and arches command in order to find what to return so effectively you can just use the cli_execute commands without the if's since the arches and toast commands dont do anything bad to your account if you dont have arches or toaster.

holatuwol
04-15-2006, 08:13 AM
KoLmafia always checks for toast and visits the arches, regardless of any other breakfast settings. The settings were added only for things which cost MP; all other things are automatically handled.