I'm trying to understand the armor system. The wiki's examples are very poorly written, and the examples seem to assume you know how the calculation works.
Especially this line.
If the item to be add is a [LAYER:COVER] item, add the total item size on the body part, if this sum is less than or equal to the item's permit value then evaluate as true.
The quote from above (with very poor sentence structure)
seems like it states:
"if the total size equipped on a body part plus the to-be-equipped item exceeds the to-be-equipped item's permit, then the item cannot be equipped".
I assume this uses a procedural equip method, by equipping UNDER, ARMOR, OVER, COVER in order. If thats the case, I suspect that each body part's size and permit limit is individual, if not I do not see any information about the procedure for equipping items based on body part.
If this is correct, it would mean you can equip 3 Shirts (10 size, 50 permit), and can equip a breastplate (20 size, 50 permit) to end up at exactly 50 total size. But you can still equip a cape (size 10, 300 permit) because the size of 60 is not exceeded by the permit of 300. Although now the breastplate and shirts limit is exceeded, but because they are already equipped it does not matter.
This seems like the most logical explanation.
I would like to clarify this on the wiki post because of the issue I had, but I would like to know if I understand the system correctly. So, do I understand the system correctly?
EDIT: Another example from the wiki which confuses me...
You start off with a steel breastplate. This has a size of 20 and a permit of 50. It is also shaped, so you can't add any other shaped items; no more breastplates and no leather armor.
Now you want to add mail shirts. Each one has a permit of 50 and a size of 15. You can add three of these if you want. It checks the size against each of the armour pieces permit + size (or rather, the permit value ignoring that items size in the calculation), like so;
Against each of the mail shirts, you have 2 x 15 = 30 total size in mail shirts, + 20 from the breastplate, matching the 50 permit.
Against the breastplate you have 3 x 15 = 45 < 50, fine.
So you have a breastplate (20 / 50), and equip two mail shirts (15 / 50) for a total of 50, matching the 50 permit.
But the example above then states you can wear 3 mail shirts for 45 of 50. I assume this will only work if you do not have the breastplate equipped (The example is unclear, again), because then it should read 65 of 50, which is too much.
EDIT #2: According to the wiki, a helm has a size of 30 and a permit of 20. You would not be able to equip a helm if this is correct. What am I missing?!