2025-07-25 11:23

This commit is contained in:
Martin Švrčina 2025-07-25 11:23:44 +02:00
parent 7e92a41153
commit ef6599ed93
12 changed files with 3354 additions and 39 deletions

View File

@ -1,4 +1,5 @@
[ [
"obsidian-icon-folder", "obsidian-icon-folder",
"dataview" "dataview",
"obsidian-dice-roller"
] ]

View File

@ -0,0 +1,80 @@
{
"position": "RIGHT",
"showFudgeIcon": false,
"rollLinksForTags": false,
"copyContentButton": true,
"customFormulas": [],
"displayFormulaForMod": true,
"displayResultsInline": false,
"displayFormulaAfter": false,
"escapeDiceMod": true,
"signed": false,
"displayLookupRoll": true,
"formulas": {},
"defaultRoll": 1,
"defaultFace": 100,
"renderer": false,
"renderAllDice": false,
"addToView": false,
"renderTime": 2000,
"colorfulDice": false,
"scaler": 1,
"diceColor": "#202020",
"textColor": "#ffffff",
"textFont": "Arial",
"showLeafOnStartup": true,
"narrativeSymbolSet": "Genesys",
"displayAsSymbols": false,
"displayAsEmbed": true,
"round": "None",
"initialDisplay": "Roll",
"icons": [
{
"id": "dice-roller-d4",
"shape": "Triangle",
"formula": "d4",
"text": "4"
},
{
"id": "dice-roller-d6",
"shape": "Square",
"formula": "d6",
"text": "6"
},
{
"id": "dice-roller-d8",
"shape": "Diamond",
"formula": "d8",
"text": "8"
},
{
"id": "dice-roller-d10",
"shape": "Diamond",
"formula": "d10",
"text": "10"
},
{
"id": "dice-roller-d12",
"shape": "Dodecahedron",
"formula": "d12",
"text": "12"
},
{
"id": "dice-roller-d20",
"shape": "Icosahedron",
"formula": "d20",
"text": "20"
},
{
"id": "dice-roller-d100",
"shape": "Circle",
"formula": "d%",
"text": "%"
}
],
"showRenderNotice": true,
"diceModTemplateFolders": {},
"replaceDiceModInLivePreview": true,
"viewResults": [],
"version": "11.4.2"
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,10 @@
{
"id": "obsidian-dice-roller",
"name": "Dice Roller",
"version": "11.4.2",
"minAppVersion": "0.12.15",
"description": "Inline dice rolling for Obsidian.md",
"author": "Jeremy Valentine",
"authorUrl": "",
"isDesktopOnly": false
}

File diff suppressed because one or more lines are too long

View File

@ -13,26 +13,12 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "_meta/templates/Location template.md", "file": "_meta/templates/Race template.md",
"mode": "source", "mode": "source",
"source": false "source": false
}, },
"icon": "lucide-file", "icon": "lucide-file",
"title": "Location template" "title": "Race 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"
} }
} }
] ]
@ -47,12 +33,12 @@
"state": { "state": {
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "_meta/templates/Location template.md", "file": "_meta/templates/Faction template.md",
"mode": "preview", "mode": "preview",
"source": false "source": false
}, },
"icon": "lucide-file", "icon": "lucide-file",
"title": "Location template" "title": "Faction template"
} }
}, },
{ {
@ -68,8 +54,23 @@
"icon": "lucide-file", "icon": "lucide-file",
"title": "Domovská Vesnice" "title": "Domovská Vesnice"
} }
},
{
"id": "507605de4d9a5fa9",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "NPCs/Rasy/Myši.md",
"mode": "preview",
"source": false
},
"icon": "lucide-file",
"title": "Myši"
} }
] }
],
"currentTab": 2
} }
], ],
"direction": "vertical" "direction": "vertical"
@ -142,7 +143,7 @@
"state": { "state": {
"type": "backlink", "type": "backlink",
"state": { "state": {
"file": "_meta/templates/Location template.md", "file": "NPCs/Rasy/Myši.md",
"collapseAll": false, "collapseAll": false,
"extraContext": false, "extraContext": false,
"sortOrder": "alphabetical", "sortOrder": "alphabetical",
@ -152,7 +153,7 @@
"unlinkedCollapsed": true "unlinkedCollapsed": true
}, },
"icon": "links-coming-in", "icon": "links-coming-in",
"title": "Backlinks for Location template" "title": "Backlinks for Myši"
} }
}, },
{ {
@ -161,12 +162,12 @@
"state": { "state": {
"type": "outgoing-link", "type": "outgoing-link",
"state": { "state": {
"file": "_meta/templates/Location template.md", "file": "NPCs/Rasy/Myši.md",
"linksCollapsed": false, "linksCollapsed": false,
"unlinkedCollapsed": true "unlinkedCollapsed": true
}, },
"icon": "links-going-out", "icon": "links-going-out",
"title": "Outgoing links from Location template" "title": "Outgoing links from Myši"
} }
}, },
{ {
@ -190,21 +191,31 @@
"state": { "state": {
"type": "outline", "type": "outline",
"state": { "state": {
"file": "_meta/templates/Location template.md", "file": "NPCs/Rasy/Myši.md",
"followCursor": false, "followCursor": false,
"showSearch": false, "showSearch": false,
"searchQuery": "" "searchQuery": ""
}, },
"icon": "lucide-list", "icon": "lucide-list",
"title": "Outline of Location template" "title": "Outline of Myši"
}
},
{
"id": "146b1289ce778b66",
"type": "leaf",
"state": {
"type": "DICE_ROLLER_VIEW",
"state": {},
"icon": "dices",
"title": "Dice Tray"
} }
} }
] ],
"currentTab": 4
} }
], ],
"direction": "horizontal", "direction": "horizontal",
"width": 300, "width": 341.5
"collapsed": true
}, },
"left-ribbon": { "left-ribbon": {
"hiddenItems": { "hiddenItems": {
@ -216,28 +227,33 @@
"command-palette:Open command palette": false "command-palette:Open command palette": false
} }
}, },
"active": "2fd683a7366f9119", "active": "507605de4d9a5fa9",
"lastOpenFiles": [ "lastOpenFiles": [
"_meta/templates/Race template.md",
"_meta/templates/Faction template.md",
"NPCs/Rasy/Myši.md",
"Lore",
"_meta/templates/Location template.md",
"_meta/templates/NPC template.md",
"Mapa/POIs",
"NPCs/Starosta.md",
"NPCs/Rasy",
"NPCs/Stat Bloky",
"Mapa/Oblasti/Domovská Vesnice.md", "Mapa/Oblasti/Domovská Vesnice.md",
"NPCs/Dřevorubcova žena.md", "NPCs/Dřevorubcova žena.md",
"_meta/templates/Location template.md",
"Mapa/Přehled.md", "Mapa/Přehled.md",
"_meta/templates/NPC template.md",
"Untitledasdasd.md", "Untitledasdasd.md",
"_meta", "_meta",
"_meta/templates", "_meta/templates",
"Mapa/Dungeony", "Mapa/Dungeony",
"Frakce", "NPCs/Frakce",
"Mapa/Oblasti/Farma.md", "Mapa/Oblasti/Farma.md",
"NPCs/Farmář.md", "NPCs/Farmář.md",
"NPCs/Starosta.md",
"Lokace/Přehled.md", "Lokace/Přehled.md",
"NPCs", "NPCs",
"Mapa/Oblasti/Pařez.md", "Mapa/Oblasti/Pařez.md",
"Mapa/Oblasti/Krtčí nora.md", "Mapa/Oblasti/Krtčí nora.md",
"Mapa/Oblasti", "Mapa/Oblasti",
"Mapa", "Welcome.md"
"Welcome.md",
"Lokace"
] ]
} }

