feat(routines): more of ZZZ's weekly and monthly built-ins

Bounty Commissions (one 8,000-point cap shared by Lost Void and Enigma of the
Labyrinth), Notorious Hunt, the New Eridu City Fund's weekly EXP cap, and the
Signal Shop's Encrypted Master Tapes and Boopons on the 1st — all confirmed in
game by the owner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas Winther
2026-10-16 03:00:35 +02:00
co-authored by Claude Opus 5.5
parent 387fc1d2e4
commit 6d6db9c11c
3 changed files with 71 additions and 4 deletions
+4 -4
View File
@@ -390,12 +390,12 @@ describe("Controls: weekly and monthly tasks under the dailies", () => {
});
test("each switch appears once there is a task of its period, and reads its own pref", () => {
// ZZZ's built-ins are weekly; there is no monthly task, so no monthly switch.
const prefs = { ...PREFS, routineGames: ["zzz"] };
const on = render(prefs, 0, ["zzz"]);
// Endfield's built-ins are weekly; there is no monthly task, so no monthly switch.
const prefs = { ...PREFS, routineGames: ["endfield"] };
const on = render(prefs, 0, ["endfield"]);
expect(on).toContain("Show weekly tasks");
expect(on).not.toContain("Show monthly tasks");
const off = render({ ...prefs, showWeeklyTasks: false }, 0, ["zzz"]);
const off = render({ ...prefs, showWeeklyTasks: false }, 0, ["endfield"]);
expect(checkboxes(off).filter(Boolean).length).toBe(checkboxes(on).filter(Boolean).length - 1);
});
+5
View File
@@ -70,6 +70,11 @@ describe("ROUTINES", () => {
]);
expect(shape("zzz")).toEqual([
["Ridu Weekly", week, { kind: "amount", target: 2100, unit: "points" }],
["Bounty Commissions", week, { kind: "amount", target: 8000, unit: "points" }],
["Notorious Hunt", week, { kind: "amount", target: 3, unit: "runs" }],
["New Eridu City Fund weekly EXP", week, { kind: "amount", target: 10000, unit: "EXP" }],
["Signal Shop: Encrypted Master Tapes", { unit: "month", startsOn: 1 }, { kind: "amount", target: 5, unit: "tapes" }],
["Signal Shop: Boopons", { unit: "month", startsOn: 1 }, { kind: "amount", target: 5, unit: "Boopons" }],
]);
expect(shape("endfield")).toEqual([
["Weekly Routine", week, { kind: "amount", target: 10, unit: "points" }],