Update character PDF XML: adjust column widths and add border calculations to main inventory function
This commit is contained in:
parent
379bd71960
commit
63929d83f6
@ -137,6 +137,34 @@
|
|||||||
<Return>[data.character.fight.swords] / 2 + charlib_fightagilityadd()</Return>
|
<Return>[data.character.fight.swords] / 2 + charlib_fightagilityadd()</Return>
|
||||||
</Function>
|
</Function>
|
||||||
|
|
||||||
|
<Function Name="charlib_maininv_borders">
|
||||||
|
<Actions>
|
||||||
|
<Action>
|
||||||
|
<Do>[data.character.attributes.strength] * 0.15 + 4</Do>
|
||||||
|
<Output>[data.character.print.borderp2]</Output>
|
||||||
|
</Action>
|
||||||
|
<Action>
|
||||||
|
<Do>[data.character.attributes.strength] * 0.25 + 5</Do>
|
||||||
|
<Output>[data.character.print.borderp1]</Output>
|
||||||
|
</Action>
|
||||||
|
<Action>
|
||||||
|
<Do>[data.character.attributes.strength] * 0.4 + 6</Do>
|
||||||
|
<Output>[data.character.print.borderp0]</Output>
|
||||||
|
</Action>
|
||||||
|
<Action>
|
||||||
|
<Do>[data.character.attributes.strength] * 0.45 + 7</Do>
|
||||||
|
<Output>[data.character.print.borderm1]</Output>
|
||||||
|
</Action>
|
||||||
|
<Action>
|
||||||
|
<Do>[data.character.attributes.strength] * 0.5 + 8</Do>
|
||||||
|
<Output>[data.character.print.borderm2]</Output>
|
||||||
|
</Action>
|
||||||
|
<Action>
|
||||||
|
<Do>[data.character.attributes.strength] * 0.55 + 9</Do>
|
||||||
|
<Output>[data.character.print.borderm3]</Output>
|
||||||
|
</Action>
|
||||||
|
</Actions>
|
||||||
|
</Function>
|
||||||
<Function Name="charlib_maininv_aw">
|
<Function Name="charlib_maininv_aw">
|
||||||
<Actions>
|
<Actions>
|
||||||
<Action>
|
<Action>
|
||||||
@ -202,6 +230,9 @@
|
|||||||
</Function>
|
</Function>
|
||||||
<Function Name="charlib_maininv">
|
<Function Name="charlib_maininv">
|
||||||
<Actions>
|
<Actions>
|
||||||
|
<Action>
|
||||||
|
<Do>charlib_maininv_borders</Do>
|
||||||
|
</Action>
|
||||||
<Action>
|
<Action>
|
||||||
<Do>charlib_maininv_gs([param.0])</Do>
|
<Do>charlib_maininv_gs([param.0])</Do>
|
||||||
<Output>[local.gs]</Output>
|
<Output>[local.gs]</Output>
|
||||||
@ -222,7 +253,7 @@
|
|||||||
<Output>[aw]</Output>
|
<Output>[aw]</Output>
|
||||||
</PropertyOutput>
|
</PropertyOutput>
|
||||||
<PropertyOutput>
|
<PropertyOutput>
|
||||||
<Property>[param.0]</Property>
|
<Property>[param.0] + 1</Property>
|
||||||
<Output>[slotindex]</Output>
|
<Output>[slotindex]</Output>
|
||||||
</PropertyOutput>
|
</PropertyOutput>
|
||||||
</PropertyOutputs>
|
</PropertyOutputs>
|
||||||
|
|||||||
@ -4633,7 +4633,7 @@
|
|||||||
<TableLayout>
|
<TableLayout>
|
||||||
<Columns>
|
<Columns>
|
||||||
<Column>
|
<Column>
|
||||||
<Width>20</Width>
|
<Width>10</Width>
|
||||||
<Percent>true</Percent>
|
<Percent>true</Percent>
|
||||||
</Column>
|
</Column>
|
||||||
<Column>
|
<Column>
|
||||||
@ -4641,11 +4641,11 @@
|
|||||||
<Percent>true</Percent>
|
<Percent>true</Percent>
|
||||||
</Column>
|
</Column>
|
||||||
<Column>
|
<Column>
|
||||||
<Width>20</Width>
|
<Width>10</Width>
|
||||||
<Percent>true</Percent>
|
<Percent>true</Percent>
|
||||||
</Column>
|
</Column>
|
||||||
<Column>
|
<Column>
|
||||||
<Width>40</Width>
|
<Width>60</Width>
|
||||||
<Percent>true</Percent>
|
<Percent>true</Percent>
|
||||||
</Column>
|
</Column>
|
||||||
</Columns>
|
</Columns>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user