Skip to content

Commit

Permalink
feat: support workshed=takerspace (#2175)
Browse files Browse the repository at this point in the history
  • Loading branch information
midgleyc authored Dec 10, 2024
1 parent 9d9329a commit 3e3a509
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/garbo/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const workshedAliases = [
},
{ item: $item`Little Geneticist DNA-Splicing Lab`, aliases: ["dnalab"] },
];
const unaliasedSheds = $items`cold medicine cabinet, diabolic pizza cube, portable Mayo Clinic, spinning wheel, warbear auto-anvil, warbear chemistry lab, warbear high-efficiency still, warbear induction oven, warbear jackhammer drill press, warbear LP-ROM burner`;
// eslint-disable-next-line libram/verify-constants
const unaliasedSheds = $items`TakerSpace letter of Marque, cold medicine cabinet, diabolic pizza cube, portable Mayo Clinic, spinning wheel, warbear auto-anvil, warbear chemistry lab, warbear high-efficiency still, warbear induction oven, warbear jackhammer drill press, warbear LP-ROM burner`;
const allWorkshedAliases = [
...workshedAliases.map(({ item, aliases }) => {
return { item: item, aliases: [...aliases, item.name.toLowerCase()] };
Expand Down
2 changes: 1 addition & 1 deletion packages/garbo/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function defaultTarget() {
}

export function main(argString = ""): void {
sinceKolmafiaRevision(28078); // track remaining bat wing skills
sinceKolmafiaRevision(28151); // detect TakerSpace + basic related functionality
checkGithubVersion();

// Hit up main.php to get out of easily escapable choices
Expand Down
3 changes: 2 additions & 1 deletion packages/garbo/src/tasks/post/worksheds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ const worksheds = [
...$items`warbear chemistry lab, warbear LP-ROM burner`.map(
(item) => new GarboWorkshed({ workshed: item, done: potionSetupCompleted }),
),
...$items`snow machine, warbear jackhammer drill press, warbear auto-anvil`.map(
// eslint-disable-next-line libram/verify-constants
...$items`TakerSpace letter of Marque, snow machine, warbear jackhammer drill press, warbear auto-anvil`.map(
(item) => new GarboWorkshed({ workshed: item }),
),
];
Expand Down

0 comments on commit 3e3a509

Please sign in to comment.