Starting Character Creation Tool
This commit is contained in:
@@ -1,11 +1,19 @@
|
||||
<DataStructure Name="characterdata">
|
||||
<Version>1</Version>
|
||||
<Groups>
|
||||
<Group Name="flow">
|
||||
<Variables>
|
||||
<String Name="currentPage">
|
||||
<Value>newchar</Value>
|
||||
</String>
|
||||
</Variables>
|
||||
</Group>
|
||||
<Group Name="definition">
|
||||
<Variables>
|
||||
<String Name="name">
|
||||
<Max>64</Max>
|
||||
</String>
|
||||
<String Name="gender"/>
|
||||
<Bool Name="ismage"/>
|
||||
</Variables>
|
||||
</Group>
|
||||
@@ -16,10 +24,5 @@
|
||||
<Int Name="speed"/>
|
||||
</Variables>
|
||||
</Group>
|
||||
<Group Name="buff">
|
||||
<Variables>
|
||||
<Int Name="speed"/>
|
||||
</Variables>
|
||||
</Group>
|
||||
</Groups>
|
||||
</DataStructure>
|
||||
@@ -25,14 +25,14 @@
|
||||
<OnPostLoad>
|
||||
<Actions>
|
||||
<OpenPage>
|
||||
<Page>"newchar"</Page>
|
||||
<Page>[data.character.flow.currentPage]</Page>
|
||||
</OpenPage>
|
||||
</Actions>
|
||||
</OnPostLoad>
|
||||
<OnPostCreate>
|
||||
<Actions>
|
||||
<OpenPage>
|
||||
<Page>"newchar"</Page>
|
||||
<Page>[data.character.flow.currentPage]</Page>
|
||||
</OpenPage>
|
||||
</Actions>
|
||||
</OnPostCreate>
|
||||
@@ -46,7 +46,7 @@
|
||||
<Page Name="newchar">
|
||||
<Content>
|
||||
<GridContainer>
|
||||
<Cols>3</Cols>
|
||||
<Cols>2</Cols>
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"Name"</Text>
|
||||
@@ -54,24 +54,9 @@
|
||||
<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.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>
|
||||
@@ -87,21 +72,56 @@
|
||||
</PropertyOutput>
|
||||
</PropertyOutputs>
|
||||
</BaseSingleSelect>
|
||||
<Button>
|
||||
<Text>"Weiter"</Text>
|
||||
<OnClick>
|
||||
<Actions>
|
||||
<Action>
|
||||
<Do>"profile"</Do>
|
||||
<Output>[data.character.flow.currentPage]</Output>
|
||||
</Action>
|
||||
<OpenPage>
|
||||
<Page>[data.character.flow.currentPage]</Page>
|
||||
</OpenPage>
|
||||
</Actions>
|
||||
</OnClick>
|
||||
</Button>
|
||||
<MarkdownDisplay>
|
||||
<MarkdownId>[data.character.race.id]</MarkdownId>
|
||||
</MarkdownDisplay>
|
||||
</Content>
|
||||
</GridContainer>
|
||||
<Label>
|
||||
<Text>"Your race has "</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>[data.character.race.speed] + [data.character.buff.speed]</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>" speed"</Text>
|
||||
</Label>
|
||||
<MarkdownDisplay>
|
||||
<MarkdownId>[data.character.race.id]</MarkdownId>
|
||||
</MarkdownDisplay>
|
||||
</Content>
|
||||
</Page>
|
||||
<Page Name="profile">
|
||||
<Content>
|
||||
<HorizontalContainer>
|
||||
<Content>
|
||||
<Button>
|
||||
<Text>"Profil"</Text>
|
||||
<OnClick>
|
||||
<Actions>
|
||||
<Action>
|
||||
<Do>"profile"</Do>
|
||||
<Output>[data.character.flow.currentPage]</Output>
|
||||
</Action>
|
||||
<OpenPage>
|
||||
<Page>[data.character.flow.currentPage]</Page>
|
||||
</OpenPage>
|
||||
</Actions>
|
||||
</OnClick>
|
||||
</Button>
|
||||
</Content>
|
||||
</HorizontalContainer>
|
||||
<GridContainer>
|
||||
<Cols>2</Cols>
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"Profile Page!"</Text>
|
||||
</Label>
|
||||
</Content>
|
||||
</GridContainer>
|
||||
</Content>
|
||||
</Page>
|
||||
</Pages>
|
||||
</Tool>
|
||||
|
||||
Reference in New Issue
Block a user