Single Base Select
This commit is contained in:
@@ -6,12 +6,6 @@
|
||||
<String Name="name">
|
||||
<Max>64</Max>
|
||||
</String>
|
||||
<String Name="race"/>
|
||||
<Int Name="startLevel">
|
||||
<Value>5</Value>
|
||||
<Min>0</Min>
|
||||
<Max>8</Max>
|
||||
</Int>
|
||||
<Bool Name="ismage"/>
|
||||
</Variables>
|
||||
</Group>
|
||||
@@ -21,20 +15,5 @@
|
||||
<Int Name="speed"/>
|
||||
</Variables>
|
||||
</Group>
|
||||
<Group Name="control">
|
||||
<Variables>
|
||||
<Int Name="startxp"/>
|
||||
<!--
|
||||
<List Name="traits">
|
||||
<Children>
|
||||
<Int Name="trait">
|
||||
<Min>3</Min>
|
||||
<Max>12</Max>
|
||||
</Int>
|
||||
</Children>
|
||||
</List>
|
||||
-->
|
||||
</Variables>
|
||||
</Group>
|
||||
</Groups>
|
||||
</DataStructure>
|
||||
@@ -8,6 +8,11 @@
|
||||
<DataStructure>characterdata</DataStructure>
|
||||
</DataSlot>
|
||||
</Data>
|
||||
<Bases>
|
||||
<BaseReference Name="races">
|
||||
<Path>wiki/races/Races</Path>
|
||||
</BaseReference>
|
||||
</Bases>
|
||||
<StartPage>"start"</StartPage>
|
||||
<Pages>
|
||||
<Page Name="start">
|
||||
@@ -31,33 +36,7 @@
|
||||
</OpenPage>
|
||||
</Actions>
|
||||
</OnPostCreate>
|
||||
<!--
|
||||
<OnPreLoad/>
|
||||
<OnPostLoad/>
|
||||
<OnPreCreate/>
|
||||
<OnPostCreate/>
|
||||
-->
|
||||
</DataSlotLoader>
|
||||
<Label>
|
||||
<Text>"Character Name: "</Text>
|
||||
</Label>
|
||||
<Label>
|
||||
<Text>[data.character.definition.name]</Text>
|
||||
</Label>
|
||||
<Button>
|
||||
<Text>"Press me"</Text>
|
||||
<OnClick>
|
||||
<Actions>
|
||||
<Action>
|
||||
<Do>"Somename"</Do>
|
||||
<Output>[data.character.definition.name]</Output>
|
||||
</Action>
|
||||
<OpenPage>
|
||||
<Page>"newchar"</Page>
|
||||
</OpenPage>
|
||||
</Actions>
|
||||
</OnClick>
|
||||
</Button>
|
||||
</Content>
|
||||
<!--
|
||||
<OnOpen/>
|
||||
@@ -66,9 +45,11 @@
|
||||
</Page>
|
||||
<Page Name="newchar">
|
||||
<Content>
|
||||
<Label>
|
||||
<Text>"This is the new Character Page!"</Text>
|
||||
</Label>
|
||||
<BaseSingleSelect>
|
||||
<Base>"races.Playable"</Base>
|
||||
<Output>[data.character.race.name]</Output>
|
||||
<Display>"file.name"</Display>
|
||||
</BaseSingleSelect>
|
||||
</Content>
|
||||
</Page>
|
||||
</Pages>
|
||||
|
||||
Reference in New Issue
Block a user