BUTTON[button_person] The following people are associated with this place.
properties: file.name: displayName: Star Systems Name note.MyCategory: displayName: Type of Star Systemviews: - type: cards name: Star Systems - Cards filters: and: - file.folder == "2-World/People" - list(MyContainer).contains(this) - char_status.contains("Alive") order: - file.name image: note.image - type: table name: Star Systems - Table filters: and: - file.folder == "2-World/People" - list(MyContainer).contains(this) - char_status.contains("Alive") order: - file.name sort: - property: file.name direction: DESC columnSize: file.name: 182
GM Notes
Make notes of what you need to track in the town here.
Selling
The following items are available for purchase.
// This dataviewjs code grabs a random item(s) from the folder below. You can remove this if that's not useful. It's an example of what's possible. // 1. grab all pages in the folderlet pages = dv.pages('"3-Mechanics/Items"').values;// 2. shufflefor (let i = pages.length - 1; i > 0; i--) { const j = Math.floor(Math.random() * (i + 1)); [pages[i], pages[j]] = [pages[j], pages[i]];}// 3. take the first X where (0, X) should be the number of items to returnlet pick = pages.slice(0, 1);// 4. render table of clickable links + Genderdv.table( ["Random Item", "cost", "weight"], pick.map(p => [ dv.fileLink(p.file.path), // clickable note link p.cost ?? "ā", // frontmatter field (falls back to āāā if missing) p.weight ?? "ā" // frontmatter field (falls back to āāā if missing) ]));