2025-07-25 03:53

This commit is contained in:
Martin Švrčina 2025-07-25 03:53:50 +02:00
parent 7d24d83984
commit 7e92a41153
10 changed files with 101 additions and 30 deletions

View File

@ -6,8 +6,6 @@
"emojiStyle": "native", "emojiStyle": "native",
"iconColor": null, "iconColor": null,
"recentlyUsedIcons": [ "recentlyUsedIcons": [
"🌍",
"🐭",
"🗺" "🗺"
], ],
"recentlyUsedIconsSize": 5, "recentlyUsedIconsSize": 5,
@ -31,7 +29,5 @@
"lucideIconPackType": "native", "lucideIconPackType": "native",
"debugMode": false, "debugMode": false,
"useInternalPlugins": false "useInternalPlugins": false
}, }
"NPCs": "🐭",
"Mapa": "🌍"
} }

View File

@ -0,0 +1,3 @@
{
"folder": "_meta/templates"
}

View File

@ -4,41 +4,69 @@
"type": "split", "type": "split",
"children": [ "children": [
{ {
"id": "344c0034366991e2", "id": "b333904ec50e004a",
"type": "tabs", "type": "tabs",
"children": [ "children": [
{ {
"id": "2ca7ef4fa79fc38e", "id": "094e92a5832d9075",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "Mapa/Oblasti/Farma.md", "file": "_meta/templates/Location template.md",
"mode": "source", "mode": "source",
"source": false "source": false
}, },
"icon": "lucide-file", "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", "type": "tabs",
"children": [ "children": [
{ {
"id": "2694f1d2b1f5ca79", "id": "2fd683a7366f9119",
"type": "leaf", "type": "leaf",
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "Mapa/Přehled.md", "file": "_meta/templates/Location template.md",
"mode": "preview", "mode": "preview",
"source": false "source": false
}, },
"icon": "lucide-file", "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", "direction": "horizontal",
"width": 200 "width": 300
}, },
"right": { "right": {
"id": "0df565fac0f24c78", "id": "0df565fac0f24c78",
@ -114,7 +142,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "Lokace/Přehled.md", "file": "_meta/templates/Location template.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -124,7 +152,7 @@
"unlinkedCollapsed": true "unlinkedCollapsed": true
}, },
"icon": "links-coming-in", "icon": "links-coming-in",
"title": "Backlinks for Přehled" "title": "Backlinks for Location template"
} }
}, },
{ {
@ -133,12 +161,12 @@
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
"file": "Lokace/Přehled.md", "file": "_meta/templates/Location template.md",
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
}, },
"icon": "links-going-out", "icon": "links-going-out",
"title": "Outgoing links from Přehled" "title": "Outgoing links from Location template"
} }
}, },
{ {
@ -162,13 +190,13 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "Lokace/Přehled.md", "file": "_meta/templates/Location template.md",
"followCursor": false, "followCursor": false,
"showSearch": false, "showSearch": false,
"searchQuery": "" "searchQuery": ""
}, },
"icon": "lucide-list", "icon": "lucide-list",
"title": "Outline of Přehled" "title": "Outline of Location template"
} }
} }
] ]
@ -188,18 +216,28 @@
"command-palette:Open command palette": false "command-palette:Open command palette": false
} }
}, },
"active": "2ca7ef4fa79fc38e", "active": "2fd683a7366f9119",
"lastOpenFiles": [ "lastOpenFiles": [
"Mapa/Přehled.md",
"Mapa/Oblasti/Farma.md",
"Mapa/Oblasti/Krtčí nora.md",
"Mapa/Oblasti/Domovská Vesnice.md", "Mapa/Oblasti/Domovská Vesnice.md",
"Mapa/Oblasti/Pařez.md",
"NPCs/Dřevorubcova žena.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", "NPCs/Starosta.md",
"Mapa/Oblasti", "Lokace/Přehled.md",
"NPCs", "NPCs",
"Mapa/Oblasti/Pařez.md",
"Mapa/Oblasti/Krtčí nora.md",
"Mapa/Oblasti",
"Mapa",
"Welcome.md", "Welcome.md",
"Mapa" "Lokace"
] ]
} }

View File

@ -6,5 +6,5 @@ Id: 1
```dataview ```dataview
TABLE Name TABLE Name
FROM "NPCs" FROM "NPCs"
WHERE LocationId = 1 WHERE LocationId = this.Id
``` ```

View File

@ -2,3 +2,9 @@
Name: Myší farma Name: Myší farma
Id: 5 Id: 5
--- ---
## NPCs
```dataview
TABLE Name, Description
FROM "NPCs"
WHERE LocationId = 5
```

View File

@ -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 ```dataview
TABLE Id, Name TABLE without id file.link as Odkaz, Id, Name as Název, Description as Popis
FROM "Mapa/Oblasti" FROM "Mapa/Oblasti"
SORT Id ASC SORT Id ASC
``` ```

View File

@ -1,4 +1,6 @@
--- ---
Name: Konvalinka Chlupotlapková Name: Konvalinka Chlupotlapková
LocationId: 1 LocationId: 1
tags:
- NPC
--- ---

View File

@ -0,0 +1,5 @@
---
Name: Farmář
LocationId: 5
Description: popis
---

View File

@ -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
```

View File

@ -0,0 +1,7 @@
---
Name:
LocationId:
Faction:
tags:
- NPC
---