From 02bed3eeec40e5fcaae5f97f80ffd79ffc5e5595 Mon Sep 17 00:00:00 2001 From: Florian Date: Fri, 12 Jun 2026 14:15:57 +0200 Subject: [PATCH] Update character PDF XML: add capability for weapons to track QS, technique, AT, PA, and integrate related functions --- WorldDawnSimpleTest/.obsidian/workspace.json | 16 ++--- WorldDawnSimpleTest/wiki/weapons/Spear.md | 3 + WorldDawnSimpleTest/wiki/weapons/Sword.md | 3 + tools/charactercreation/characterdata.xml | 4 ++ tools/charactercreation/characterpdf.xml | 61 ++++++++++++++++++++ tools/charactercreation/charactertool.xml | 38 ++++++++++-- 6 files changed, 113 insertions(+), 12 deletions(-) diff --git a/WorldDawnSimpleTest/.obsidian/workspace.json b/WorldDawnSimpleTest/.obsidian/workspace.json index 07d6c04..608fa4b 100644 --- a/WorldDawnSimpleTest/.obsidian/workspace.json +++ b/WorldDawnSimpleTest/.obsidian/workspace.json @@ -11,13 +11,14 @@ "id": "8b8db8934e706fc6", "type": "leaf", "state": { - "type": "bases", + "type": "markdown", "state": { - "file": "wiki/weapons/Items.base", - "viewName": "Weapons" + "file": "wiki/weapons/Sword.md", + "mode": "source", + "source": false }, - "icon": "lucide-table", - "title": "Items" + "icon": "lucide-file", + "title": "Sword" } } ] @@ -184,11 +185,10 @@ }, "active": "8b8db8934e706fc6", "lastOpenFiles": [ - "wiki/weapons/Axt.md", "wiki/weapons/Spear.md", + "wiki/weapons/Items.base", + "wiki/weapons/Axt.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", diff --git a/WorldDawnSimpleTest/wiki/weapons/Spear.md b/WorldDawnSimpleTest/wiki/weapons/Spear.md index 80648ca..fc8ac3e 100644 --- a/WorldDawnSimpleTest/wiki/weapons/Spear.md +++ b/WorldDawnSimpleTest/wiki/weapons/Spear.md @@ -4,6 +4,9 @@ weapon: true item.cost: "500" weapon.damage: 3W4 + 1 item.slots: 3 +weapon.technique: Lanzen +weapon.at: "+1" +weapon.pa: "-2" --- # Spear diff --git a/WorldDawnSimpleTest/wiki/weapons/Sword.md b/WorldDawnSimpleTest/wiki/weapons/Sword.md index 1715bc7..ec6459a 100644 --- a/WorldDawnSimpleTest/wiki/weapons/Sword.md +++ b/WorldDawnSimpleTest/wiki/weapons/Sword.md @@ -4,6 +4,9 @@ weapon: true weapon.damage: 2W6 + 2 + QS item.cost: "750" item.slots: 2 +weapon.technique: Schwerter +weapon.at: "+2" +weapon.pa: "+1" --- # Sword diff --git a/tools/charactercreation/characterdata.xml b/tools/charactercreation/characterdata.xml index b946b2c..2541ff7 100644 --- a/tools/charactercreation/characterdata.xml +++ b/tools/charactercreation/characterdata.xml @@ -190,6 +190,10 @@ + + + + diff --git a/tools/charactercreation/characterpdf.xml b/tools/charactercreation/characterpdf.xml index 34b57f6..699a6a9 100644 --- a/tools/charactercreation/characterpdf.xml +++ b/tools/charactercreation/characterpdf.xml @@ -3930,6 +3930,67 @@ + + 8 + + + + + + + + + + + + + [data.character.items.melee] + + + + + + + + + + + + + + diff --git a/tools/charactercreation/charactertool.xml b/tools/charactercreation/charactertool.xml index c2129b9..15ecce9 100644 --- a/tools/charactercreation/charactertool.xml +++ b/tools/charactercreation/charactertool.xml @@ -4240,6 +4240,10 @@ "Name" [name] + + "QS" + [qs] + "Kosten" [cost] @@ -4257,30 +4261,40 @@ "+QS" - [cost] < 10000 + [qs] < 6 [data.character.control.coins] - [cost] [data.character.control.coins] - [cost] < 10000 + [qs] < 6 [cost] * 2 [cost] + + [qs] < 6 + [qs] + 1 + [qs] + @@ -4300,6 +4314,22 @@ [weapon.damage] [damage] + + 1 + [qs] + + + [weapon.technique] + [fighttechnique] + + + [weapon.at] + [at] + + + [weapon.pa] + [pa] +