NonWeaponUpgradeSlots

Tracking Issue: #93

Mods can add upgrade slots to items that are not based on X2WeaponTemplate by adding entries to NonWeaponUpgradeSlots config array in XComGame.ini, for example:

[XComGame.CHHelpers]
+NonWeaponUpgradeSlots = (TemplateName = "KevlarArmor", NumUpgradeSlots = 1)
+NonWeaponUpgradeSlots = (TemplateName = "PlatedArmor", NumUpgradeSlots = 2)
+NonWeaponUpgradeSlots = (TemplateName = "PoweredArmor", NumUpgradeSlots = 3)

Note that if several mods add config entries for the same item template, only the first one one will take effect. Which one counts as first will depend on the config load order.

Source code references