Refactor item and weapon properties, update character creation layout, and improve data consistency.

This commit is contained in:
2026-05-04 17:09:57 +02:00
parent 49fe52764c
commit 3daf245039
8 changed files with 129 additions and 95 deletions
+5 -1
View File
@@ -15,6 +15,10 @@
"data.race.maxheight": "number",
"data.race.maxage": "number",
"data.race.minage": "number",
"cost.1": "number"
"cost.1": "number",
"item": "checkbox",
"weapon": "checkbox",
"damage": "text",
"item.slots": "number"
}
}
+9 -9
View File
@@ -4,11 +4,11 @@
"type": "split",
"children": [
{
"id": "020f3644f1d53ff7",
"id": "e73751d8cb038856",
"type": "tabs",
"children": [
{
"id": "388abadcb3247db6",
"id": "8b8db8934e706fc6",
"type": "leaf",
"state": {
"type": "empty",
@@ -179,25 +179,25 @@
"bases:Create new base": false
}
},
"active": "f04c5c8ea681e8c9",
"active": "8b8db8934e706fc6",
"lastOpenFiles": [
"wiki/costtables/CostTable.base",
"wiki/costtables/Attribute A.md",
"wiki/weapons/Axt.md",
"wiki/weapons/Spear.md",
"wiki/weapons/Sword.md",
"wiki/weapons/Items.base",
"wiki/weapons/Items.base",
"wiki/costtables/Attribute A.md",
"wiki/costtables/CostTable.base",
"wiki/races/Races.base",
"wiki/races/Orc.md",
"wiki/races/Human.md",
"wiki/races/Dragon.md",
"wiki/first subfolder/secondSub/Some Testnote.md",
"wiki/costtables",
"wiki/weapons/Items.base",
"wiki/races",
"wiki/weapons/Sword.md",
"wiki/weapons/Axt.md",
"wiki/twomain/A Pdf.pdf",
"wiki/Test123.md",
"wiki/Authbased.md",
"wiki/weapons/Untitled.base",
"Untitled.md",
"wiki/weapons",
"wiki/twomain/Hallo Welt.md",
+4 -5
View File
@@ -1,8 +1,7 @@
---
data.weapon: true
data.weapon.damage: 2W4 + 1
data.weapon.cost: 800
data.tool: true
data.tool.task: Woodcutting
item: true
item.cost: "250"
item.slots: 1
---
# Axtno
+15 -21
View File
@@ -1,32 +1,26 @@
filters:
and:
- note["data.weapon"] == true
formulas:
Untitled: note["data.weapon.cost"] + 20
properties:
formula.Untitled:
displayName: Cost Increased
- item == true
views:
- type: table
name: Weapons
name: All
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
columnSize:
note.data.weapon.damage: 190
- item.cost
- type: table
name: Tools
name: Weapons
filters:
and:
- note["data.tool"] == true
- weapon == true
order:
- file.name
- item.cost
- weapon.damage
- type: table
name: Items
filters:
and:
- weapon != true
order:
- file.name
- item.cost
+6 -3
View File
@@ -1,7 +1,10 @@
---
data.weapon: true
data.weapon.cost: 800
data.weapon.damage: 1W6 + 1
item: true
weapon: true
item.cost: "500"
weapon.damage: 3W4 + 1
item.slots: 3
---
# Spear
The Spear is a long stick with a pointy end.
+6 -3
View File
@@ -1,7 +1,10 @@
---
data.weapon: true
data.weapon.damage: 1W6 + 2
data.weapon.cost: 1500
item: true
weapon: true
weapon.damage: 2W6 + 2 + QS
item.cost: "750"
item.slots: 2
---
# Sword
Forged by a smith, this piece of metal is making you bleed.