PDA

View Full Version : ascensionChecklist.ash: Make sure you have the items for a painless run



Sandiman
12-03-2008, 03:55 PM
Have you ever hit the 'Ascend' button, only to realize seconds later that you forgot to make a maid/food/drink/house/whatever? Fear not!

ascensionChecklist.ash ensures you have the correct items for your ascension by compiling an easy-to-read list of the desired item amounts and creating/purchasing needed items if necessary. (Note: creating and purchasing behavior can be turned on/off globally)

Here's an example of how to tell the script what you want in order to ascend:

add_ChecklistItem( "goat cheese", 6 );
add_ChecklistItem( "dope wheels" );
add_ChecklistItem( "meat engine" );

And here's an example of the output:

--- PASSED ---
goat cheese [ 234 / 6 ]
dope wheels [ 8 / 1 ]
meat engine [ 3 / 1 ]

--- FAILED ---
(NONE)

The actual script currently checks 108 items!

Currently checked items include:

All items for the Sorceress' Tower
Quest-related outfits
Miscellaneous quest-related items such as goat cheese and ore.


NOTICE: This script is intended for people who are willing to modify a script to fit their own needs. As a preventative measure, CREATE_ITEMS and BUY_ITEMS (flags that determine whether the script will create or buy unavailable items) have been set to false. In its initial state, the script is merely informative. The body of build_checklist() contains all checked items and quantities; build_checklist() should be checked or modified by the user before changing CREATE_ITEMS or BUY_ITEMS to true.

Hopefully other people will find this script as useful as I do. :)

UPDATE LIST:
2009-24-09 - Added option to place all required items into the closet. To enable, change CLOSET_ITEMS to true.

jasonharper
12-03-2008, 06:38 PM
Nifty! And you can use set preAscensionScript=ascensionChecklist.ash to make sure you don't forget to run the script that keeps you from forgetting things...

I disagree with having a meat engine on the list; you can save a pull by borrowing the maid's engine, then putting it back together after you've made and untinkered the meatcar.

Bale
12-03-2008, 08:51 PM
Rather nice. I've got a multi that sometimes ascends softcore, so this is going to help a good bit the next time that multi ascends.



Nifty! And you can use set preAscensionScript=ascensionChecklist.ash to make sure you don't forget to run the script that keeps you from forgetting things...

Is there a list of these parameters for "set"? I'd dearly love to know.

By the way, am I the only one who tries to keep their script directory clear of such things by doing this:

set preAscensionScript=..\\autoscripts\\ascensionCheck list.ash
set recoveryScript = ..\\autoscripts\\hardcore_recoveryScript.ash

I do that with all my fight scripts, healing scripts, between battle scripts and other automatically run scripts so that my script directory isn't cluttered with things that I don't invoke manually. That way I can find my scripts easily.


I disagree with having a meat engine on the list; you can save a pull by borrowing the maid's engine, then putting it back together after you've made and untinkered the meatcar.


And that's why he specified how to customize it for your own use. ;) Good softcore tip though.

zarqon
12-04-2008, 01:12 AM
Is there a list of these parameters for "set"? I'd dearly love to know.


Yes. Your settings file, in your settings directory, named bale_prefs.txt.

Also, it appears (at least on my Win XP machine) that mafia will automatically find files even if they are in subdirectories. You can put them in subdirs without needing to specify the path.

Bale
12-04-2008, 06:19 AM
Yes. Your settings file, in your settings directory, named bale_prefs.txt.

Hmmm... that makes me feel stupid, but yeah... there it is. Let's search for "script". Possible handles for automatic scripts... betweenBattleScript, buyScript, chatbotScript, customCombatScript, plantingScript, postAscensionScript, preAscensionScript, recoveryScript... Thanks.


Also, it appears (at least on my Win XP machine) that mafia will automatically find files even if they are in subdirectories. You can put them in subdirs without needing to specify the path.


Oh? Really?! I can just create a brand new subdirectory and mafia will detect it? Convenient.

zarqon
12-04-2008, 08:00 AM
Hmmm... that makes me feel stupid, but yeah...

You should only feel stupid on the days you don't learn something. :)


Oh? Really?! I can just create a brand new subdirectory and mafia will detect it? Convenient.


Yeah, I thought so too! I haven't tested it from preferences but I know that I can call scripts from the CLI without typing the path.

Bale
12-04-2008, 09:50 AM
Just tested that with my recovery script. It didn't work. I needed to define the entire path or else my script wasn't called with "ash restore_hp(0)". Darn.

Sandiman
12-04-2008, 01:25 PM
For those of you keeping score, I've found one misplaced item in ascensionChecklist.ash: rather than the Knob Goblin perfume (a useful item), I had a Knob Goblin love potion (definitely less useful). It's fixed in mine, and I've uploaded a new version.

