View Full Version : I need help with a small amount of code
SoloJoke
July 27th, 2020, 17:57
So I'm not sure if I should be asking here, in Armoury or in 5E, but I need some very specific help. I want to change the armour tables to sort by name rather than cost. I'm hoping this wont require a great deal of effort and that someone will hopefully just be able to point me to the line of code that determines how the armour tables are sorted.
bmos
July 27th, 2020, 18:56
So I'm not sure if I should be asking here, in Armoury or in 5E, but I need some very specific help. I want to change the armour tables to sort by name rather than cost. I'm hoping this wont require a great deal of effort and that someone will hopefully just be able to point me to the line of code that determines how the armour tables are sorted.
Lists can be sorted by using subtag <sortby> like this example from the list of class features:
<list_column name="features">
<datasource>.classfeatures</datasource>
<sortby><control>level</control><control>name</control></sortby>
<class>ref_class_feature</class>
</list_column>
SoloJoke
July 27th, 2020, 19:18
Thanks a lot, you wouldnt also happen to know where 5e keeps its armour table would you?
damned
July 28th, 2020, 08:47
Its in the encrypted mod file
You could have a look in the SRD and see what that reveals
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.