Skip to content

Commit

Permalink
More meat autoselling, esp spring shoes and secret door drops (#1500)
Browse files Browse the repository at this point in the history
* use the sea fruit drops from spring shoes as meat source (along with a
couple of other drops)

* don't use secret door drops for stats unless we're wealthy
  • Loading branch information
HippoKingKoL authored Sep 21, 2024
1 parent c09cb0a commit 1c4c7cf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion RELEASE/scripts/autoscend.ash
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ boolean autosellCrap()
return false;
}
foreach it in $items[Anticheese, Awful Poetry Journal, Beach Glass Bead, Beer Bomb, Clay Peace-Sign Bead, Decorative Fountain, Dense Meat Stack, Empty Cloaca-Cola Bottle, Enchanted Barbell, Fancy Bath Salts, Frigid Ninja Stars, Feng Shui For Big Dumb Idiots, Giant Moxie Weed, Half of a Gold Tooth, Headless Sparrow, Imp Ale, Keel-Haulin\' Knife, Kokomo Resort Pass, Leftovers Of Indeterminate Origin, Mad Train Wine, Mangled Squirrel, Margarita, Meat Paste, Mineapple, Moxie Weed, Patchouli Incense Stick, Phat Turquoise Bead, Photoprotoneutron Torpedo, Plot Hole, Procrastination Potion, Rat Carcass, Smelted Roe, Spicy Jumping Bean Burrito, Spicy Bean Burrito, Strongness Elixir, Sunken Chest, Tambourine Bells, Tequila Sunrise, Uncle Jick\'s Brownie Mix, Windchimes]
foreach it in $items[Anticheese, Awful Poetry Journal, Azurite, Beach Glass Bead, Beer Bomb, Bit-o-Cactus, Clay Peace-Sign Bead, Cocoa Eggshell Fragment, Decorative Fountain, Dense Meat Stack, Empty Cloaca-Cola Bottle, Enchanted Barbell, Eye Agate, Fancy Bath Salts, Frigid Ninja Stars, Feng Shui For Big Dumb Idiots, Giant Moxie Weed, Half of a Gold Tooth, Headless Sparrow, Imp Ale, Keel-Haulin\' Knife, Kokomo Resort Pass, Lapis Lazuli, Leftovers Of Indeterminate Origin, Mad Train Wine, Mangled Squirrel, Margarita, Meat Paste, Mineapple, Moxie Weed, Patchouli Incense Stick, Phat Turquoise Bead, Photoprotoneutron Torpedo, Plot Hole, Procrastination Potion, Rat Carcass, Sea Honeydew, Sea Lychee, Sea Tangelo, Smelted Roe, Spicy Jumping Bean Burrito, Spicy Bean Burrito, Strongness Elixir, Sunken Chest, Tambourine Bells, Tequila Sunrise, Uncle Jick\'s Brownie Mix, Windchimes]
{
if(item_amount(it) > 0)
{
Expand Down
4 changes: 4 additions & 0 deletions RELEASE/scripts/autoscend/auto_equipment.ash
Original file line number Diff line number Diff line change
Expand Up @@ -797,6 +797,10 @@ void finalizeMaximize(boolean speculative)
{
addBonusToMaximize($item[spring shoes], 200);
}
else if(my_meat() < meatReserve()) // those fruit drops can autosell for a lot
{
addBonusToMaximize($item[spring shoes], 200);
}
else if(my_hp() < 0.5*my_maxhp() && my_hp() > 0)
{
addBonusToMaximize($item[spring shoes], 200); // bonus to heal in wereprof as the werewolf after transition from Professor
Expand Down
11 changes: 8 additions & 3 deletions RELEASE/scripts/autoscend/auto_post_adv.ash
Original file line number Diff line number Diff line change
Expand Up @@ -916,11 +916,16 @@ boolean auto_post_adventure()
// items which give stats
buffMaintain($effect[Scorched Earth]);
buffMaintain($effect[Wisdom of Others]);
foreach it in $items[azurite, eye agate, lapis lazuli]
// Only use these if we've got plenty of meat and aren't max level
// Otherwise we'll autosell them
if(my_meat() > meatReserve()+1000 && my_level()<13)
{
if(item_amount(it) > 0 && auto_is_valid(it))
foreach it in $items[azurite, eye agate, lapis lazuli]
{
use(it, item_amount(it));
if(item_amount(it) > 0 && auto_is_valid(it))
{
use(it, item_amount(it));
}
}
}

Expand Down

0 comments on commit 1c4c7cf

Please sign in to comment.