dj_d
12-04-2008, 04:44 PM
This is really cool, Sandiman. I was just finishing up something similar - I may post that as well as the functionality's not quite the same.

Raven434
03-01-2009, 06:23 PM
I just used this. VERY helpful in doing my prep work.

/raises a beer

Sandiman
03-02-2009, 03:26 PM
Thanks. :-) Glad to know other people are finding this useful as well.

mredge73
05-22-2009, 02:08 PM
Hey
How should I modify this script to put all of the checklist items in the closet?
This way I can run it before the last day of an ascension without having to worry about accidentally destroying any of the items newly created or acquired.

Edit:
I already figured it out

Sandiman
05-25-2009, 04:21 AM
Sorry I took so long to respond. I've uploaded a new version that supports closeting your items in case you'd rather use my version. I'm glad you got yours figured out though!

mredge73
05-26-2009, 05:34 PM
My version does the closet part more efficiently; it builds the cli command to do 11 different items at a time.
Feel free to use it wherever you need it; I borrowed the idea from one of Bale's scripts to give him some credit.
Tested it a few times, seems to work fine with some items in the closet and some not. It did not buy double if you had some in the closet, so it is safe to use multiple times after an ascension is complete.

The Closet part is the only part that is modified in this script.

Raven434
05-27-2009, 09:12 PM
I added a few things in that help my runs at least:

add_ChecklistItem( "eggnog", 14 );
// Might not be the smartest way to pull the booze - basically all the bases...
add_ChecklistItem( "strawberry wine", 10 );
add_ChecklistItem( "screwdriver", 10 );
add_ChecklistItem( "whiskey sour", 10 );
add_ChecklistItem( "monkey wrench", 10 );
add_ChecklistItem( "tequila sunrise", 10 );
add_ChecklistItem( "wine spritzer", 10 );
add_ChecklistItem( "whiskey and soda", 10 );
add_ChecklistItem( "martini", 10 );
add_ChecklistItem( "salty dog", 10 );
add_ChecklistItem( "vodka martini", 10 );
add_ChecklistItem( "strawberry daiquiri", 10 );
add_ChecklistItem( "margarita", 10 );

//Misc weapons - clockwork weapons can be pretty handy at lower levels - 2009-04-25 - Raven434
add_ChecklistItem( "clockwork sword" );
add_ChecklistItem( "clockwork staff" );
add_ChecklistItem( "clockwork crossbow" );

Anne Noise
06-10-2009, 09:57 PM
About to use this script for the first time, thanks in advance.

Just curious, why include food/booze but not spleen?

Raven434
06-18-2009, 02:20 AM
I decided that getting more stats and advs from food / booze was more beneficial than using a pull on a spleen.

It is also based on an assumption, that I have a lot of the various types of wads in my storage at Hagnk's which I will get back after ronin is broken.

That being said, I am looking at not-a-pipes and some other stuff on the spleen page of the wiki...

WelshRarePasta
11-17-2009, 07:55 PM
Thanks for the script Raven!

I was looking for something to help me with my terrible memory when it comes to stocking Hagnk's pre-ascension. I think I missed a sub-600 SC run yesterday because of forgetting to stock black pepper before I ascended :mad: .

This should help dramatically! It's also REALLY interesting, reading your default items and amounts, to peer into the mind of how someone else pulls during SC!

WRP/C

tgetgel
11-18-2009, 02:02 AM
The Closet part is the only part that is modified in this script.
Is there a hardcore version of this?

Bale
11-18-2009, 05:49 AM
Huh? What would a hardcore version of this do? You have no pulls in hardcore so I just don't understand the purpose.

tgetgel
11-18-2009, 10:52 PM
Huh? What would a hardcore version of this do? You have no pulls in hardcore so I just don't understand the purpose.

Well, that does make sense and would well explain why one does not exist.:D Having not yet ascended I am trying to come up to speed on this kind of stuff.

Bale
11-18-2009, 11:08 PM
Then what are you waiting for? Ascend! Doing it will teach you more about the game than any study.

I'll admit it is a little more complicated for softcore, but for hardcore, preparation is simple. Just make sure you have the following familiars into your terrarium: Angry Goat, Barrrnacle, Sabre-Toothed Lime, Levitating Potato, Baby Gravy Fairy, Blood-Faced Volleyball.

That's it. That's all the preparation you have to do for hardcore. Now go and enjoy it!

PS. What's your in-game name?

tgetgel
11-19-2009, 02:59 AM
Then what are you waiting for? Ascend! Doing it will teach you more about the game than any study.

One question first. Can you use the permed softcore skills in a hardcore run?

lostcalpolydude
11-19-2009, 03:00 AM
One question first. Can you use the permed softcore skills in a hardcore run?

