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>
|
||||
</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">
|
||||
<Actions>
|
||||
<Action>
|
||||
@ -202,6 +230,9 @@
|
||||
</Function>
|
||||
<Function Name="charlib_maininv">
|
||||
<Actions>
|
||||
<Action>
|
||||
<Do>charlib_maininv_borders</Do>
|
||||
</Action>
|
||||
<Action>
|
||||
<Do>charlib_maininv_gs([param.0])</Do>
|
||||
<Output>[local.gs]</Output>
|
||||
@ -222,7 +253,7 @@
|
||||
<Output>[aw]</Output>
|
||||
</PropertyOutput>
|
||||
<PropertyOutput>
|
||||
<Property>[param.0]</Property>
|
||||
<Property>[param.0] + 1</Property>
|
||||
<Output>[slotindex]</Output>
|
||||
</PropertyOutput>
|
||||
</PropertyOutputs>
|
||||
|
||||
@ -4633,7 +4633,7 @@
|
||||
<TableLayout>
|
||||
<Columns>
|
||||
<Column>
|
||||
<Width>20</Width>
|
||||
<Width>10</Width>
|
||||
<Percent>true</Percent>
|
||||
</Column>
|
||||
<Column>
|
||||
@ -4641,11 +4641,11 @@
|
||||
<Percent>true</Percent>
|
||||
</Column>
|
||||
<Column>
|
||||
<Width>20</Width>
|
||||
<Width>10</Width>
|
||||
<Percent>true</Percent>
|
||||
</Column>
|
||||
<Column>
|
||||
<Width>40</Width>
|
||||
<Width>60</Width>
|
||||
<Percent>true</Percent>
|
||||
</Column>
|
||||
</Columns>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user