View File

@ -0,0 +1,16 @@
---
Name: Myš
tags:
- race
---
## Info
___
## NPCs
```dataview
TABLE without id file.link AS Soubory, Name as Jméno, LocationId AS "ID lokace"
FROM #NPC
WHERE Race = this.Name
SORT LocationId ASC
```
___
## Poznámky

View File

@ -1,4 +1,21 @@
--- ---
Name: Chloupek Nežersýr Name: Chloupek Nežersýr
LocationId: 1 LocationId: 1
Race: Myš
Faction:
tags:
- NPC
--- ---
## Info
### Jméno
### Vzhled
### Povaha
### Cíle
___
### Stat block
| HP | STR | DEX | WILL |
| --- | --- | --- | ---- |
| 3 | 8 | 7 | 9 |
#### Útoky
Plácnutí holí k6
___

View File

@ -0,0 +1,24 @@
---
Name:
---
## Info
### Název
### Popis
### Zdroje
### Cíle
___
## NPCs
```dataview
TABLE without id
file.link AS Soubory,
Name as Jméno,
Race AS Rasa,
Faction AS Frakce,
LocationId AS "ID lokace"
FROM #NPC
WHERE Faction = this.Name
SORT LocationId ASC
```
___
## Poznámky
___

View File

@ -6,7 +6,13 @@ tags:
--- ---
## NPCs ## NPCs
```dataview ```dataview
TABLE without id file.link AS SOUBORY, Name AS Jméno TABLE without id
file.link AS Soubory,
Name as Jméno,
Race AS Rasa,
Faction AS Frakce,
LocationId AS "ID lokace"
FROM #NPC FROM #NPC
WHERE LocationId = this.Id WHERE LocationId = this.Id
SORT LocationId ASC
``` ```

View File

@ -1,7 +1,22 @@
--- ---
Name: Name:
LocationId: LocationId:
Race:
Faction: Faction:
tags: tags:
- NPC - NPC
--- ---
## -JMÉNO-
### Funkce / Povolání / Postavení
### Vzhled
### Povaha
### Cíle
___
## Poznámky
___
## Stat block
| HP | STR | DEX | WILL |
| --- | --- | --- | ---- |
| | | | |
### Útoky
___

View File

@ -0,0 +1,22 @@
---
Name:
tags:
- race
---
## Info
___
## NPCs
```dataview
TABLE without id
file.link AS Soubory,
Name as Jméno,
Race AS Rasa,
Faction AS Frakce,
LocationId AS "ID lokace"
FROM #NPC
WHERE Race = this.Name
SORT LocationId ASC
```
___
## Poznámky