My Daily script

asturia

Minion
This is the script I run on my farming character.
It does the following: cast my daily summonings, eat my food and drink my booze. request necessary buffs and then spends all of my adventures.
It then sells all of the items before it drinks a final drink.

If you notice anything that could be better in the script please let me know.
 

Attachments

  • Asturia.ash
    18.1 KB · Views: 96
Code:
	cli_execute( "display put * bag of airline peanuts");
	cli_execute( "display put * clown hammer");
	cli_execute( "display put * explosion-flavored chewing gum");
	cli_execute( "display put * fake fake vomit");
	cli_execute( "display put * fake hand");
	cli_execute( "display put * magical ice cube with a fly in it");
	cli_execute( "display put * rubber emo roe");
	cli_execute( "display put * whoopie cushion");
	cli_execute( "display put * yellow snowcone");
	cli_execute( "display put * joybuzzer");
	cli_execute( "display put * pet rock snooty disguise");
	cli_execute( "display put * wind-up chattering teeth");
	cli_execute( "display put * jazz soap");
	cli_execute( "display put * brick");
	cli_execute( "display put * pet rock Groucho disguise");
	cli_execute( "display put * defective skull");
	cli_execute( "display put * Amulet of Yendor");
	cli_execute( "display put * X-ray specs");
	cli_execute( "display put * wheel");
	cli_execute( "display put * yo");
	cli_execute( "display put * prehistoric spear");
	cli_execute( "display put * stick-on-a-string");
	cli_execute( "display put * fire");
	cli_execute( "display put * leaf tube");
	cli_execute( "display put * toothsome rock");
        cli_execute( "display put * possessed top");
        cli_execute( "display put * killer rag doll");
        cli_execute( "display put * tree-eating kite");
        cli_execute( "display put * incredibly creepy marionette");
        cli_execute( "display put * fancy dress ball");
        cli_execute( "display put * mad scientist's sock monkey");
        cli_execute( "display put * stuffed alien blob");
        cli_execute( "display put * vampire duck-on-a-string");
        cli_execute( "display put * toy crazy train");
        cli_execute( "display put * razor-tipped yo-yo");
        cli_execute( "display put * toy mercenary");
        cli_execute( "display put * evil teddy bear");
        cli_execute( "display put * pet rock");
        cli_execute( "display put * toy ray gun");
        cli_execute( "display put * toy space helmet");
        cli_execute( "display put * MagiMechTech NanoMechaMech");
        cli_execute( "display put * toy jet pack");
        cli_execute( "display put * astronaut pants");
        cli_execute( "display put * encoder ring");
could be changed to:
Code:
  cli_execute( "display put * bag of airline peanuts, " +
        "* clown hammer, " +
        "* explosion-flavored chewing gum, " +
        "* fake fake vomit, " +
        "* fake hand, " +
        "* magical ice cube with a fly in it, " +
        "* rubber emo roe, " +
        "* whoopie cushion, " +
        "* yellow snowcone, " +
        "* joybuzzer, " +
        "* pet rock snooty disguise, " +
        "* wind-up chattering teeth, " +
        "* jazz soap, " +
        "* brick, " +
        "* pet rock Groucho disguise, " +
        "* defective skull, " +
        "* Amulet of Yendor, " +
        "* X-ray specs, " +
        "* wheel, " +
        "* yo, " +
        "* prehistoric spear, " +
        "* stick-on-a-string, " +
        "* fire, " +
        "* leaf tube, " +
        "* toothsome rock, " +
        "* possessed top, " +
        "* killer rag doll, " +
        "* tree-eating kite, " +
        "* incredibly creepy marionette, " +
        "* fancy dress ball, " +
        "* mad scientist's sock monkey, " +
        "* stuffed alien blob, " +
        "* vampire duck-on-a-string, " +
        "* toy crazy train, " +
        "* razor-tipped yo-yo, " +
        "* toy mercenary, " +
        "* evil teddy bear, " +
        "* pet rock, " +
        "* toy ray gun, " +
        "* toy space helmet, " +
        "* MagiMechTech NanoMechaMech, " +
        "* toy jet pack, " +
        "* astronaut pants, " +
        "* encoder ring");

Please verify I have the correct format. The effect would be faster execution, and fewer server hits. For each time the shown method hits the servers, your method does so 11 times. I left them broken into individual lines so you could read it easier.

Code:
  cli_execute( "display put * bag of airline peanuts, * clown hammer, * explosion-flavored chewing gum, * fake fake vomit, * fake hand, * magical ice cube with a fly in it, * rubber emo roe, * whoopie cushion, * yellow snowcone, * joybuzzer, * pet rock snooty disguise, * wind-up chattering teeth, * jazz soap, * brick, * pet rock Groucho disguise, * defective skull, * Amulet of Yendor, * X-ray specs, * wheel, * yo, * prehistoric spear, * stick-on-a-string, * fire, * leaf tube, * toothsome rock, * possessed top, * killer rag doll, * tree-eating kite, * incredibly creepy marionette, * fancy dress ball, * mad scientist's sock monkey, * stuffed alien blob, * vampire duck-on-a-string, * toy crazy train, * razor-tipped yo-yo, * toy mercenary, * evil teddy bear, * pet rock, * toy ray gun, * toy space helmet, * MagiMechTech NanoMechaMech, * toy jet pack, * astronaut pants, * encoder ring");

Would be the same
You made an effort to over-ride kolmafia handling of the beaten up effect, but missed something minor but more efficient:

When beaten up I typed "uneffect beaten up" into the cli.
Searching for items...
Purchasing soft green echo eyedrop antidote (1 @ 236)...
You acquire an item: soft green echo eyedrop antidote Purchases complete.
Using soft green whatever...
Beaten Up removed.

Well tiny houses also remove beaten up, and as you know when beaten up is removed your max hp and MP is increased. This means you have room for the other effects of the tiny houses...hp and MP gain. Eyedrops don't do this. Tiny houses are cheaper in the mall at 214 meat, and do more. End spoiler here.
 

holatuwol

Developer
I always thought tiny houses were available in far lower quantities than soft green echo eyedrop antidotes. I guess with the scroll drain from Crimbo, the supply shot up. I'll have KoLmafia default to tiny houses in the next release.
 
Since the icy peak nerf, I have had in the tens of thousands of tiny houses. They barely sell... not that echo eyedrops sell any better.

Edit: Oh and the price given is mall minimum for both. Echo eyedrops/tiny houses did sell during crimbo, but they never made it above minimum. There is just way too many of both of them in game.
 
Top