vault commit: 2025-10-09 00:46, 16 files changed

This commit is contained in:
Jason McPherson
2025-10-09 00:46:51 -05:00
parent 9ba2493067
commit 5a27634f59
16 changed files with 1523 additions and 93 deletions
@@ -8,6 +8,7 @@ Tags:
# Session 10 - Wined, Dined and Influenced
> **Date:** `= this.Date` • **Name:** `= this.Session_Name`
@@ -16,19 +17,6 @@ Tags:
## 📄 Session Summary (auto)
<!-- SUMMARY-START -->
At dinner, the party split across three tables to engage the citys notables.
- **Val & Calen with [[Iniana Asase]]**
- Learned her activism roots in the Drenches and struggles with the [[Thin Wisps]].
- She advised the party to seek official **licensure** for legitimacy.
- Discussions focused on improving Yathyr and how to confront entrenched problems.
- **[[Faylen Valora]] & Metternich with [[Ronan Elidari]], [[Amity Cornwallis]], [[Deidre Gille]]**
- [[Faylen Valora]]s speech earned **+1 Influence with every notable**, though reactions varied.
- Later debate with Ronan won **+1 Influence with [[Amity Cornwallis**]].
- Metternich bonded with Amity privately, trading cynical and practical views on leadership and power.
- His attempt at Discovery with Deidre Gille failed.
- **Kite with Elthea Rinvale**
- Discussed her presence in Yathyr, her business with the Consortium, and his reasons for leaving Castore.
- Conversation touched on Trackless vs. Ein society.
<!-- SUMMARY-END -->
```button
@@ -152,7 +140,65 @@ action Templater: Insert Generate Session Summary
---
## 🧠 Intel Captured
## 🧠 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])
);
}
```
---