Refactor item and weapon data structure, update character creation XMLs, and adjust workspace configuration.
This commit is contained in:
@@ -188,7 +188,7 @@
|
||||
</Group>
|
||||
<Group Name="items">
|
||||
<Variables>
|
||||
<List Name="weapons">
|
||||
<List Name="melee">
|
||||
<Variables>
|
||||
<String Name="name"/>
|
||||
<Int Name="cost"/>
|
||||
|
||||
@@ -15,6 +15,9 @@
|
||||
<BaseReference Name="races">
|
||||
<Path>wiki/races/Races</Path>
|
||||
</BaseReference>
|
||||
<BaseReference Name="items">
|
||||
<Path>wiki/weapons/Items</Path>
|
||||
</BaseReference>
|
||||
</Bases>
|
||||
<Libraries>
|
||||
<LibraryReference>charlib</LibraryReference>
|
||||
@@ -3996,7 +3999,7 @@
|
||||
<Text>"Nahkampfwaffen"</Text>
|
||||
</Header>
|
||||
<ListDisplay>
|
||||
<List>[data.character.items.weapons]</List>
|
||||
<List>[data.character.items.melee]</List>
|
||||
<Columns>
|
||||
<NameValueDisplay>
|
||||
<Name>"Name"</Name>
|
||||
@@ -4012,6 +4015,38 @@
|
||||
</NameValueDisplay>
|
||||
</Columns>
|
||||
</ListDisplay>
|
||||
<BaseToListPicker>
|
||||
<List>[data.character.items.melee]</List>
|
||||
<PropertyOutputs>
|
||||
<PropertyOutput>
|
||||
<Property>[file.name]</Property>
|
||||
<Output>[name]</Output>
|
||||
</PropertyOutput>
|
||||
<PropertyOutput>
|
||||
<Property>[item.cost]</Property>
|
||||
<Output>[cost]</Output>
|
||||
</PropertyOutput>
|
||||
<PropertyOutput>
|
||||
<Property>[weapon.damage]</Property>
|
||||
<Output>[damage]</Output>
|
||||
</PropertyOutput>
|
||||
</PropertyOutputs>
|
||||
<Columns>
|
||||
<NameValueDisplay>
|
||||
<Name>"Name"</Name>
|
||||
<Value>[file.name]</Value>
|
||||
</NameValueDisplay>
|
||||
<NameValueDisplay>
|
||||
<Name>"Kosten"</Name>
|
||||
<Value>[item.cost]</Value>
|
||||
</NameValueDisplay>
|
||||
<NameValueDisplay>
|
||||
<Name>"Schaden"</Name>
|
||||
<Value>[weapon.damage]</Value>
|
||||
</NameValueDisplay>
|
||||
</Columns>
|
||||
<Base>[base.items.Weapons]</Base>
|
||||
</BaseToListPicker>
|
||||
</Content>
|
||||
</Page>
|
||||
</Pages>
|
||||
|
||||
Reference in New Issue
Block a user