English
English
Appearance
English
English
Appearance
In the MT Inventory Weight mod, the pocket system adds extra storage functionality to certain armor pieces. Pockets allow players to carry additional weight, enhancing inventory management while balancing the use of armor for both protection and utility.
Armor-Based Storage:
Pocket Assignment:
Default Pocket Calculation:
Math.max(1, 7 - (int)(protectionValue / 1.2) - toughnessValue);
Custom Pocket Configuration:
The weight each pocket can hold is determined by the pocket weight value in the mod’s configuration.
The total weight a player can carry through armor pockets is calculated by multiplying the number of pockets each armor piece has by the pocket weight value. For example:
totalArmorWeight += pockets * POCKET_WEIGHT;
If a player is wearing armor with 3 pockets and the pocket weight is set to 2.0, the total additional weight capacity from that armor would be:
3 pockets * 2.0 = 6.0 additional weight capacity
This gives players an opportunity to balance their protection and storage needs by choosing different armor configurations.