The Material plane (also seen as Prime Material Plane) is the plane in which Toril and the surrounding cosmos exist. The phrase “Prime Material plane,” or simply the “Prime,” is generally used by beings from other planes in the multiverse to refer to the inhabitants of the Material Plane.
dv.container.className += ’ npcChild’;
let page = dv.current().file.path;
let pages = new Set();
let stack = [page];
while (stack.length > 0) {
let elem = stack.pop();
let meta = dv.page(elem);
if (!meta) continue;
for (let inlink of meta.file.inlinks.concat(meta.file.outlinks).array()) {
let locations = dv.page(inlink.path);
if (!locations || pages.has(inlink.path) || inlink.path === meta.locations?.[0]) continue;
if (dv.array(locations.locations).join(”, “).includes(meta.file.path)) {
pages.add(inlink.path);
stack.push(inlink.path);
}}}
let data = Array.from(pages)
.filter(p ⇒ dv.page(p)?.type === “npc”)
.map(p ⇒ dv.page(p).headerLink)
.sort((a, b) ⇒ {
if (a < b) return -1;
if (a > b) return 1;
return 0;
});
dv.list(data);
LOCATIONS
LIST WITHOUT ID headerLink
FROM “Compendium/Atlas/Material Plane”
WHERE type= “realm”
SORT file.name ASC
HISTORY
LIST WITHOUT ID headerLink
FROM “Session Notes” AND Material Plane
SORT file.ctime DESC