Talents Begin

This commit is contained in:
Florian 2026-04-27 12:13:41 +02:00
parent 25709d397c
commit 0c5055393f
3 changed files with 215 additions and 0 deletions

View File

@ -80,5 +80,76 @@
</Int> </Int>
</Variables> </Variables>
</Group> </Group>
<Group Name="talents">
<Variables>
<!-- Body Talents-->
<Int Name="awareness"/>
<Int Name="jugglery"/>
<Int Name="climbing"/>
<Int Name="bodycontrol"/>
<Int Name="actofstrength"/>
<Int Name="riding"/>
<Int Name="swimming"/>
<Int Name="selfcontrol"/>
<Int Name="singing"/>
<Int Name="senses"/>
<Int Name="dancing"/>
<Int Name="pickpocketing"/>
<Int Name="stealth"/>
<Int Name="carousing"/>
<!-- Social Talents -->
<Int Name="convincing"/>
<Int Name="seduction"/>
<Int Name="intimidation"/>
<Int Name="etiquette"/>
<Int Name="streetwise"/>
<Int Name="empathy"/>
<Int Name="persuasion"/>
<Int Name="disguise"/>
<Int Name="willpower"/>
<!-- Nature Talents -->
<Int Name="tracking"/>
<Int Name="ropes"/>
<Int Name="fishing"/>
<Int Name="orientation"/>
<Int Name="plants"/>
<Int Name="animals"/>
<Int Name="survival"/>
<!-- Knowledge Talents -->
<Int Name="gambling"/>
<Int Name="geography"/>
<Int Name="history"/>
<Int Name="society"/>
<Int Name="religions"/>
<Int Name="warfare"/>
<Int Name="magiclore"/>
<Int Name="mechanics"/>
<Int Name="math"/>
<Int Name="law"/>
<Int Name="legends"/>
<!-- Crafting -->
<Int Name="alchemy"/>
<Int Name="sailing"/>
<Int Name="vehicles"/>
<Int Name="trading"/>
<Int Name="treatpoison"/>
<Int Name="treatdisease"/>
<Int Name="treatsoul"/>
<Int Name="treatwounds"/>
<Int Name="woodworking"/>
<Int Name="cooking"/>
<Int Name="leatherworking"/>
<Int Name="drawing"/>
<Int Name="metalworking"/>
<Int Name="music"/>
<Int Name="lockpicking"/>
<Int Name="stoneworking"/>
<Int Name="clothworking"/>
</Variables>
</Group>
</Groups> </Groups>
</DataStructure> </DataStructure>

View File

@ -36,5 +36,9 @@
</Actions> </Actions>
<Return>[local.cost]</Return> <Return>[local.cost]</Return>
</Function>--> </Function>-->
<Function Name="charlib_midval">
<Return>([param.0] + [param.1] + [param.2]) / 3</Return>
</Function>
</Functions> </Functions>
</Library> </Library>

View File

@ -176,6 +176,18 @@
</OpenPage> </OpenPage>
</OnClick> </OnClick>
</Button> </Button>
<Button>
<Text>"Talente"</Text>
<OnClick>
<Action>
<Do>"talents"</Do>
<Output>[data.character.flow.currentPage]</Output>
</Action>
<OpenPage>
<Page>[data.character.flow.currentPage]</Page>
</OpenPage>
</OnClick>
</Button>
</Content> </Content>
</HorizontalContainer> </HorizontalContainer>
<!-- End Header Bar --> <!-- End Header Bar -->
@ -309,6 +321,18 @@
</OpenPage> </OpenPage>
</OnClick> </OnClick>
</Button> </Button>
<Button>
<Text>"Talente"</Text>
<OnClick>
<Action>
<Do>"talents"</Do>
<Output>[data.character.flow.currentPage]</Output>
</Action>
<OpenPage>
<Page>[data.character.flow.currentPage]</Page>
</OpenPage>
</OnClick>
</Button>
</Content> </Content>
</HorizontalContainer> </HorizontalContainer>
<!-- End Header Bar --> <!-- End Header Bar -->
@ -583,5 +607,121 @@
</GridContainer> </GridContainer>
</Content> </Content>
</Page> </Page>
<Page Name="talents">
<Content>
<!-- Header Bar -->
<Bar>
<Displays>
<BarDisplay>
<Name>"Name"</Name>
<Value>[data.character.definition.name]</Value>
</BarDisplay>
<BarDisplay>
<Name>"Rasse"</Name>
<Value>[data.character.race.name]</Value>
</BarDisplay>
<BarDisplay>
<Name>"XP"</Name>
<Value>[data.character.control.xp]</Value>
</BarDisplay>
<BarDisplay>
<Name>"Kreuzer"</Name>
<Value>[data.character.control.coins]</Value>
</BarDisplay>
</Displays>
</Bar>
<HorizontalContainer>
<Content>
<Button>
<Text>"Profil"</Text>
<OnClick>
<Action>
<Do>"profile"</Do>
<Output>[data.character.flow.currentPage]</Output>
</Action>
<OpenPage>
<Page>[data.character.flow.currentPage]</Page>
</OpenPage>
</OnClick>
</Button>
<Button>
<Text>"Grundattribute"</Text>
<OnClick>
<Action>
<Do>"baseattributes"</Do>
<Output>[data.character.flow.currentPage]</Output>
</Action>
<OpenPage>
<Page>[data.character.flow.currentPage]</Page>
</OpenPage>
</OnClick>
</Button>
<Button>
<Text>"Talente"</Text>
<OnClick>
<Action>
<Do>"talents"</Do>
<Output>[data.character.flow.currentPage]</Output>
</Action>
<OpenPage>
<Page>[data.character.flow.currentPage]</Page>
</OpenPage>
</OnClick>
</Button>
</Content>
</HorizontalContainer>
<!-- End Header Bar -->
<Header>
<Level>2</Level>
<Text>"Körpertalente"</Text>
</Header>
<GridContainer>
<Cols>4</Cols>
<Content>
<!-- Aufmerksamkeit/Awareness -->
<Label>
<Text>"Aufmerksamkeit"</Text>
</Label>
<HorizontalContainer>
<Content>
<Label><Text>MU</Text></Label>
<Label><Text>GE</Text></Label>
<Label><Text>KK</Text></Label>
</Content>
</HorizontalContainer>
<ValueAndBorders>
<Value>[data.character.talents.awareness]</Value>
<LowerBorder>0</LowerBorder>
<UpperBorder>charlib_midval([data.character.attributes.courage], [data.character.attributes.agility], [data.character.attributes.strength])</UpperBorder>
</ValueAndBorders>
<ValueButtons>
<Budget>[data.character.control.xp]</Budget>
<Cost>charlib_cost_attr([param.0])</Cost>
<Output>[data.character.talents.awareness]</Output>
<Min>0</Min>
<Max>charlib_midval([data.character.attributes.courage], [data.character.attributes.agility], [data.character.attributes.strength])</Max>
<Buttons>
<ValueButton>
<Value>-3</Value>
</ValueButton>
<ValueButton>
<Value>-1</Value>
</ValueButton>
<ValueButton>
<Value>+1</Value>
</ValueButton>
<ValueButton>
<Value>+3</Value>
</ValueButton>
</Buttons>
</ValueButtons>
</Content>
</GridContainer>
</Content>
</Page><!-- End Talent Page-->
</Pages> </Pages>
</Tool> </Tool>