From bc579453cdff489e02da4ac2615dd7df759a7658 Mon Sep 17 00:00:00 2001 From: Jason McPherson Date: Tue, 3 Feb 2026 19:33:23 -0600 Subject: [PATCH] vault commit: 2026-02-03 19:33, 2 files changed --- .../NPCs/Amity Cornwallis.md | 2 +- .../Session 20 - Many Plot Threads.md | 168 ++++++++++++++++++ 2 files changed, 169 insertions(+), 1 deletion(-) create mode 100644 Dungeons and Dragons/A Legacy Forged/Session Notes/Session 20 - Many Plot Threads.md diff --git a/Dungeons and Dragons/A Legacy Forged/People, Factions and Relationships/NPCs/Amity Cornwallis.md b/Dungeons and Dragons/A Legacy Forged/People, Factions and Relationships/NPCs/Amity Cornwallis.md index 12d0a20..1235fa6 100644 --- a/Dungeons and Dragons/A Legacy Forged/People, Factions and Relationships/NPCs/Amity Cornwallis.md +++ b/Dungeons and Dragons/A Legacy Forged/People, Factions and Relationships/NPCs/Amity Cornwallis.md @@ -1,5 +1,5 @@ --- -Level_of_Influence: 3 +Level_of_Influence: 4 Faction: "[[The Archmasons]]" Tags: - npc diff --git a/Dungeons and Dragons/A Legacy Forged/Session Notes/Session 20 - Many Plot Threads.md b/Dungeons and Dragons/A Legacy Forged/Session Notes/Session 20 - Many Plot Threads.md new file mode 100644 index 0000000..118604d --- /dev/null +++ b/Dungeons and Dragons/A Legacy Forged/Session Notes/Session 20 - Many Plot Threads.md @@ -0,0 +1,168 @@ +--- +Date: 2026-02-03 +Session_Name: Session 20 - Many Plot Threads +Tags: + - pf2e + - session +--- + +# Session 20 - Many Plot Threads + +> **Date:** `= this.Date` • **Name:** `= this.Session_Name` + +--- + +## 📄 Session Summary (auto) + +*No summary yet — click “Generate Summary” below.* + + +```button +name ✍️ Generate AI Summary +type template +action Templates/Generate AI Session Summary.md +templater true +``` + +## 🧭 Where / When + +- **Region / Location:** + +- **In-game Date / Time:** + +- **Weather / Conditions:** + + +--- + +## 👥 PCs Present / Absent + +- **Present:** + +- **Absent:** + + +--- + +## ⭐ Highlights (feed the auto-summary) + +> Add one or more `Highlight::` lines. The button will build a summary from these. + +- Highlight:: + +- Highlight:: + +- Highlight:: + + +--- + +## 🎯 Quests & Progress + +- **Active Objectives:** + +- **Progress / Resolutions:** + + +--- + +## 🗣️ NPCs Met / Factions + +- **NPCs:** [[ ]] [[ ]] [[ ]] + +- **Factions Touched:** [[ ]] [[ ]] + + +--- + +## ⚔️ Encounters + +- **Social / Exploration:** + +- **Combat:** + +- **Outcome / Loot:** + + +--- + +## 🧠 Intel Captured (auto) + +```dataviewjs +const THIS = dv.current(); +const sessName = THIS.file.name; +const sessDate = THIS.Date ?? dv.current().file.frontmatter?.Date ?? ""; +const sessLC = sessName.toLowerCase(); + +const pages = dv.pages("#npc or #faction").where(p => p.Intel); + +function matchesSessionField(sessionField) { + const list = Array.isArray(sessionField) ? sessionField : [sessionField]; + for (const s of list) { + if (!s) continue; + if (typeof s === "object" && s.path) { + const base = s.path.split("/").pop().replace(/\.md$/i,""); + if (base.toLowerCase() === sessLC) return true; + } else { + const text = String(s); + if (text.includes(`[[${sessName}]]`)) return true; + if (text.toLowerCase() === sessLC) return true; + } + } + return false; +} + +const rows = []; +for (const p of pages) { + for (const it of p.Intel) { + let ok = false; + if (it.session) ok = matchesSessionField(it.session); + if (!ok && sessDate && it.date) ok = String(it.date) === String(sessDate); // fallback + if (ok) { + rows.push({ + from: p.file.link, + date: it.date ?? "", + type: it.type ?? "", + summary: String(it.summary ?? ""), + source: it.source ?? "", + rel: it.reliability ?? "", + cred: it.credibility ?? "", + tags: Array.isArray(it.tags) ? it.tags.join(", ") : (it.tags ?? "") + }); + } + } +} + +rows.sort((a,b)=> String(b.date).localeCompare(String(a.date))); + +if (!rows.length) { + dv.paragraph("_No intel captured for this session yet._"); +} else { + dv.table( + ["From", "Date", "Type", "Summary", "Source", "Rel", "Cred", "Tags"], + rows.map(r => [r.from, r.date, r.type, r.summary, r.source, r.rel, r.cred, r.tags]) + ); +} +``` + + +--- + +## 📦 Treasure & Rewards + +- **Items:** + +- **Coin:** + +- **XP / Milestones:** + + +--- + +## 🔜 Next Hooks / To-Dos + +- [ ] + +- [ ] + +- [ ]