This commit is contained in:
Florian 2026-02-20 11:57:22 +01:00
parent d403dacd40
commit 47531a9ee6
5 changed files with 41 additions and 22 deletions

View File

@ -4,6 +4,7 @@
"cssclasses": "multitext",
"tags": "tags",
"data.waffe": "checkbox",
"data.waffe.cost": "number"
"data.waffe.cost": "number",
"data.tool": "checkbox"
}
}

View File

@ -13,11 +13,11 @@
"state": {
"type": "bases",
"state": {
"file": "wiki/weapons/Waffen.base",
"viewName": "Table"
"file": "wiki/weapons/Items.base",
"viewName": "Tools"
},
"icon": "lucide-table",
"title": "Waffen"
"icon": "lucide-list",
"title": "Items"
}
}
]
@ -182,11 +182,13 @@
"bases:Create new base": false
}
},
"active": "4644219fe81a7884",
"active": "f04c5c8ea681e8c9",
"lastOpenFiles": [
"wiki/weapons/Schwert.md",
"wiki/weapons/Items.base",
"wiki/weapons/Untitled.base",
"Untitled.md",
"wiki/weapons/Axt.md",
"wiki/weapons/Waffen.base",
"wiki/weapons/Schwert.md",
"wiki/weapons",
"wiki/Test123.md",
"wiki/Authbased.md",
@ -198,7 +200,6 @@
"wiki/first subfolder/secondSub",
"wiki/first subfolder",
"adventures",
"Untitled.md",
"wiki",
"Welcome.md"
]

View File

@ -2,4 +2,6 @@
data.weapon: true
data.weapon.damage: 2W4 + 1
data.weapon.cost: 800
data.tool: true
data.tool.task: Woodcutting
---

View File

@ -0,0 +1,28 @@
filters:
and:
- note["data.weapon"] == true
formulas:
Untitled: note["data.weapon.cost"] + 20
properties:
formula.Untitled:
displayName: Cost Increased
views:
- type: table
name: Weapons
order:
- file.name
- data.weapon.damage
- data.weapon.cost
- formula.Untitled
sort:
- property: file.name
direction: ASC
- property: formula.Untitled
direction: ASC
- property: data.waffe.damage
direction: DESC
- type: list
name: Tools
filters:
and:
- note["data.tool"] == true

View File

@ -1,13 +0,0 @@
views:
- type: table
name: Table
filters:
and:
- note["data.weapon"] == true
order:
- file.name
- data.weapon.damage
- data.weapon.cost
sort:
- property: data.waffe.damage
direction: DESC