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"/> <Int Name="speed"/>
</Variables> </Variables>
</Group> </Group>
<Group Name="buff">
<Variables>
<Int Name="speed"/>
</Variables>
</Group>
</Groups> </Groups>
</DataStructure> </DataStructure>

View File

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