diff --git a/Dungeons and Dragons/A Legacy Forged/People, Factions and Relationships/NPCs/Celosia.md b/Dungeons and Dragons/A Legacy Forged/People, Factions and Relationships/NPCs/Celosia.md new file mode 100644 index 0000000..788f9a7 --- /dev/null +++ b/Dungeons and Dragons/A Legacy Forged/People, Factions and Relationships/NPCs/Celosia.md @@ -0,0 +1,184 @@ +--- +Level_of_Influence: 0 +Faction: +SMH_Acronym: +Tags: + - npc +Intel: + - date: 2026-01-07 + type: rumor + summary: "[[Maltrix]] referred us to [[Celoisa]] as a sort-of recruiter for the [[Thin Wisps]]" + session: "[[People of the South Drenches]]" + source: "[[Maltrix]]" + reliability: B + credibility: 4 + tags: [] +--- + +# Celosia +*Role/Description β€” e.g., "Captain of the Guard", "Elven Scholar", "Local Merchant"* + +## 🎨 Artwork +![[Celosia.png]] +*Optional caption / alt text* + +--- + +## πŸ§‘ NPC Overview +- **Full Name:** +- **Race / Ancestry:** +- **Gender / Pronouns:** +- **Occupation / Role:** +- **Faction / Allegiance:** +- **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:** [[Thin Wisps]] +- **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-07: … + +--- + +## πŸ”— Connections +- **Related NPCs:** + - [[NPC A]] (Mentor) + - [[NPC B]] (Rival) +- **PC Ties:** (how the party knows them) diff --git a/Dungeons and Dragons/A Legacy Forged/Session Notes/Session 16 - A Meeting of Consequence.md b/Dungeons and Dragons/A Legacy Forged/Session Notes/Session 16 - A Meeting of Consequence.md new file mode 100644 index 0000000..83d8bef --- /dev/null +++ b/Dungeons and Dragons/A Legacy Forged/Session Notes/Session 16 - A Meeting of Consequence.md @@ -0,0 +1,175 @@ +--- +Date: 2026-01-07 +Session_Name: Session 16 - A Meeting of Consequence +Tags: + - pf2e + - session +--- + +# Session 16 - A Meeting of Consequence + +> **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:** Multiple Locations in Y'athyr + +- **In-game Date / Time:** June 23rd + +- **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 Party with the exception of [[Val]] heads to the meeting with the Elidari's regarding the adoption. + - [[Ilvara Valrora]] is there ahead of us, and offers some kind greetings. But seems anxious about how this is going to go. + - [[Nuala Elidari]] & [[Cormac Elidari]] enter, with a little fanfare and a crier announcing their entry. + - [[Calen]], [[Kite]], and [[Metternich]] attempt to sense their motives as they enter the courtyard: + - [[Metternich]] picks up on something - implying that this is going to be entertaining. + - [[Cormac Elidari]] and [[Nuala Elidari]] do not seem surprised at [[Faylen Valora]]'s rejection of the offer of adoption, but he does express displeasure at the idea. + - [[Nuala Elidari]] announces that [[House Valrora]] is being re-assigned and will govern Rhamtool -- a small village on a river inlet nearing the main farmlands of Ri'lsera -- this is evidently under the order of [[House Evandra]]. + +- **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 + +- [ ] + +- [ ] + +- [ ]