[size=+1]Familiar Feeder 0.91 beta[/size]
Familiar Feeder requires htmlform.ash, SmashLib,ZLib, and daily build 9600 or greater (14.7 will not work unless you have the most recent data files).
The Familiar Feeder is a relay browser script - it creates an interface that helps you decide what to feed to your Slimeling, Gluttonous Green Ghost or Spirit Hobo during an ascension. One important feature is the possibility to 'hide' items from the script - players who have misclicked and fed a part of an outfit can understand how nice this is.
Keep in mind this is an ascension-oriented script, I know using this in aftercore with a big inventory would be mildly overwhelming.
Note that this is still a work in progress, and you should look at the possibilities offered with a critical eye.
This script is very conservative, and will never consider an item that will take a turn to create. There is also the possibility to specify how many of what items you do not, under any circumstances, want created (or used as ingredients) and fed.
If you want to play around with the script, you can disable the actual feeding/creating by editing the script and changing the debug variable at the top to true. The commands will be printed in the gCLI instead of being executed.
What does it do?
You can also find "Chewing-gum on a string" listed among the items you can feed your Slimeling. Choose this to use chewing-gums and feed the resulting starter items. The script will closet (then uncloset) starter items if it gives you a better chance of avoiding unfeedable chewing-gum items. Note that any worthless item you obtain will stay in your inventory and won't be closeted.
How to use it:
How to feed items:
"Feed Stuff" options:
How to configure the items to keep:
To do:
Changelog
04.08.10 - ver. 0.1 alpha posted.
04.11.10 - ver. 0.1 beta: move the keep map to a data file, revamp the script to resemble KoL's Autosell page, add notify and version checking.
04.12.10 - ver. 0.2 beta: add item creation, remember toggle state of sections with a cookie.
04.14.10 - ver. 0.3 beta: change name to FamiliarFeeder, add support for GGG and Hobo, add 'Keep Stuff' section, cleanup code, check autosell vs pulverize
04.18.10 - ver. 0.31 beta: fix issue with saucepans
04.19.10 - ver. 0.32 beta: fix a couple of little logic errors
04.28.10 - ver. 0.4 beta: consider cost of meat paste when necessary, use autosell value instead of cost for items (balloons) that actually autosell for more than their parts, only show the meat stack items when considering the Slimeling, collapse the 'Feedable' and 'Creatable' section into one
04.29.10 - ver. 0.41 beta: removed that '!' that prevented v0.4 beta from working, remove items to keep when you can't consume them (for pathed runs).
05.01.10 - ver. 0.42 beta: fixed (X possible, Y current) so that items in inventory are counted in X, fixed displaying of meat stack items.
06.09.10 - ver. 0.5 beta: added the Items to Keep section, removed meat stack items from the items to Feed since they don't give MP, a couple of aesthetic changes.
06.16.10 - ver. 0.51 beta: fixed a typo that was removing foods to keep when you couldn't drink, added more default ascension-relevant items to keep in Feeder_keep.txt, added logic to keep only the worst hats for the hatter buff, drum and guitar for the Lair
07.11.10 - ver. 0.52 beta: fixed a little bug that sometimes caused meat stack items to not be recognized as such
07.30.10 - ver. 0.53 beta: only basic meat items and the gnollish autoplunger give meat stacks
10.06.10 - ver. 0.6 beta: changed the default data file and the script to account for recent (and not so recent) changes to starter items and crafting. Fix a few aesthetics bugs and added logic for feeding the hippy outfit and chef's hat.
10.11.10 - ver. 0.61 beta: added support for starter items from chewing-gums on strings. Import SmashLib.ash instead of smashlib.ash.
11.09.10 - ver. 0.62 beta: added support for Bart Ender beers
07.12.11 - ver. 0.63 beta: bugfix for the new fullness/inebriety data files
07.24.11 - ver. 0.7 beta: use knoll_available() instead of in_muscle_sign(). No need to load data files for food/booze consumption data anymore.
07.29.11 - ver. 0.8 beta: charrrms bracelets have a power now, and are circular concoctions. Prevent infinite recursion in get_cost().
09.06.11 - ver. 0.9 beta: remove Clip Art items from the concoctions map.
06.30.12 - ver. 0.91 beta: to_item( item) isn't a thing anymore.
Familiar Feeder requires htmlform.ash, SmashLib,ZLib, and daily build 9600 or greater (14.7 will not work unless you have the most recent data files).
The Familiar Feeder is a relay browser script - it creates an interface that helps you decide what to feed to your Slimeling, Gluttonous Green Ghost or Spirit Hobo during an ascension. One important feature is the possibility to 'hide' items from the script - players who have misclicked and fed a part of an outfit can understand how nice this is.
Keep in mind this is an ascension-oriented script, I know using this in aftercore with a big inventory would be mildly overwhelming.
Note that this is still a work in progress, and you should look at the possibilities offered with a critical eye.
This script is very conservative, and will never consider an item that will take a turn to create. There is also the possibility to specify how many of what items you do not, under any circumstances, want created (or used as ingredients) and fed.
If you want to play around with the script, you can disable the actual feeding/creating by editing the script and changing the debug variable at the top to true. The commands will be printed in the gCLI instead of being executed.
What does it do?
- A list of feedable items you can craft with ingredients from your inventory or NPC stores is generated.
- For each item you can create or have in your inventory that fills the requirements*, a meat per MP ratio is computed with either the autosell value or the pulverized value, and the amount of MP your familiar gives with each charge. In the case of creatable items, the cost is the sum of the values of all the basic ingredients (or the autosell value if it's higher).
- The Feeder_keep.txt data file is loaded. It contains items you want to keep, as well as the quantities to hold. If you are on a pathed run, food and/or booze will not be considered as items to keep.
- All the items you can feed are sorted by their ratio of Meat/MP, and listed.
- Items you want to keep X of are listed only if you have more than X and colored blue.
- The amounts of createable items take into account items you want to keep, if they happen to be one of the ingredients.
- Items that would give you more MP by using the meat gained from autoselling are colored red
- Items can be added to the 'items to keep' list through the interface.
- When feeding the slimeling, items created from meat stacks are listed in a separate frame so they are easy to find. Note that they do not add MP charges, even though Mafia adds it.
You can also find "Chewing-gum on a string" listed among the items you can feed your Slimeling. Choose this to use chewing-gums and feed the resulting starter items. The script will closet (then uncloset) starter items if it gives you a better chance of avoiding unfeedable chewing-gum items. Note that any worthless item you obtain will stay in your inventory and won't be closeted.
How to use it:
- Download relay_FamiliarFeeder.ash to Mafia's /relay folder.
- Download Feeder_keep.txt to Mafia's /data folder.
- Download htmlform.ash, SmashLib and ZLib to your /scripts directory.
- If mafia was running when you downloaded the script, use the [Re] link in the top pane.
- Select FamiliarFeeder in the top pane dropdown.
How to feed items:
- If your familiar is in the terrarium, use the Take [familiar] out button.
- Check items you want to feed in the Feedable Items section.
- The current and creatable items you can feed are listed like Mafia's food/booze/spleen manager. Next to each item, there's (X possible, Y current) which indicates you have Y in your inventory, and can create X - Y (so you can feed up to X).
- Configure the amounts to feed in the Feed Stuff section.
- Use the Feed button to feed you familiar.
"Feed Stuff" options:
- Feed All Current - Feed the quantity you have in your inventory (nothing is created).
- Feed All Current But One - Feed the quantity you have in your inventory minus one (nothing is created).
- Feed All - Feed as many as possible (items are created if needed).
- Feed quantity - Feed the quantity specified (items are created if needed).
How to configure the items to keep:
- Check items you want to keep in the different sections (the Items to Keep section shows the current list, if you want to modify it).
- Configure the amounts to keep in the Keep Stuff section.
- Use the Keed button.
To do:
- Find someone that can help me make the script more ergonomic (item data presentation, putting the familiar's images in there somewhere, aligning stuff etc...)
- Wait for bugs and squash them!
Changelog
04.08.10 - ver. 0.1 alpha posted.
04.11.10 - ver. 0.1 beta: move the keep map to a data file, revamp the script to resemble KoL's Autosell page, add notify and version checking.
04.12.10 - ver. 0.2 beta: add item creation, remember toggle state of sections with a cookie.
04.14.10 - ver. 0.3 beta: change name to FamiliarFeeder, add support for GGG and Hobo, add 'Keep Stuff' section, cleanup code, check autosell vs pulverize
04.18.10 - ver. 0.31 beta: fix issue with saucepans
04.19.10 - ver. 0.32 beta: fix a couple of little logic errors
04.28.10 - ver. 0.4 beta: consider cost of meat paste when necessary, use autosell value instead of cost for items (balloons) that actually autosell for more than their parts, only show the meat stack items when considering the Slimeling, collapse the 'Feedable' and 'Creatable' section into one
04.29.10 - ver. 0.41 beta: removed that '!' that prevented v0.4 beta from working, remove items to keep when you can't consume them (for pathed runs).
05.01.10 - ver. 0.42 beta: fixed (X possible, Y current) so that items in inventory are counted in X, fixed displaying of meat stack items.
06.09.10 - ver. 0.5 beta: added the Items to Keep section, removed meat stack items from the items to Feed since they don't give MP, a couple of aesthetic changes.
06.16.10 - ver. 0.51 beta: fixed a typo that was removing foods to keep when you couldn't drink, added more default ascension-relevant items to keep in Feeder_keep.txt, added logic to keep only the worst hats for the hatter buff, drum and guitar for the Lair
07.11.10 - ver. 0.52 beta: fixed a little bug that sometimes caused meat stack items to not be recognized as such
07.30.10 - ver. 0.53 beta: only basic meat items and the gnollish autoplunger give meat stacks
10.06.10 - ver. 0.6 beta: changed the default data file and the script to account for recent (and not so recent) changes to starter items and crafting. Fix a few aesthetics bugs and added logic for feeding the hippy outfit and chef's hat.
10.11.10 - ver. 0.61 beta: added support for starter items from chewing-gums on strings. Import SmashLib.ash instead of smashlib.ash.
11.09.10 - ver. 0.62 beta: added support for Bart Ender beers
07.12.11 - ver. 0.63 beta: bugfix for the new fullness/inebriety data files
07.24.11 - ver. 0.7 beta: use knoll_available() instead of in_muscle_sign(). No need to load data files for food/booze consumption data anymore.
07.29.11 - ver. 0.8 beta: charrrms bracelets have a power now, and are circular concoctions. Prevent infinite recursion in get_cost().
09.06.11 - ver. 0.9 beta: remove Clip Art items from the concoctions map.
06.30.12 - ver. 0.91 beta: to_item( item) isn't a thing anymore.
Attachments
Last edited: