Last active
June 13, 2022 07:58
-
-
Save boppreh/44aa7aed4b872f3ea97ec64aad30bcd7 to your computer and use it in GitHub Desktop.
Kingdom of Loathing - 3-day auto-ascend and reincarnation with Grey Goo path, no requirements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs Grey Goo ascensions with no input required. Just run this script once a day and it'll do some basic farming (11-leaf clovers, eating fortune cookies, etc) and reincarnate in the same path when possible. | |
void do_jobs() { | |
# Spend time doing Jobs Boards adventures. Not very rewarding, but | |
# levels us up enough to cast daily skills and gives some pocket change. | |
if (my_adventures() >= 10) { | |
visit_url("place.php?whichplace=town&action=town_oddjobs"); | |
while (my_adventures() >= 10) { | |
run_choice(985, "pwd&option=3"); | |
} | |
} | |
} | |
void reincarnate() { | |
print("I'm tired of this world, let's ascend."); | |
visit_url("ascend.php?action=ascend&confirm=on&confirm2=on"); | |
visit_url("afterlife.php"); | |
visit_url("afterlife.php?action=pearlygates"); | |
# Buy a Carton of Astral Energy Drinks for the Lucky! buff. | |
visit_url("afterlife.php?action=buydeli&whichitem=10882"); | |
visit_url("afterlife.php?place=reincarnate"); | |
# Reincarnate as Saucerer on Grey Goo path with Opossum sign. | |
visit_url("afterlife.php?action=ascend&confirmascend=1&whichsign=5&gender=2&whichclass=3&whichpath=40&asctype=3&nopetok=1&noskillsok=1"); | |
# Get rid of the initial choice adventure. | |
visit_url("choice.php?forceoption=0"); | |
visit_url("choice.php?pwd&whichchoice=1419&option=1"); | |
# Visit Toot Oriole to get our random gems. | |
visit_url("tutorial.php?action=toot&pwd"); | |
item letter = $item[letter from King Ralph XI]; | |
if (item_amount(letter) > 0) { | |
use(1, letter); | |
use(1, $item[pork elf goodies sack]); | |
} | |
# Using the Carton of Astral Energy Drink that we bought at the Deli Lama should give us 6x astral energy drink for Lucky! adventures. | |
item carton_drink = $item[[10882]carton of astral energy drinks]; | |
if (item_amount(carton_drink) > 0) { | |
use(1, carton_drink); | |
} | |
# Do jobs for starter meat. | |
do_jobs(); | |
print("Welcome to your new life!"); | |
} | |
void daily_tasks() { | |
# Mr. Klaw "Skill" Crane Game | |
for i from 1 to 3 { | |
visit_url("clan_rumpus.php?action=click&spot=3&furni=3"); | |
} | |
# Buy 11-leaf clovers. | |
if (item_amount($item[Hermit Permit]) == 0) { | |
buy($item[Hermit Permit]); | |
} | |
while (true) { | |
while (item_amount($item[worthless trinket]) + item_amount($item[worthless gewgaw]) + item_amount($item[worthless knick-knack]) < 1) { | |
buy(1, $item[Chewing gum on a String]); | |
use(1, $item[Chewing gum on a String]); | |
} | |
if (!hermit(1, $item[11-leaf clover])) { | |
break; | |
} | |
} | |
# Daily skills to harvest items. | |
use_skill(1, $skill[Pastamastery]); | |
use_skill(1, $skill[Advanced Saucecrafting]); | |
use_skill(1, $skill[Advanced Cocktailcrafting]); | |
# Eat all the fortune cookies we can to get 10-leaf clovers. | |
buy($item[fortune cookie], fullness_limit() - my_fullness()); | |
eat($item[fortune cookie], fullness_limit() - my_fullness()); | |
# Eat Astral Energy Drink, get Lucky!, adventure at the Limerick Dungeon, and get Cyclops Eyedrops from the lucky adventure. | |
item energy_drink = $item[[10883]astral energy drink]; | |
while (item_amount(energy_drink) > 0 && spleen_limit() - my_spleen_use() >= 5) { | |
eat(energy_drink, 1); | |
visit_url("adventure.php?snarfblat=19"); | |
} | |
# Do more jobs with the food we ate. | |
do_jobs(); | |
print("Finished daily tasks."); | |
} | |
void main() { | |
daily_tasks(); | |
if (my_path() == "Grey Goo" && my_daycount() >= 3) { | |
# Grey goo path enables ascension after 3 days, no actions required. | |
reincarnate(); | |
daily_tasks(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment