Refactor character creation tool XML: encapsulate label pairs within Content tags for improved structural consistency

This commit is contained in:
Florian 2026-05-12 14:47:36 +02:00
parent 759c827d5e
commit 132c2b1e90

View File

@ -163,52 +163,64 @@
<RowLayout Styles="ValueBoxRow">
<Content>
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
<Content>
<Label>
<Text>"LE"</Text>
</Label>
<Label>
<Text>[data.character.attributes.physique] + [data.character.attributes.physique] + [data.character.attributes.strength] + [data.character.race.healthbonus]</Text>
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
<Content>
<Label>
<Text>"INI"</Text>
</Label>
<Label>
<Text>Round(([data.character.attributes.courage] + [data.character.attributes.agility]) / 2)</Text>
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
<Content>
<Label>
<Text>"AW"</Text>
</Label>
<Label>
<Text>Round(([data.character.attributes.intuition] + [data.character.attributes.agility] + [data.character.attributes.agility]) / 4)</Text>
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren">
<Content>
<Label>
<Text>"GS"</Text>
</Label>
<Label>
<Text>[data.character.race.speed]</Text>
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren" Visible="[data.character.definition.ismage]">
<Content>
<Label>
<Text>"MN"</Text>
</Label>
<Label>
<Text>[data.character.magic.mana]</Text>
</Label>
</Content>
</ColumnLayout>
<ColumnLayout Styles="ValueBox;ValueBoxChildren" Visible="[data.character.definition.ismage]">
<Content>
<Label>
<Text>"AM"</Text>
</Label>
<Label>
<Text>charlib_intrinsicmagic()</Text>
</Label>
</Content>
</ColumnLayout>
</Content>
</RowLayout>