I guess I should have specified a bit better, I meant free tonnage on mechs/vehicles for ammo.
Well, I did suspect you were talking about free ammo tonnage, but I thought you used a script to read the assets' loadouts. And since free tons are listed with the rest of the equipment I found it strange you wouldn't have that information. Asset tonnage, however, is more or less hidden in the middle of the XML, and only available for mechs.
I took some time to post because I had to fix a nasty potential bug in my script, I also took that opportunity to add a dumpMwllPrices-like output you should be able to use directly in a spreadsheet, until that command is fixed.
The attached zip contains:stdout.txt
- my script's output.
It lists weapons, equipment (incl. free tons), total armor and price, for each asset variants.
The only exception is the APC, the XML is different from other assets and for a single, simple variant... it's easier to just fix the output.stderr.txt
- error output (for completeness' sake, I guess)prices-051.txt
- that's the 'prices.txt' generated by the game for version 0.5.1, as a reference.prices_out_sorted.txt
- my script's 'prices.txt' for 0.5.4.
It doesn't include the APC either, you'll have to add the line from prices-051.txt.
The script was accurate for 0.5.1, but I can't vouch for 0.5.4 as I don't have a way to check the prices automatically any more.
If you want to use my output, please double check the prices in-game. If the prices are good, so will be the load-outs. So you can use prices_out_sorted.txt to check, but don't bother with ammo and BA weaponry: I'm pulling those numbers straight from MechLists.lua.
Please tell me if you find any errors!