Skip to content

Commit

Permalink
Blank out recovery script while running garbo (#1810)
Browse files Browse the repository at this point in the history
* Blank out recovery script while running garbo

* change recovery script locally, update zepp nc

---------

Co-authored-by: DSONE\OB8 <[email protected]>
  • Loading branch information
gausie and burningbman authored Feb 20, 2024
1 parent e017045 commit ee36dd3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/garbo-lib/src/wanderer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export class WandererManager {
[$location`The Hidden Park`, { 789: 6 }],
[
$location`A Mob of Zeppelin Protesters`,
{ 1432: 1, 856: 2, 857: 2, 858: 2 },
{ 1432: 1, 856: 2, 857: 3, 858: 2 },
],
[$location`A-Boo Peak`, { 1430: 2 }],
[$location`Sloppy Seconds Diner`, { 919: 6 }],
Expand Down
13 changes: 9 additions & 4 deletions packages/garbo/src/tasks/post/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
adv1,
availableChoiceOptions,
canAdventure,
cliExecute,
Expand Down Expand Up @@ -32,6 +33,7 @@ import {
have,
JuneCleaver,
undelay,
withProperty,
} from "libram";
import { GarboStrategy, Macro } from "../../combat";
import { globalOptions } from "../../config";
Expand Down Expand Up @@ -165,10 +167,13 @@ function juneCleaver(): GarboPostTask {
teleportEffects.every((e) => !have(e)) &&
myAdventures() > 0,
completed: () => get("_juneCleaverFightsLeft") > 0,
do: () =>
myInebriety() > inebrietyLimit()
? $location`Drunken Stupor`
: $location`Noob Cave`,
do: () => {
const location =
myInebriety() > inebrietyLimit()
? $location`Drunken Stupor`
: $location`Noob Cave`;
withProperty("recoveryScript", "", () => adv1(location, 1));
},
outfit: { weapon: $item`June cleaver` },
combat: new GarboStrategy(() =>
Macro.abortWithMsg(
Expand Down

0 comments on commit ee36dd3

Please sign in to comment.