Update Magic Page and PDF Generation
This commit is contained in:
parent
3dd38e024f
commit
9e4584309a
@ -238,6 +238,15 @@
|
|||||||
<Int Name="level"/>
|
<Int Name="level"/>
|
||||||
</Variables>
|
</Variables>
|
||||||
</List>
|
</List>
|
||||||
|
<List Name="magicitems">
|
||||||
|
<Variables>
|
||||||
|
<String Name="name"/>
|
||||||
|
<String Name="source"/>
|
||||||
|
<String Name="value"/>
|
||||||
|
<String Name="cost"/>
|
||||||
|
<String Name="slots"/>
|
||||||
|
</Variables>
|
||||||
|
</List>
|
||||||
<String Name="new_name"/>
|
<String Name="new_name"/>
|
||||||
<String Name="new_description"/>
|
<String Name="new_description"/>
|
||||||
<Int Name="mana">
|
<Int Name="mana">
|
||||||
|
|||||||
@ -180,7 +180,7 @@
|
|||||||
<Style Name="ItemTable" Recursive="true" IgnoreSelf="true">
|
<Style Name="ItemTable" Recursive="true" IgnoreSelf="true">
|
||||||
<FontSize>9</FontSize>
|
<FontSize>9</FontSize>
|
||||||
</Style>
|
</Style>
|
||||||
<Style Name="NoBorder" Recursive="true">
|
<Style Name="NoBorder" Recursive="true" IgnoreSelf="true">
|
||||||
<Border>0</Border>
|
<Border>0</Border>
|
||||||
</Style>
|
</Style>
|
||||||
</Styles>
|
</Styles>
|
||||||
@ -350,7 +350,7 @@
|
|||||||
<ColumnLayout Styles="ValueBox;ValueBoxChildren" Visible="[data.character.definition.ismage]">
|
<ColumnLayout Styles="ValueBox;ValueBoxChildren" Visible="[data.character.definition.ismage]">
|
||||||
<Content>
|
<Content>
|
||||||
<Label>
|
<Label>
|
||||||
<Text>"AM"</Text>
|
<Text>"IM"</Text>
|
||||||
</Label>
|
</Label>
|
||||||
<Label>
|
<Label>
|
||||||
<Text>charlib_intrinsicmagic()</Text>
|
<Text>charlib_intrinsicmagic()</Text>
|
||||||
@ -3472,7 +3472,7 @@
|
|||||||
<ColumnLayout Styles="ValueBox;ValueBoxChildren" Visible="[data.character.definition.ismage]">
|
<ColumnLayout Styles="ValueBox;ValueBoxChildren" Visible="[data.character.definition.ismage]">
|
||||||
<Content>
|
<Content>
|
||||||
<Label>
|
<Label>
|
||||||
<Text>"AM"</Text>
|
<Text>"IM"</Text>
|
||||||
</Label>
|
</Label>
|
||||||
<Label>
|
<Label>
|
||||||
<Text>charlib_intrinsicmagic()</Text>
|
<Text>charlib_intrinsicmagic()</Text>
|
||||||
@ -5627,7 +5627,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<Label Styles="BiggerLowerBorder;HLeft">
|
<Label Styles="BiggerLowerBorder;HLeft">
|
||||||
<Text>"Angeborene Magie</Text>
|
<Text>"Intrinsische Magie"</Text>
|
||||||
</Label>
|
</Label>
|
||||||
<Label Styles="BiggerLowerBorder;Centered;TableBorder">
|
<Label Styles="BiggerLowerBorder;Centered;TableBorder">
|
||||||
<Text>[data.character.magic.calc_intrinsic]</Text>
|
<Text>[data.character.magic.calc_intrinsic]</Text>
|
||||||
@ -5780,11 +5780,15 @@
|
|||||||
<TableLayout Styles="TableChildren;GapChildren">
|
<TableLayout Styles="TableChildren;GapChildren">
|
||||||
<Columns>
|
<Columns>
|
||||||
<Column>
|
<Column>
|
||||||
<Width>40</Width>
|
<Width>30</Width>
|
||||||
<Percent>true</Percent>
|
<Percent>true</Percent>
|
||||||
</Column>
|
</Column>
|
||||||
<Column>
|
<Column>
|
||||||
<Width>40</Width>
|
<Width>30</Width>
|
||||||
|
<Percent>true</Percent>
|
||||||
|
</Column>
|
||||||
|
<Column>
|
||||||
|
<Width>20</Width>
|
||||||
<Percent>true</Percent>
|
<Percent>true</Percent>
|
||||||
</Column>
|
</Column>
|
||||||
<Column>
|
<Column>
|
||||||
@ -5801,17 +5805,54 @@
|
|||||||
<Text>"Quelle"</Text>
|
<Text>"Quelle"</Text>
|
||||||
</Label>
|
</Label>
|
||||||
<Label Styles="TalentTableHeader">
|
<Label Styles="TalentTableHeader">
|
||||||
<Text>"Wert"</Text>
|
<Text>"Mod"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"Slots"</Text>
|
||||||
|
</Label>
|
||||||
|
|
||||||
|
<Foreach>
|
||||||
|
<List>[data.characters.magic.magicitems]</List>
|
||||||
|
<Content>
|
||||||
|
<Label Styles="HLeft">
|
||||||
|
<Text>[name]</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[source]</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[value]</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[slots]</Text>
|
||||||
|
</Label>
|
||||||
|
</Content>
|
||||||
|
</Foreach>
|
||||||
|
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
</Label>
|
</Label>
|
||||||
|
|
||||||
<Label>
|
<Label>
|
||||||
<Text>"Laute"</Text>
|
<Text>""</Text>
|
||||||
</Label>
|
</Label>
|
||||||
<Label>
|
<Label>
|
||||||
<Text>"Musik"</Text>
|
<Text>""</Text>
|
||||||
</Label>
|
</Label>
|
||||||
<Label>
|
<Label>
|
||||||
<Text>"+2"</Text>
|
<Text>""</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
</Label>
|
</Label>
|
||||||
|
|
||||||
</Content>
|
</Content>
|
||||||
@ -5820,6 +5861,76 @@
|
|||||||
</Content>
|
</Content>
|
||||||
</ColumnLayout>
|
</ColumnLayout>
|
||||||
|
|
||||||
|
<Label Styles="InventoryHeader">
|
||||||
|
<Text>"Magiekategorien"</Text>
|
||||||
|
</Label>
|
||||||
|
|
||||||
|
<TableLayout Styles="TableChildren;GapChildren">
|
||||||
|
<Columns>
|
||||||
|
<Column>
|
||||||
|
<Width>35</Width>
|
||||||
|
<Percent>true</Percent>
|
||||||
|
</Column>
|
||||||
|
<Column>
|
||||||
|
<Width>15</Width>
|
||||||
|
<Percent>true</Percent>
|
||||||
|
</Column>
|
||||||
|
<Column>
|
||||||
|
<Width>50</Width>
|
||||||
|
<Percent>true</Percent>
|
||||||
|
</Column>
|
||||||
|
</Columns>
|
||||||
|
<Content>
|
||||||
|
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"Name"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"Wert"</Text>
|
||||||
|
</Label>
|
||||||
|
<Label Styles="TalentTableHeader">
|
||||||
|
<Text>"Beschreibung"</Text>
|
||||||
|
</Label>
|
||||||
|
|
||||||
|
<Foreach>
|
||||||
|
<List>[data.character.magic.categories]</List>
|
||||||
|
<Content>
|
||||||
|
<Label>
|
||||||
|
<Text>[name]</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[description]</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>[level]</Text>
|
||||||
|
</Label>
|
||||||
|
</Content>
|
||||||
|
</Foreach>
|
||||||
|
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
|
</Label>
|
||||||
|
|
||||||
|
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
|
</Label>
|
||||||
|
<Label>
|
||||||
|
<Text>""</Text>
|
||||||
|
</Label>
|
||||||
|
|
||||||
|
</Content>
|
||||||
|
</TableLayout>
|
||||||
|
|
||||||
</Content>
|
</Content>
|
||||||
</RowLayout>
|
</RowLayout>
|
||||||
</Body>
|
</Body>
|
||||||
|
|||||||
@ -4281,6 +4281,93 @@
|
|||||||
</Button>
|
</Button>
|
||||||
</Content>
|
</Content>
|
||||||
</GridContainer>
|
</GridContainer>
|
||||||
|
|
||||||
|
<!-- Items -->
|
||||||
|
<Header>
|
||||||
|
<Level>2</Level>
|
||||||
|
<Text>"Magische Gegenstände"</Text>
|
||||||
|
</Header>
|
||||||
|
<ListDisplay>
|
||||||
|
<List>[data.character.magic.magicitems]</List>
|
||||||
|
<Columns>
|
||||||
|
<NameValueDisplay>
|
||||||
|
<Name>"Name"</Name>
|
||||||
|
<Value>[name]</Value>
|
||||||
|
</NameValueDisplay>
|
||||||
|
<NameValueDisplay>
|
||||||
|
<Name>"Quelle"</Name>
|
||||||
|
<Value>[source]</Value>
|
||||||
|
</NameValueDisplay>
|
||||||
|
<NameValueDisplay>
|
||||||
|
<Name>"Mod"</Name>
|
||||||
|
<Value>[value]</Value>
|
||||||
|
</NameValueDisplay>
|
||||||
|
<NameValueDisplay>
|
||||||
|
<Name>"Slots"</Name>
|
||||||
|
<Value>[slots]</Value>
|
||||||
|
</NameValueDisplay>
|
||||||
|
<NameValueDisplay>
|
||||||
|
<Name>"Kosten"</Name>
|
||||||
|
<Value>[cost]</Value>
|
||||||
|
</NameValueDisplay>
|
||||||
|
</Columns>
|
||||||
|
<Budget>[data.character.control.coins]</Budget>
|
||||||
|
<Cost>[cost]</Cost>
|
||||||
|
<AllowRemove>true</AllowRemove>
|
||||||
|
</ListDisplay>
|
||||||
|
<BaseToListPicker>
|
||||||
|
<List>[data.character.magic.magicitems]</List>
|
||||||
|
<PropertyOutputs>
|
||||||
|
<PropertyOutput>
|
||||||
|
<Property>[file.name]</Property>
|
||||||
|
<Output>[name]</Output>
|
||||||
|
</PropertyOutput>
|
||||||
|
<PropertyOutput>
|
||||||
|
<Property>[item.cost]</Property>
|
||||||
|
<Output>[cost]</Output>
|
||||||
|
</PropertyOutput>
|
||||||
|
<PropertyOutput>
|
||||||
|
<Property>[magicitem.value]</Property>
|
||||||
|
<Output>[value]</Output>
|
||||||
|
</PropertyOutput>
|
||||||
|
<PropertyOutput>
|
||||||
|
<Property>[magicitem.source]</Property>
|
||||||
|
<Output>[source]</Output>
|
||||||
|
</PropertyOutput>
|
||||||
|
<PropertyOutput>
|
||||||
|
<Property>[item.slots]</Property>
|
||||||
|
<Output>[slots]</Output>
|
||||||
|
</PropertyOutput>
|
||||||
|
<PropertyOutput>
|
||||||
|
<Property>[item.cost]</Property>
|
||||||
|
<Output>[cost]</Output>
|
||||||
|
</PropertyOutput>
|
||||||
|
</PropertyOutputs>
|
||||||
|
<Columns>
|
||||||
|
<NameValueDisplay>
|
||||||
|
<Name>"Name"</Name>
|
||||||
|
<Value>[file.name]</Value>
|
||||||
|
</NameValueDisplay>
|
||||||
|
<NameValueDisplay>
|
||||||
|
<Name>"Mod"</Name>
|
||||||
|
<Value>[magicitem.value]</Value>
|
||||||
|
</NameValueDisplay>
|
||||||
|
<NameValueDisplay>
|
||||||
|
<Name>"Kosten"</Name>
|
||||||
|
<Value>[item.cost]</Value>
|
||||||
|
</NameValueDisplay>
|
||||||
|
<NameValueDisplay>
|
||||||
|
<Name>"Slots"</Name>
|
||||||
|
<Value>[item.slots]</Value>
|
||||||
|
</NameValueDisplay>
|
||||||
|
</Columns>
|
||||||
|
<Base>[base.items.Magicitems]</Base>
|
||||||
|
<Budget>[data.character.control.coins]</Budget>
|
||||||
|
<Cost>[item.cost]</Cost>
|
||||||
|
</BaseToListPicker>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</Content>
|
</Content>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Name="items">
|
<Page Name="items">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user