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",
"iconColor": null,
"recentlyUsedIcons": [
"🌍",
"🐭",
"🗺"
],
"recentlyUsedIconsSize": 5,
@ -31,7 +29,5 @@
"lucideIconPackType": "native",
"debugMode": false,
"useInternalPlugins": false
},
"NPCs": "🐭",
"Mapa": "🌍"
}
}

View File

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

View File

@ -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"
]
}

View File

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

View File

@ -2,3 +2,9 @@
Name: Myší farma
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
TABLE Id, Name
TABLE without id file.link as Odkaz, Id, Name as Název, Description as Popis
FROM "Mapa/Oblasti"
SORT Id ASC
```

View File

@ -1,4 +1,6 @@
---
Name: Konvalinka Chlupotlapková
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
---