vault commit: 2026-01-29 20:12, 4 files changed

This commit is contained in:
Jason McPherson
2026-01-29 20:12:28 -06:00
parent ac742bacf2
commit c7870120bf
4 changed files with 378 additions and 1 deletions
@@ -14,10 +14,18 @@ Rivals:
- -
SMH_Acronym: SMH_Acronym:
Intel: Intel:
- date: 2026-01-29
type: interaction
summary: "[[Metternich]] learns that the shipments with the black hooded, red-insignia'ed guys are going through docks that are owned by [[House Tenrae]]."
source: "[[Metternich]]"
reliability: B
credibility: 5
tags: []
Tags: Tags:
- faction - faction
--- ---
# House Tenrae # House Tenrae
*One-line role/description — e.g., “Elven High House controlling Yathirs docks.”* *One-line role/description — e.g., “Elven High House controlling Yathirs docks.”*
@@ -1,5 +1,5 @@
--- ---
Level_of_Influence: 1 Level_of_Influence: 2
Faction: Faction:
SMH_Acronym: SMH_Acronym:
Tags: Tags:
@@ -0,0 +1,193 @@
---
Level_of_Influence: 0
Faction: "[[House Asase]]"
SMH_Acronym:
Tags:
- npc
Intel:
- date: 2026-01-29
type: rumor
summary: "[[Calen]] knows the reputation of [[Therin Assase]]. If anyone were to turn on their family in the name of Law and Order, it would be [[Therin Assase]]."
session: "[[Session 18 - After the Warehouse]]"
source: "[[Calen]]"
reliability: C
credibility: 4
tags: []
- date: 2026-01-29
type: rumor
summary: "[[Calen]], [[Val]] and [[Kite]] know that [[Therin Assase]] is an Auditor of Internal Affairs, for things inside the city - [[House Gille]] operating outside of the City would technically be outside of his jurisdiction."
session: "[[Session 18 - After the Warehouse]]"
source: "[[Calen]]"
reliability: B
credibility: 4
tags: []
---
# Therin Assase
*Inspector and Auditor of Internal Affairs for the City of Y'athyr*
## 🎨 Artwork
![[Therin Assase.png]]
*Optional caption / alt text*
---
## 🧑 NPC Overview
- **Full Name:** Therin Assase
- **Race / Ancestry:** Elf
- **Gender / Pronouns:** He/Him
- **Occupation / Role:** Inspector and Auditor of Internal Affairs
- **Faction / Allegiance:** [[House Asase]]
- **SMH (what THEY call it):** `= this.SMH_Acronym`
- **Notable Traits:** (quirks, mannerisms, appearance)
- **First Impression:** (how the party perceives
them)
---
## 🤝 Relationship with Party
- **Level of Influence:** `= this.Level_of_Influence` (10 to +10)
- **Notes on Influence:** (what actions improve/worsen standing)
- ***Discovery Skills***
- ***Influence Skills***
- ***Weaknesses***
- ***Resistances***
- ***Biases***
---
## 🧠 Intel (auto)
```dataviewjs
const THIS = dv.current();
const thisName = String(THIS.file.name);
const thisLC = thisName.toLowerCase();
// Scan faction & NPC notes that have Intel arrays
const pages = dv.pages("#npc or #faction").where(p => p.Intel);
// Does an Intel entry reference THIS NPC?
function mentionsThisNPC(entry) {
const sum = String(entry.summary ?? "");
// 1) Explicit wikilink in summary
if (sum.includes(`[[${thisName}]]`) || sum.includes(`[[${thisName}|`)) return true;
// 2) Source field (string/link/list)
const src = entry.source;
const arr = Array.isArray(src) ? src : (src ? [src] : []);
for (const s of arr) {
if (typeof s === "string") {
// quoted link or plain text
const unq = s.replace(/^"+|"+$/g, ""); // drop surrounding quotes if any
if (unq.includes(`[[${thisName}]]`) || unq.includes(`[[${thisName}|`)) return true;
// if they typed just the name
if (unq.replace(/\[\[|\]\]/g, "").trim().toLowerCase() === thisLC) return true;
} else if (s && typeof s === "object" && s.path) {
// wikilink object
const base = s.path.split("/").pop().replace(/\.md$/i, "").toLowerCase();
if (base === thisLC) return true;
}
}
// Optional (looser): plain text mention in summary
// return sum.toLowerCase().includes(thisLC);
return false;
}
// Collect rows: 1) own Intel, 2) mentions from other notes
const rows = [];
// Own Intel (from this NPC note)
for (const it of (THIS.Intel ?? [])) {
rows.push({
from: THIS.file.link,
date: it.date ?? "",
type: it.type ?? "",
summary: String(it.summary ?? ""),
session: it.session ?? "",
source: it.source ?? "",
rel: it.reliability ?? "",
cred: it.credibility ?? "",
tags: Array.isArray(it.tags) ? it.tags.join(", ") : (it.tags ?? "")
});
}
// Mentions elsewhere
for (const p of pages.where(p => p.file.path !== THIS.file.path)) {
for (const it of (p.Intel ?? [])) {
if (mentionsThisNPC(it)) {
rows.push({
from: p.file.link,
date: it.date ?? "",
type: it.type ?? "",
summary: String(it.summary ?? ""),
session: it.session ?? "",
source: it.source ?? "",
rel: it.reliability ?? "",
cred: it.credibility ?? "",
tags: Array.isArray(it.tags) ? it.tags.join(", ") : (it.tags ?? "")
});
}
}
}
// Sort newest first
rows.sort((a,b) => String(b.date).localeCompare(String(a.date)));
if (!rows.length) {
dv.paragraph("_No intel yet._");
} else {
dv.paragraph(`_Entries: ${rows.length} (own ${(THIS.Intel ?? []).length} + mentions ${Math.max(0, rows.length - (THIS.Intel ?? []).length)})_`);
dv.table(
["From Note","Date","Type","Summary","Session","Source","Rel","Cred","Tags"],
rows.map(r => [r.from, r.date, r.type, r.summary, r.session, r.source, r.rel, r.cred, r.tags])
);
}
```
```button
name Add Intel
type command
action Templater: Insert Add Intel Entry to NPC
```
---
## 🏛️ Relations & Factions
- **Primary Faction:** [[House Asase]]
- **Allied Factions:** [[Faction A]], [[Faction B]]
- **Rival Factions:** [[Faction C]]
- **Personal Enemies / Allies:** [[NPC or PC]]
---
## 📖 History & Background
- **Origin / Past:**
- **Known Motivations:**
- **Secrets / Rumors:**
---
## 🎭 Roleplay Notes
- **Personality:** (e.g., stern, practical, loyal)
- **Speech Style / Quirks:** (catchphrases, accent, tics)
- **Appearance Details:** (clothing, scars, distinguishing features)
---
## 🗺️ Miscellaneous
- **Current Location:**
- **Important Items / Assets:**
- **Plot Hooks / Ties to PCs:**
- **Session Notes / Updates:**
- 2026-01-29: …
---
## 🔗 Connections
- **Related NPCs:**
- [[NPC A]] (Mentor)
- [[NPC B]] (Rival)
- **PC Ties:** (how the party knows them)
@@ -0,0 +1,176 @@
---
Date: 2026-01-29
Session_Name: Session 19 - A Plan Forms
Tags:
- pf2e
- session
---
# Session 19 - A Plan Forms
> **Date:** `= this.Date` • **Name:** `= this.Session_Name`
---
## 📄 Session Summary (auto)
<!-- SUMMARY-START -->
*No summary yet — click “Generate Summary” below.*
<!-- SUMMARY-END -->
```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:**
- The previous evening:
- [[Val]] goes to speak with [[Iniana Asase]] and tries to set up a meeting between [[Deidre Gille]] and [[Therin Assase]] in order to keep her relatively protected, while also ensuring that [[House Miiran]] is held accountable.
- [[Metternich]] attend to a few personal items.
- The remainder of the party, spend the evening with [[Deidre Gille]] ensuring her safety.
- Friday
- [[Calen]], [[Faylen Valora]] and [[Kite]] escort [[Deidre Gille]] back to Y'athyr - but exit the carriage a bit outside of the entrance, and walk the remaining distance.
- [[Val]] and [[Metternich]] spend some time investigating the Black Hooded, Red-Insignia'ed folks that have been around the docks guarding shipments. Rumor indicate that they might be a Rhodesian Cult of some sort. Though the docks themselves are owned by [[House Tenrae]]
- The Guards seem to be supplied by [[House Tenrae]], but are actually from [[House Tassarion]].
- **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
- [ ]
- [ ]
- [ ]