Update character PDF XML: add capability for weapons to track QS, technique, AT, PA, and integrate related functions
This commit is contained in:
parent
3070f2f0e2
commit
02bed3eeec
16
WorldDawnSimpleTest/.obsidian/workspace.json
vendored
16
WorldDawnSimpleTest/.obsidian/workspace.json
vendored
@ -11,13 +11,14 @@
|
|||||||
"id": "8b8db8934e706fc6",
|
"id": "8b8db8934e706fc6",
|
||||||
"type": "leaf",
|
"type": "leaf",
|
||||||
"state": {
|
"state": {
|
||||||
"type": "bases",
|
"type": "markdown",
|
||||||
"state": {
|
"state": {
|
||||||
"file": "wiki/weapons/Items.base",
|
"file": "wiki/weapons/Sword.md",
|
||||||
"viewName": "Weapons"
|
"mode": "source",
|
||||||
|
"source": false
|
||||||
},
|
},
|
||||||
"icon": "lucide-table",
|
"icon": "lucide-file",
|
||||||
"title": "Items"
|
"title": "Sword"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -184,11 +185,10 @@
|
|||||||
},
|
},
|
||||||
"active": "8b8db8934e706fc6",
|
"active": "8b8db8934e706fc6",
|
||||||
"lastOpenFiles": [
|
"lastOpenFiles": [
|
||||||
"wiki/weapons/Axt.md",
|
|
||||||
"wiki/weapons/Spear.md",
|
"wiki/weapons/Spear.md",
|
||||||
|
"wiki/weapons/Items.base",
|
||||||
|
"wiki/weapons/Axt.md",
|
||||||
"wiki/weapons/Sword.md",
|
"wiki/weapons/Sword.md",
|
||||||
"wiki/weapons/Items.base",
|
|
||||||
"wiki/weapons/Items.base",
|
|
||||||
"wiki/costtables/Attribute A.md",
|
"wiki/costtables/Attribute A.md",
|
||||||
"wiki/costtables/CostTable.base",
|
"wiki/costtables/CostTable.base",
|
||||||
"wiki/races/Races.base",
|
"wiki/races/Races.base",
|
||||||
|
|||||||
@ -4,6 +4,9 @@ weapon: true
|
|||||||
item.cost: "500"
|
item.cost: "500"
|
||||||
weapon.damage: 3W4 + 1
|
weapon.damage: 3W4 + 1
|
||||||
item.slots: 3
|
item.slots: 3
|
||||||
|
weapon.technique: Lanzen
|
||||||
|
weapon.at: "+1"
|
||||||
|
weapon.pa: "-2"
|
||||||
---
|
---
|
||||||
|
|
||||||
# Spear
|
# Spear
|
||||||
|
|||||||
@ -4,6 +4,9 @@ weapon: true
|
|||||||
weapon.damage: 2W6 + 2 + QS
|
weapon.damage: 2W6 + 2 + QS
|
||||||
item.cost: "750"
|
item.cost: "750"
|
||||||
item.slots: 2
|
item.slots: 2
|
||||||
|
weapon.technique: Schwerter
|
||||||
|
weapon.at: "+2"
|
||||||
|
weapon.pa: "+1"
|
||||||
---
|
---
|
||||||
|
|
||||||
# Sword
|
# Sword
|
||||||
|
|||||||
@ -190,6 +190,10 @@
|
|||||||
<String Name="name"/>
|
<String Name="name"/>
|
||||||
<Int Name="cost"/>
|
<Int Name="cost"/>
|
||||||
<String Name="damage"/>
|
<String Name="damage"/>
|
||||||
|
<Int Name="qs"/>
|
||||||
|
<String Name="fighttechnique"/>
|
||||||
|
<String Name="at"/>
|
||||||
|
<String Name="pa"/>
|
||||||
</Variables>
|
</Variables>
|
||||||
</List>
|
</List>
|
||||||
</Variables>
|
</Variables>
|
||||||
|
|||||||
@ -3930,6 +3930,67 @@
|
|||||||
</TableLayout>
|
</TableLayout>
|
||||||
</Content>
|
</Content>
|
||||||
</TableLayout>
|
</TableLayout>
|
||||||
|
<TableLayout>
|
||||||
|
<Columns>8</Columns>
|
||||||
|
<Content>
|
||||||
|
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"Name"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"QS M"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"QS A"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"Kampftechnik"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"Schaden"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"AT"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"PA"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"Preis"</Text>
|
||||||
|
</Label>
|
||||||
|
|
||||||
|
<Foreach>
|
||||||
|
<List>[data.character.items.melee]</List>
|
||||||
|
<Content>
|
||||||
|
<Label>
|
||||||
|
<Text>[name]</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[qs]</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[fighttechnique]</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[damage]</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[at]</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[pa]</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[cost]</Text>
|
||||||
|
</Label>
|
||||||
|
</Content>
|
||||||
|
</Foreach>
|
||||||
|
|
||||||
|
</Content>
|
||||||
|
</TableLayout>
|
||||||
</Content>
|
</Content>
|
||||||
</ColumnLayout>
|
</ColumnLayout>
|
||||||
</Body>
|
</Body>
|
||||||
|
|||||||
@ -4240,6 +4240,10 @@
|
|||||||
<Name>"Name"</Name>
|
<Name>"Name"</Name>
|
||||||
<Value>[name]</Value>
|
<Value>[name]</Value>
|
||||||
</NameValueDisplay>
|
</NameValueDisplay>
|
||||||
|
<NameValueDisplay>
|
||||||
|
<Name>"QS"</Name>
|
||||||
|
<Value>[qs]</Value>
|
||||||
|
</NameValueDisplay>
|
||||||
<NameValueDisplay>
|
<NameValueDisplay>
|
||||||
<Name>"Kosten"</Name>
|
<Name>"Kosten"</Name>
|
||||||
<Value>[cost]</Value>
|
<Value>[cost]</Value>
|
||||||
@ -4257,30 +4261,40 @@
|
|||||||
<Text>"+QS"</Text>
|
<Text>"+QS"</Text>
|
||||||
<OnClick>
|
<OnClick>
|
||||||
<Action>
|
<Action>
|
||||||
<If>[cost] < 10000</If>
|
<If>[qs] < 6</If>
|
||||||
<Do>[data.character.control.coins] - [cost]</Do>
|
<Do>[data.character.control.coins] - [cost]</Do>
|
||||||
<Output>[data.character.control.coins]</Output>
|
<Output>[data.character.control.coins]</Output>
|
||||||
</Action>
|
</Action>
|
||||||
<Action>
|
<Action>
|
||||||
<If>[cost] < 10000</If>
|
<If>[qs] < 6</If>
|
||||||
<Do>[cost] * 2</Do>
|
<Do>[cost] * 2</Do>
|
||||||
<Output>[cost]</Output>
|
<Output>[cost]</Output>
|
||||||
</Action>
|
</Action>
|
||||||
|
<Action>
|
||||||
|
<If>[qs] < 6</If>
|
||||||
|
<Do>[qs] + 1</Do>
|
||||||
|
<Output>[qs]</Output>
|
||||||
|
</Action>
|
||||||
</OnClick>
|
</OnClick>
|
||||||
</Button>
|
</Button>
|
||||||
<Button>
|
<Button>
|
||||||
<Text>"-QS"</Text>
|
<Text>"-QS"</Text>
|
||||||
<OnClick>
|
<OnClick>
|
||||||
<Action>
|
<Action>
|
||||||
<If>[cost] > 1</If>
|
<If>[qs] > 0</If>
|
||||||
<Do>[cost] / 2</Do>
|
<Do>[cost] / 2</Do>
|
||||||
<Output>[cost]</Output>
|
<Output>[cost]</Output>
|
||||||
</Action>
|
</Action>
|
||||||
<Action>
|
<Action>
|
||||||
<If>[cost] > 1</If>
|
<If>[qs] > 0</If>
|
||||||
<Do>[data.character.control.coins] + [cost]</Do>
|
<Do>[data.character.control.coins] + [cost]</Do>
|
||||||
<Output>[data.character.control.coins]</Output>
|
<Output>[data.character.control.coins]</Output>
|
||||||
</Action>
|
</Action>
|
||||||
|
<Action>
|
||||||
|
<If>[qs] < 0</If>
|
||||||
|
<Do>[qs] - 1</Do>
|
||||||
|
<Output>[qs]</Output>
|
||||||
|
</Action>
|
||||||
</OnClick>
|
</OnClick>
|
||||||
</Button>
|
</Button>
|
||||||
</Buttons>
|
</Buttons>
|
||||||
@ -4300,6 +4314,22 @@
|
|||||||
<Property>[weapon.damage]</Property>
|
<Property>[weapon.damage]</Property>
|
||||||
<Output>[damage]</Output>
|
<Output>[damage]</Output>
|
||||||
</PropertyOutput>
|
</PropertyOutput>
|
||||||
|
<PropertyOutput>
|
||||||
|
<Property>1</Property>
|
||||||
|
<Output>[qs]</Output>
|
||||||
|
</PropertyOutput>
|
||||||
|
<PropertyOutput>
|
||||||
|
<Property>[weapon.technique]</Property>
|
||||||
|
<Output>[fighttechnique]</Output>
|
||||||
|
</PropertyOutput>
|
||||||
|
<PropertyOutput>
|
||||||
|
<Property>[weapon.at]</Property>
|
||||||
|
<Output>[at]</Output>
|
||||||
|
</PropertyOutput>
|
||||||
|
<PropertyOutput>
|
||||||
|
<Property>[weapon.pa]</Property>
|
||||||
|
<Output>[pa]</Output>
|
||||||
|
</PropertyOutput>
|
||||||
</PropertyOutputs>
|
</PropertyOutputs>
|
||||||
<Columns>
|
<Columns>
|
||||||
<NameValueDisplay>
|
<NameValueDisplay>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user