Int Input

This commit is contained in:
Florian 2026-04-16 15:17:19 +02:00
parent ffbbf1c7f0
commit 545394f968
2 changed files with 24 additions and 4 deletions

View File

@ -16,5 +16,10 @@
<Int Name="speed"/>
</Variables>
</Group>
<Group Name="buff">
<Variables>
<Int Name="speed"/>
</Variables>
</Group>
</Groups>
</DataStructure>

View File

@ -46,7 +46,7 @@
<Page Name="newchar">
<Content>
<GridContainer>
<Cols>2</Cols>
<Cols>3</Cols>
<Content>
<Label>
<Text>"Name"</Text>
@ -54,12 +54,24 @@
<StringInput>
<Output>[data.character.definition.name]</Output>
</StringInput>
<Label>
<Text>[data.character.definition.name]</Text>
</Label>
<Label>
<Text>"Rasse"</Text>
</Label>
<Label>
<Text>[data.character.definition.name]</Text>
<Text>[data.character.race.name]</Text>
</Label>
<Label>
<Text>[data.character.race.speed]</Text>
</Label>
<Label>
<Text>"Add Speed"</Text>
</Label>
<IntInput>
<Output>[data.character.buff.speed]</Output>
</IntInput>
<BaseSingleSelect>
<Base>[base.races.Playable]</Base>
<Output>[data.character.race.id]</Output>
@ -78,10 +90,13 @@
</Content>
</GridContainer>
<Label>
<Text>[data.character.race.name]</Text>
<Text>"Your race has "</Text>
</Label>
<Label>
<Text>[data.character.race.speed]</Text>
<Text>[data.character.race.speed] + [data.character.buff.speed]</Text>
</Label>
<Label>
<Text>" speed"</Text>
</Label>
<MarkdownDisplay>
<MarkdownId>[data.character.race.id]</MarkdownId>