Skip to content

Commit a90dbb7

Browse files
authored
Merge pull request #37 from Ignose/Seraphiiimode2
Seraphiiimode2
2 parents 739a4ca + 41df0b6 commit a90dbb7

22 files changed

Lines changed: 2173 additions & 2294 deletions

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
env:
1717
# Default version of Node.js for jobs
18-
node-version: "18"
18+
node-version: "24"
1919

2020
jobs:
2121
build-push:

eslint.config.ts

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
import * as eslint from "@eslint/js";
2+
import tseslint from "typescript-eslint";
3+
import prettier from "eslint-config-prettier";
4+
import libram, { verifyConstantsSinceRevision } from "eslint-plugin-libram";
5+
6+
const VERIFY_CONSTANTS_SINCE = 28904;
7+
8+
await verifyConstantsSinceRevision(VERIFY_CONSTANTS_SINCE);
9+
10+
export default [
11+
{
12+
ignores: ["dist/**"],
13+
files: ["**/*.ts", "**/*.tsx"],
14+
languageOptions: {
15+
parser: tseslint.parser,
16+
parserOptions: {
17+
tsconfigRootDir: import.meta.dirname,
18+
projectService: {
19+
allowDefaultProject: ["*.mjs", "*.js"],
20+
},
21+
},
22+
},
23+
},
24+
25+
eslint.configs.recommended,
26+
...tseslint.configs.recommended,
27+
libram.configs.recommended,
28+
prettier,
29+
30+
{
31+
rules: {
32+
"block-scoped-var": "error",
33+
"eol-last": "error",
34+
eqeqeq: "error",
35+
"no-trailing-spaces": "error",
36+
"no-var": "error",
37+
"prefer-arrow-callback": "error",
38+
"prefer-const": "error",
39+
"prefer-template": "error",
40+
"sort-imports": ["error", { ignoreCase: true, ignoreDeclarationSort: true }],
41+
"no-unused-vars": "off",
42+
"@typescript-eslint/no-unused-vars": "error",
43+
"libram/verify-constants": "error",
44+
},
45+
},
46+
];
47+
48+

package.json

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,28 @@
1818
"@babel/plugin-proposal-object-rest-spread": "^7.14.7",
1919
"@babel/preset-env": "^7.15.0",
2020
"@babel/preset-typescript": "^7.15.0",
21-
"@typescript-eslint/eslint-plugin": "^4.29.3",
22-
"@typescript-eslint/parser": "^4.29.3",
21+
"@typescript-eslint/eslint-plugin": "^8.33.1",
22+
"@typescript-eslint/parser": "^8.33.1",
2323
"babel-loader": "^8.2.2",
24-
"eslint": "^9.17.0",
25-
"eslint-config-prettier": "^8.3.0",
26-
"eslint-plugin-libram": "^0.4.16",
24+
"eslint": "^9.39.2",
25+
"eslint-config-prettier": "^10.1.8",
26+
"eslint-plugin-libram": "^0.5.3",
2727
"prettier": "^2.3.2",
2828
"typescript": "^4.4.2",
2929
"webpack": "^5.61.0",
3030
"webpack-cli": "^4.8.0"
3131
},
3232
"dependencies": {
3333
"core-js": "^3.16.4",
34+
"data-of-loathing": "^2.2.0",
3435
"garbo-lib": "^0.0.1",
35-
"grimoire-kolmafia": "^0.3.25",
36-
"kolmafia": "^5.28266.0",
37-
"libram": "^0.9.29",
38-
"mafia-shared-relay": "0.0.7"
36+
"grimoire-kolmafia": "^0.3.33",
37+
"kol-rng": "^2.0.0",
38+
"kolmafia": "^5.28904.0",
39+
"libram": "^0.11.16",
40+
"mafia-shared-relay": "0.0.7",
41+
"node": "^25.6.0",
42+
"typescript-eslint": "^8.54.0"
3943
},
4044
"author": "Pantocyclus/Seraphiii",
4145
"license": "MIT",

src/args.ts

