Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch to using external mall-check script #2222

Merged
merged 1 commit into from
Jan 26, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/garbo/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ import { dailySetup } from "./dailies";
import { nonOrganAdventures, runDiet } from "./diet";
import { dailyFights, freeFights } from "./fights";
import {
allMallPrices,
bestJuneCleaverOption,
checkGithubVersion,
HIGHLIGHT,
Expand Down Expand Up @@ -136,7 +135,7 @@ export function main(argString = ""): void {
);
}

allMallPrices();
cliExecute("mallcheck.js");

if (globalOptions.target === $monster.none) {
globalOptions.target = defaultTarget();
Expand Down
10 changes: 0 additions & 10 deletions packages/garbo/src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {
itemDropsArray,
lastMonster,
Location,
mallPrices,
meatDropModifier,
Monster,
mpCost,
Expand All @@ -48,7 +47,6 @@ import {
rollover,
runChoice,
runCombat,
sessionStorage,
setLocation,
Skill,
soulsauceCost,
Expand Down Expand Up @@ -1059,14 +1057,6 @@ export function candyFactoryValue(): number {
return garboAverageValue(...getDropsList("trainset"));
}

export function allMallPrices() {
const today = todayToString();
if (sessionStorage.getItem("allpricedate") !== today) {
mallPrices("allitems");
sessionStorage.setItem("allpricedate", today);
}
}

export function aprilFoolsRufus() {
if (holiday().includes("April Fool's Day")) {
visitUrl("questlog.php?which=7");
Expand Down
1 change: 1 addition & 0 deletions packages/garbo/static/dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ github Ezandora/Gain
github Loathing-Associates-Scripting-Society/KoL-MineVolcano
github loathers/combo release
github loathers/excavator release
github loathers/mall-check
Loading