No.

tgetgel
11-19-2009, 12:40 PM
No.

So you either chose to run softcore for a while or hardcore for a while. The motivation for HC is the ascension gifts. What is the motivation to go back to SC except to SC perm everything or to play the lower levels using pulls?

Veracity
11-19-2009, 02:05 PM
Just make sure you have the following familiars into your terrarium: Angry Goat, Barrrnacle, Sabre-Toothed Lime, Levitating Potato, Baby Gravy Fairy, Blood-Faced Volleyball.
To be picky, I'd add Mosquito to that list. Yes, you have to have gotten the larva, but you are not required to have put it in your terrarium! The Star Starfish, however, is guaranteed to be in your terrarium.

I'd also suggest getting a Leprechaun, since it is useful in at least one place and is annoying to get in hardcore.

lostcalpolydude
11-19-2009, 07:22 PM
So you either chose to run softcore for a while or hardcore for a while. The motivation for HC is the ascension gifts. What is the motivation to go back to SC except to SC perm everything or to play the lower levels using pulls?

The lower levels, or the entire run. The reason to play softcore is that you get pulls. If you're not interested in that, then maybe HC is the way to go for you. The main kol forum is probably a better place for this discussion though.

Bale
11-19-2009, 09:10 PM
So you either chose to run softcore for a while or hardcore for a while. The motivation for HC is the ascension gifts. What is the motivation to go back to SC except to SC perm everything or to play the lower levels using pulls?I'm not sure if it was clear to you that HC permed skills can be used in SC play, but I still agree with that assessment. The only reason to go SC is if you want to play with pulls.


To be picky, I'd add Mosquito to that list. Yes, you have to have gotten the larva, but you are not required to have put it in your terrarium! That doesn't matter since you are guaranteed to get a new mosquito, right? Yeah, it is better to put it in your terrarium.


I'd also suggest getting a Leprechaun, since it is useful in at least one place and is annoying to get in hardcore.Good point. The Leprechaun should be on the must have familiar list. It's certainly not hard to get after all and can be useful.

tgetgel
11-20-2009, 12:54 PM
So, of the listed familiars (let's assume first ascension and these are all you had to choose from) which is best for a HC run, a BM run, and a SC run? Please justify your response.
Leprechaun, Mosquito, Angry Goat, Barrrnacle, Sabre-Toothed Lime, Levitating Potato, Baby Gravy Fairy, Blood-Faced Volleyball, Star Starfish?

Veracity
11-20-2009, 01:38 PM
"Please justify your response"?

Sheesh.

Grotfang
11-20-2009, 03:29 PM
So, of the listed familiars (let's assume first ascension and these are all you had to choose from) which is best for a HC run, a BM run, and a SC run? Please justify your response.
Leprechaun, Mosquito, Angry Goat, Barrrnacle, Sabre-Toothed Lime, Levitating Potato, Baby Gravy Fairy, Blood-Faced Volleyball, Star Starfish?

The depth you are asking for is a little silly given there is a forum devoted to this sort of discussion (http://forums.kingdomofloathing.com/vb/) and this is not it.

As for the question. Volleyball. It gives you stats which makes you win faster. You don't have enough skills to need that much MP, leprechaun is ok in certain scenarios (so use it when needed), mozzie is not good - all it does is kill stuff, which you should be doing anyway, goat the same, potato blocks stuff, but can be avoided by using safer moxie, fairy - see leprechaun.

In BM you can get the volleyball quickly. In HC and SC you should already have it. However, you would want to have all of them and seriously... come on. Why not use whichever one suited your goals at any particular time? I know 90% runs are great and all, but for first ascensions just experiment a bit!

tgetgel
11-23-2009, 01:05 PM
"Please justify your response"?

Sheesh.

I am just trying to understand your reasoning! If you like a flying gravy boat and someone else likes a submerged one, I would like to understand why so I can address the implications as to my character and style of play.

tgetgel
11-23-2009, 01:09 PM
The depth you are asking for is a little silly given there is a forum devoted to this sort of discussion (http://forums.kingdomofloathing.com/vb/) and this is not it.

As for the question. Volleyball. It gives you stats which makes you win faster. You don't have enough skills to need that much MP, leprechaun is ok in certain scenarios (so use it when needed), mozzie is not good - all it does is kill stuff, which you should be doing anyway, goat the same, potato blocks stuff, but can be avoided by using safer moxie, fairy - see leprechaun.

In BM you can get the volleyball quickly. In HC and SC you should already have it. However, you would want to have all of them and seriously... come on. Why not use whichever one suited your goals at any particular time? I know 90% runs are great and all, but for first ascensions just experiment a bit!

Thanks, Grotfang, for your response. I will look through those forums.