Lines changed: 4 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -27,42 +27,10 @@ export const args = Args.create(
2727
help: `Name of the outfit that contains stick-knife, for stick-knife trick`,
2828
default: "",
2929
}),
30-
fortifiedwine: Args.flag({
31-
help: `Do not grab the DFW lucky adventure (if you have numberology or are using skip-BT route)`,
32-
default: true,
33-
}),
34-
perfectfreeze: Args.flag({
35-
help: `Do not craft and drink a perfect drink`,
36-
default: true,
37-
}),
38-
beesknees: Args.flag({
39-
help: `Do not buy and drink Bee's Knees`,
40-
default: true,
41-
}),
42-
sacramentowine: Args.flag({
43-
help: `Do not drink a Sacramento Wine for the item test`,
44-
default: true,
45-
}),
4630
synthxp: Args.flag({
4731
help: `Do not use synth for the Xp% buff`,
4832
default: true,
4933
}),
50-
deepdish: Args.flag({
51-
help: `Skip Deep Dish of Legend`,
52-
default: false,
53-
}),
54-
latedeepdish: Args.flag({
55-
help: `Eat a deep dish, but only before the familiar test`,
56-
default: false,
57-
}),
58-
calzone: Args.flag({
59-
help: `Skip Calzone of Legend`,
60-
default: false,
61-
}),
62-
pizza: Args.flag({
63-
help: `Skip Pizza of Legend`,
64-
default: false,
65-
}),
6634
asdon: Args.flag({
6735
help: `Should we use Asdon Martin? Incompatible with Skipping Borrowed Time`,
6836
default: false,
@@ -79,26 +47,10 @@ export const args = Args.create(
7947
help: `Do not fight witchess monsters nor acquire Puzzle Champ`,
8048
default: false,
8149
}),
82-
savebackups: Args.number({
83-
help: "How many backup camera backups should we save?",
84-
default: 11,
85-
}),
86-
savehabitats: Args.number({
87-
help: "How many Book of Facts habitats should we save?",
88-
default: 3,
89-
}),
9050
redskeleton: Args.flag({
9151
help: `Do not locket a red skeleton`,
9252
default: false,
9353
}),
94-
witchessking: Args.flag({
95-
help: `Do not locket a witchess king`,
96-
default: false,
97-
}),
98-
factoryworker: Args.flag({
99-
help: `Do not locket a factory worker (female)`,
100-
default: false,
101-
}),
10254
ninjamap: Args.flag({
10355
help: `Do not attempt to grab a li'l ninja costume for your tot`,
10456
default: false,
@@ -151,10 +103,6 @@ export const args = Args.create(
151103
help: `Do not acquire shoe gum with cop dollars`,
152104
default: false,
153105
}),
154-
savekgb: Args.flag({
155-
help: `Do not use any KGB clicks`,
156-
default: false,
157-
}),
158106
savepantogramming: Args.flag({
159107
help: `Do not use your pantogram`,
160108
default: false,
@@ -175,10 +123,6 @@ export const args = Args.create(
175123
help: `Do not use harvested pumpkins`,
176124
default: false,
177125
}),
178-
savesugar: Args.flag({
179-
help: `Do not spend tome uses on sugar shorts/chapeau/shank`,
180-
default: false,
181-
}),
182126
savegarden: Args.flag({
183127
help: `Do not harvest your garden`,
184128
default: false,
@@ -211,10 +155,6 @@ export const args = Args.create(
211155
help: `Do not use Giant Growth or any other deck cheats`,
212156
default: false,
213157
}),
214-
savecyclops: Args.flag({
215-
help: `Do not get and use cyclops eyedrops`,
216-
default: false,
217-
}),
218158
saveembers: Args.flag({
219159
help: `Do not get and use mouthwash/sept-ember`,
220160
default: false,
@@ -231,14 +171,6 @@ export const args = Args.create(
231171
help: `Automatically optimize and use excess pulls for good stuff?`,
232172
default: false,
233173
}),
234-
camelhat: Args.flag({
235-
help: `Use a box of familiar jacks to ensure camel is charged faster?`,
236-
default: false,
237-
}),
238-
skipbt: Args.flag({
239-
help: `Route around using borrowed time? Note this requires using at least one legendary pizza.`,
240-
default: false,
241-
}),
242174
experimentalsynth: Args.flag({
243175
help: `Try using Synth for item%? Requires Sugar Shummoning`,
244176
default: false,
@@ -251,10 +183,6 @@ export const args = Args.create(
251183
help: `Effects that we should not acquire throughout the run.`,
252184
default: "",
253185
}),
254-
wardrobe: Args.flag({
255-
help: `Should we skip using the Wardrobe-O-Matic at level 15 automatically?`,
256-
default: false,
257-
}),
258186
explicitlyexcludedfams: Args.string({
259187
help: `Familiars that we should not use throughout the run.`,
260188
default: "",
@@ -299,5 +227,9 @@ export const args = Args.create(
299227
help: `Set default weapon damage test limit`,
300228
default: 10,
301229
}),
230+
test: Args.flag({
231+
help: `Test new features`,
232+
default: false,
233+
}),
302234
}
303235
);

0 commit comments

Comments
 (0)