Skip to content

Commit

Permalink
don't use craberry cordial or libation of liveliness if they have to be
Browse files Browse the repository at this point in the history
crafted, they suck
  • Loading branch information
HippoKingKoL committed Jan 22, 2025
1 parent 03da38d commit 36c8b6b
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions RELEASE/scripts/autoscend/auto_providers.ash
Original file line number Diff line number Diff line change
Expand Up @@ -562,13 +562,16 @@ float provideInitiative(int amt, location loc, boolean doEquips, boolean specula
Ticking Clock,
Well-Swabbed Ear,
Poppy Performance
];
]; // eff_to_try
if(tryEffects(ef_to_try))
return result();
if (can_interact())
{ // Not worth making in HC
ef_to_try[$effect[Provocative Perkiness]] = true;
ef_to_try = $effects[Provocative Perkiness];
if(tryEffects(ef_to_try))
return result();
}
if(tryEffects(ef_to_try))
return result();
if(auto_sourceTerminalEnhanceLeft() > 0 && have_effect($effect[init.enh]) == 0 && auto_is_valid($effect[init.enh]))
{
Expand Down Expand Up @@ -1403,7 +1406,7 @@ float provideMeat(int amt, location loc, boolean doEverything, boolean speculati
}
songboomSetting("meat"); //30% meat
// items
if(tryEffects($effects[
boolean[effect] ef_to_try = $effects[
Flapper Dancin\', //100% meat
Heightened Senses, //50% meat, 25% item drop
Big Meat Big Prizes, //50% meat
Expand All @@ -1422,9 +1425,19 @@ float provideMeat(int amt, location loc, boolean doEverything, boolean speculati
Sweet Heart, // Muscle +X, +2X% meat
Cranberry Cordiality, //10% meat
So You Can Work More... //10% meat
]))
]; // ef_to_try
if(tryEffects(ef_to_try))
if(pass())
return result();
if (can_interact())
{ // Not worth making in HC
ef_to_try = $effects[Cranberry Cordiality];
if(tryEffects(ef_to_try))
if(pass())
return result();
}
if(have_effect($effect[Synthesis: Greed]) == 0)
{
Expand Down

0 comments on commit 36c8b6b

Please sign in to comment.