Skip to main content

8. Give it armor stats

Wear the tee from the last step and open its info panel. Light Armor Rating 0. Max Durability 0. It's a look, not armor.

That surprised me, since it extends armorPrimitiveMaster. Here's the thing: an item's stats come only from its effect_group, and Extends copies properties only. It never copies effect groups. So the master gives you the slot, the sounds, the tags, and zero protection.

(Which is also how the DLC's casual outfit works: no effect_group, no stats, pure look.)

Copy the vanilla numbers​

The tee is cloth, so it gets the same stats as the vanilla Primitive Outfit. Put this inside the <item>:

<effect_group name="KitsuneTee">
<passive_effect name="ModSlots" operation="base_set" value="1,1,1,1,1,2" tier="1,2,3,4,5,6"/>
<passive_effect name="ModPowerBonus" operation="base_add" value="300" tags="EconomicValue"/>
<passive_effect name="PhysicalDamageResist" operation="base_add" value="8,12.3" tier="1,6"/>
<passive_effect name="PhysicalDamageResist" operation="base_add" value="-.2,.2"/>
<passive_effect name="ElementalDamageResist" operation="base_add" value="8,12.3" tier="1,6" tags="heat,electrical"/>
<passive_effect name="ElementalDamageResist" operation="base_add" value="-.2,.2"/>
<passive_effect name="DegradationMax" operation="base_set" value="250,500" tier="1,6"/>
<passive_effect name="DegradationPerUse" operation="base_set" value="1" tags="lightArmorDeg"/>
</effect_group>

How to read it:

  • value="8,12.3" tier="1,6" is a range across quality: 8 at quality 1, 12.3 at quality 6, in between for the rest.
  • The second resist line with "-.2,.2" and no tier adds a little random spread per item.
  • ModSlots lists one value per tier: one slot, two at quality 6.
  • DegradationMax is the durability, 250 to 500.
  • lightArmorDeg in the item's tags is what DegradationPerUse hooks onto.

Repeat it on the jeans​

kitsuneTeeJeans extends kitsuneTee. Same rule: it gets the properties, not the effect group. So the jeans item carries its own copy of the whole block, with its own name.

In game, a quality 3 tee and jeans showed 9.8 armor and 350 durability.

:::caution Old copies stay at quality 0 Items you gave yourself before adding stats keep quality 0: about 0.1 armor and 0 durability, forever. Throw them out and give fresh ones with a quality:

giveself kitsuneTeeJeans 3 1 true

:::

Want a look with no stats?​

Leave the effect_group out. That's a valid choice, and a lot of cosmetic packs do exactly that. But if you want people to wear the tee and their real armor, read on. That's what the wardrobe is for.