From 8603ee913e85d771550539d9adc11856ea548737 Mon Sep 17 00:00:00 2001 From: AnSq Date: Wed, 9 Sep 2026 21:45:45 -0700 Subject: [PATCH 1/2] task updates * add daily_nightwave. Closes #76 * fix "Palladino" typo. Closes #73 --- sources/js/tasks.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/sources/js/tasks.json b/sources/js/tasks.json index 13621cf..ecbc799 100644 --- a/sources/js/tasks.json +++ b/sources/js/tasks.json @@ -131,6 +131,12 @@ } ] }, + { + "id": "daily_nightwave", + "title": "Nightwave", + "text": "Complete daily Nightwave acts.", + "icon": "NightwaveIconSimple.png" + }, { "id": "daily_sortie", "title": "Sortie", @@ -308,7 +314,7 @@ { "id": "weekly_nightwave_complete", "title": "Nightwave", - "text": "Complete relevant weekly Nightwave missions.", + "text": "Complete relevant weekly Nightwave acts.", "icon": "NightwaveIconSimple.png" }, { @@ -458,11 +464,11 @@ "subtasks": [ { "id": "weekly_iron_wake", - "title": "Paladino", + "title": "Palladino", "text": "Trade Riven Slivers.", "icon": "IconOmegaMod256.png", "location": "Iron Wake, Earth", - "npc": "Paladino", + "npc": "Palladino", "prereq": "The Chains of Harrow" }, { From 36d8795a1ff9880695f4f64ff1b84d26103ba12b Mon Sep 17 00:00:00 2001 From: AnSq Date: Wed, 9 Sep 2026 22:26:28 -0700 Subject: [PATCH 2/2] add test: task text should end with a period --- sources/js/tasks.json | 4 ++-- sources/tests/tasks.test.js | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sources/js/tasks.json b/sources/js/tasks.json index ecbc799..4540fc6 100644 --- a/sources/js/tasks.json +++ b/sources/js/tasks.json @@ -165,7 +165,7 @@ { "id": "daily_kim_parent", "title": "KIM", - "text": "complete daily chats with protoframes", + "text": "complete daily chats with protoframes.", "location": "Base of Operations", "terminal": "POM-2 PC", "icon": "Computer.png", @@ -326,7 +326,7 @@ { "id": "weekly_ayatan", "title": "Ayatan Treasure Hunt", - "text": "Complete Maroo's weekly mission for an Ayatan Sculpture", + "text": "Complete Maroo's weekly mission for an Ayatan Sculpture.", "icon": "Maroo.png", "location": "Maroo's Bazaar, Mars", "npc": "Maroo" diff --git a/sources/tests/tasks.test.js b/sources/tests/tasks.test.js index 6446031..036911e 100644 --- a/sources/tests/tasks.test.js +++ b/sources/tests/tasks.test.js @@ -53,6 +53,14 @@ describe("valildate task definitions", () => { } }); + describe("task text should end with a period", () => { + test.for(flatTasks)("$id", (t) => { + if (t.text) { + expect(t.text.slice(-1)).toEqual("."); + } + }); + }); + const cycle_keys_for_test = Object.keys(cycles).map((i) => [i]); describe("verify equal `order` lengths", () => {