Add magic group and ListDisplay functionality to character creation tool XML
This commit is contained in:
parent
852da82679
commit
a5d92abd0f
@ -197,5 +197,18 @@
|
||||
</List>
|
||||
</Variables>
|
||||
</Group>
|
||||
<Group Name="magic">
|
||||
<Variables>
|
||||
<List Name="categories">
|
||||
<Variables>
|
||||
<String Name="name"/>
|
||||
<String Name="description"/>
|
||||
<Int Name="level"/>
|
||||
</Variables>
|
||||
</List>
|
||||
<String Name="new_name"/>
|
||||
<String Name="new_description"/>
|
||||
</Variables>
|
||||
</Group>
|
||||
</Groups>
|
||||
</DataStructure>
|
||||
@ -3892,6 +3892,66 @@
|
||||
</Content>
|
||||
</HorizontalContainer>
|
||||
<!-- End Header Bar -->
|
||||
<ListDisplay>
|
||||
<List>[data.character.magic.categories]</List>
|
||||
<AllowRemove>true</AllowRemove>
|
||||
<Budget>[data.character.control.xp]</Budget>
|
||||
<Cost>[level]</Cost>
|
||||
<Columns>
|
||||
<NameValueDisplay>
|
||||
<Name>"Name"</Name>
|
||||
<Value>[name]</Value>
|
||||
</NameValueDisplay>
|
||||
<NameValueDisplay>
|
||||
<Name>"Beschreibung"</Name>
|
||||
<Value>[description]</Value>
|
||||
</NameValueDisplay>
|
||||
<NameValueDisplay>
|
||||
<Name>"Wert"</Name>
|
||||
<Value>[level]</Value>
|
||||
</NameValueDisplay>
|
||||
</Columns>
|
||||
</ListDisplay>
|
||||
<GridContainer>
|
||||
<Cols>2</Cols>
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"Name:"</Text>
|
||||
</Label>
|
||||
<StringInput>
|
||||
<Output>[data.character.magic.new_name]</Output>
|
||||
</StringInput>
|
||||
<Label>
|
||||
<Text>"Description:"</Text>
|
||||
</Label>
|
||||
<StringInput>
|
||||
<Output>[data.character.magic.new_description</Output>
|
||||
</StringInput>
|
||||
<Empty/>
|
||||
<Button>
|
||||
<Text>"Hinzufügen"</Text>
|
||||
<OnClick>
|
||||
<AddListEntry>
|
||||
<List>[data.character.magic.categories]</List>
|
||||
<PropertyOutputs>
|
||||
<PropertyOutput>
|
||||
<Property>[data.character.magic.new_name]</Property>
|
||||
<Output>[name]</Output>
|
||||
</PropertyOutput>
|
||||
<PropertyOutput>
|
||||
<Property>[data.character.magic.new_description]</Property>
|
||||
<Output>[description]</Output>
|
||||
</PropertyOutput>
|
||||
<PropertyOutput>
|
||||
<Property>0</Property>
|
||||
<Output>[level]</Output>
|
||||
</PropertyOutput>
|
||||
</PropertyOutputs>
|
||||
</AddListEntry>
|
||||
</OnClick>
|
||||
</Button>
|
||||
</Content>
|
||||
</GridContainer>
|
||||
</Content>
|
||||
</Page>
|
||||
<Page Name="items">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user