chobibogamer Posted April 17, 2020 Posted April 17, 2020 Hello, I'd like to ask how to control the ordering of custom object mods. I made a plugin that adds object mods to the brotherhood fatigues, everything works fine except for the ordering of the object mod list. I created tiered ballistic weave object mods for the said armor, the list sorts it alphabetically. By list I mean the list that shows when you mod the armor on the armor workbench. I tried looking on some vanilla armors, specifically the vault suit but I just can't figure out how it overrides the alphabetical sorting. I also looked at the railroad weave but it was sorted alphabetically. To be much more clear, I added these object mods: no weave, light, sturdy, and heavy. It's ordered like this in-game: HeavyLightNo weaveSturdy I want it to be ordered like so: No weaveLightSturdyHeavy I hope I wasn't too confusing. Thanks in advance for any help.
DieFeM Posted April 17, 2020 Posted April 17, 2020 Object mods have a misc item, which is what you get in return when you install another mod, this misc item has a price, the object mods are sorted by the price of this misc item.There might be another way of sorting tho.
chobibogamer Posted April 17, 2020 Author Posted April 17, 2020 Thanks, that was it, at least for what I was looking into. I overlooked it before because I had misc items that were of the same value. Thanks again. :)
Recommended Posts