From 7e92a4115396311f16d6b082e3c44ed3855bfa30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C5=A0vr=C4=8Dina?= Date: Fri, 25 Jul 2025 03:53:50 +0200 Subject: [PATCH] 2025-07-25 03:53 --- .../plugins/obsidian-icon-folder/data.json | 6 +- .../.obsidian/templates.json | 3 + .../.obsidian/workspace.json | 82 ++++++++++++++----- .../Mapa/Oblasti/Domovská Vesnice.md | 2 +- .../Mapa/Oblasti/Farma.md | 6 ++ Mausritter - First Campaign/Mapa/Přehled.md | 6 +- .../NPCs/Dřevorubcova žena.md | 2 + Mausritter - First Campaign/NPCs/Farmář.md | 5 ++ .../_meta/templates/Location template.md | 12 +++ .../_meta/templates/NPC template.md | 7 ++ 10 files changed, 101 insertions(+), 30 deletions(-) create mode 100644 Mausritter - First Campaign/.obsidian/templates.json create mode 100644 Mausritter - First Campaign/NPCs/Farmář.md create mode 100644 Mausritter - First Campaign/_meta/templates/Location template.md create mode 100644 Mausritter - First Campaign/_meta/templates/NPC template.md diff --git a/Mausritter - First Campaign/.obsidian/plugins/obsidian-icon-folder/data.json b/Mausritter - First Campaign/.obsidian/plugins/obsidian-icon-folder/data.json index 04d72ef..16eee55 100644 --- a/Mausritter - First Campaign/.obsidian/plugins/obsidian-icon-folder/data.json +++ b/Mausritter - First Campaign/.obsidian/plugins/obsidian-icon-folder/data.json @@ -6,8 +6,6 @@ "emojiStyle": "native", "iconColor": null, "recentlyUsedIcons": [ - "🌍", - "🐭", "🗺" ], "recentlyUsedIconsSize": 5, @@ -31,7 +29,5 @@ "lucideIconPackType": "native", "debugMode": false, "useInternalPlugins": false - }, - "NPCs": "🐭", - "Mapa": "🌍" + } } \ No newline at end of file diff --git a/Mausritter - First Campaign/.obsidian/templates.json b/Mausritter - First Campaign/.obsidian/templates.json new file mode 100644 index 0000000..f003c11 --- /dev/null +++ b/Mausritter - First Campaign/.obsidian/templates.json @@ -0,0 +1,3 @@ +{ + "folder": "_meta/templates" +} \ No newline at end of file diff --git a/Mausritter - First Campaign/.obsidian/workspace.json b/Mausritter - First Campaign/.obsidian/workspace.json index 62cb266..a3126cb 100644 --- a/Mausritter - First Campaign/.obsidian/workspace.json +++ b/Mausritter - First Campaign/.obsidian/workspace.json @@ -4,41 +4,69 @@ "type": "split", "children": [ { - "id": "344c0034366991e2", + "id": "b333904ec50e004a", "type": "tabs", "children": [ { - "id": "2ca7ef4fa79fc38e", + "id": "094e92a5832d9075", "type": "leaf", "state": { "type": "markdown", "state": { - "file": "Mapa/Oblasti/Farma.md", + "file": "_meta/templates/Location template.md", "mode": "source", "source": false }, "icon": "lucide-file", - "title": "Farma" + "title": "Location template" + } + }, + { + "id": "6ead8dd7d05db0c8", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "NPCs/Dřevorubcova žena.md", + "mode": "source", + "source": false + }, + "icon": "lucide-file", + "title": "Dřevorubcova žena" } } ] }, { - "id": "2819149a4a06e401", + "id": "6afaf6cfa03c9ed6", "type": "tabs", "children": [ { - "id": "2694f1d2b1f5ca79", + "id": "2fd683a7366f9119", "type": "leaf", "state": { "type": "markdown", "state": { - "file": "Mapa/Přehled.md", + "file": "_meta/templates/Location template.md", "mode": "preview", "source": false }, "icon": "lucide-file", - "title": "Přehled" + "title": "Location template" + } + }, + { + "id": "b71f94d9211c6034", + "type": "leaf", + "state": { + "type": "markdown", + "state": { + "file": "Mapa/Oblasti/Domovská Vesnice.md", + "mode": "preview", + "source": false + }, + "icon": "lucide-file", + "title": "Domovská Vesnice" } } ] @@ -98,7 +126,7 @@ } ], "direction": "horizontal", - "width": 200 + "width": 300 }, "right": { "id": "0df565fac0f24c78", @@ -114,7 +142,7 @@ "state": { "type": "backlink", "state": { - "file": "Lokace/Přehled.md", + "file": "_meta/templates/Location template.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -124,7 +152,7 @@ "unlinkedCollapsed": true }, "icon": "links-coming-in", - "title": "Backlinks for Přehled" + "title": "Backlinks for Location template" } }, { @@ -133,12 +161,12 @@ "state": { "type": "outgoing-link", "state": { - "file": "Lokace/Přehled.md", + "file": "_meta/templates/Location template.md", "linksCollapsed": false, "unlinkedCollapsed": true }, "icon": "links-going-out", - "title": "Outgoing links from Přehled" + "title": "Outgoing links from Location template" } }, { @@ -162,13 +190,13 @@ "state": { "type": "outline", "state": { - "file": "Lokace/Přehled.md", + "file": "_meta/templates/Location template.md", "followCursor": false, "showSearch": false, "searchQuery": "" }, "icon": "lucide-list", - "title": "Outline of Přehled" + "title": "Outline of Location template" } } ] @@ -188,18 +216,28 @@ "command-palette:Open command palette": false } }, - "active": "2ca7ef4fa79fc38e", + "active": "2fd683a7366f9119", "lastOpenFiles": [ - "Mapa/Přehled.md", - "Mapa/Oblasti/Farma.md", - "Mapa/Oblasti/Krtčí nora.md", "Mapa/Oblasti/Domovská Vesnice.md", - "Mapa/Oblasti/Pařez.md", "NPCs/Dřevorubcova žena.md", + "_meta/templates/Location template.md", + "Mapa/Přehled.md", + "_meta/templates/NPC template.md", + "Untitledasdasd.md", + "_meta", + "_meta/templates", + "Mapa/Dungeony", + "Frakce", + "Mapa/Oblasti/Farma.md", + "NPCs/Farmář.md", "NPCs/Starosta.md", - "Mapa/Oblasti", + "Lokace/Přehled.md", "NPCs", + "Mapa/Oblasti/Pařez.md", + "Mapa/Oblasti/Krtčí nora.md", + "Mapa/Oblasti", + "Mapa", "Welcome.md", - "Mapa" + "Lokace" ] } \ No newline at end of file diff --git a/Mausritter - First Campaign/Mapa/Oblasti/Domovská Vesnice.md b/Mausritter - First Campaign/Mapa/Oblasti/Domovská Vesnice.md index 3628fbb..998f6c7 100644 --- a/Mausritter - First Campaign/Mapa/Oblasti/Domovská Vesnice.md +++ b/Mausritter - First Campaign/Mapa/Oblasti/Domovská Vesnice.md @@ -6,5 +6,5 @@ Id: 1 ```dataview TABLE Name FROM "NPCs" -WHERE LocationId = 1 +WHERE LocationId = this.Id ``` \ No newline at end of file diff --git a/Mausritter - First Campaign/Mapa/Oblasti/Farma.md b/Mausritter - First Campaign/Mapa/Oblasti/Farma.md index 8b3ab4c..358fcd9 100644 --- a/Mausritter - First Campaign/Mapa/Oblasti/Farma.md +++ b/Mausritter - First Campaign/Mapa/Oblasti/Farma.md @@ -2,3 +2,9 @@ Name: Myší farma Id: 5 --- +## NPCs +```dataview +TABLE Name, Description +FROM "NPCs" +WHERE LocationId = 5 +``` \ No newline at end of file diff --git a/Mausritter - First Campaign/Mapa/Přehled.md b/Mausritter - First Campaign/Mapa/Přehled.md index f45128a..c277307 100644 --- a/Mausritter - First Campaign/Mapa/Přehled.md +++ b/Mausritter - First Campaign/Mapa/Přehled.md @@ -1,6 +1,8 @@ -# Seznam lokací +## Svět +Malé myší knížectví, sousedící s královstvím žab na západě. Na severu se rozkládají neprostupné hory, na východě hustý les. Směrem na jih vede cesta do království Rodentie. +## Seznam lokací ```dataview -TABLE Id, Name +TABLE without id file.link as Odkaz, Id, Name as Název, Description as Popis FROM "Mapa/Oblasti" SORT Id ASC ``` diff --git a/Mausritter - First Campaign/NPCs/Dřevorubcova žena.md b/Mausritter - First Campaign/NPCs/Dřevorubcova žena.md index 4e02e5d..bc844d8 100644 --- a/Mausritter - First Campaign/NPCs/Dřevorubcova žena.md +++ b/Mausritter - First Campaign/NPCs/Dřevorubcova žena.md @@ -1,4 +1,6 @@ --- Name: Konvalinka Chlupotlapková LocationId: 1 +tags: + - NPC --- diff --git a/Mausritter - First Campaign/NPCs/Farmář.md b/Mausritter - First Campaign/NPCs/Farmář.md new file mode 100644 index 0000000..ec9d05a --- /dev/null +++ b/Mausritter - First Campaign/NPCs/Farmář.md @@ -0,0 +1,5 @@ +--- +Name: Farmář +LocationId: 5 +Description: popis +--- diff --git a/Mausritter - First Campaign/_meta/templates/Location template.md b/Mausritter - First Campaign/_meta/templates/Location template.md new file mode 100644 index 0000000..27e9fdc --- /dev/null +++ b/Mausritter - First Campaign/_meta/templates/Location template.md @@ -0,0 +1,12 @@ +--- +Name: +Id: +tags: + - location +--- +## NPCs +```dataview +TABLE without id file.link AS SOUBORY, Name AS Jméno +FROM #NPC +WHERE LocationId = this.Id +``` \ No newline at end of file diff --git a/Mausritter - First Campaign/_meta/templates/NPC template.md b/Mausritter - First Campaign/_meta/templates/NPC template.md new file mode 100644 index 0000000..922f945 --- /dev/null +++ b/Mausritter - First Campaign/_meta/templates/NPC template.md @@ -0,0 +1,7 @@ +--- +Name: +LocationId: +Faction: +tags: + - NPC +---