Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <Patch>
- <Operation Class="PatchOperationFindMod">
- <mods>
- <li>Vanilla Armour Expanded</li>
- </mods>
- <match Class="PatchOperationSequence">
- <!-- <success>Always</success> -->
- <operations>
- <!-- Remove Plasteel Component and Add Metallic to Trouper helmet -->
- <li Class="PatchOperationReplace">
- <xpath>/Defs/ThingDef[defName = "VAE_Headgear_TrooperHelmet"]/description</xpath>
- <value>
- <description>A high-tech and lightweight armored helmet with a protective metallic-weave plate.\n\nArmor like this is often used by imperial conscripts and late-midworld military forces..</description>
- </value>
- </li>
- <li Class="PatchOperationAdd">
- <xpath>/Defs/ThingDef[defName = "VAE_Headgear_TrooperHelmet"]</xpath>
- <value>
- <stuffCategories />
- </value>
- </li>
- <li Class="PatchOperationAdd">
- <xpath>/Defs/ThingDef[defName = "VAE_Headgear_TrooperHelmet"]/stuffCategories</xpath>
- <value>
- <li>Metallic</li>
- </value>
- </li>
- <li Class="PatchOperationAdd">
- <xpath>/Defs/ThingDef[defName = "VAE_Headgear_TrooperHelmet"]</xpath>
- <value>
- <costStuffCount />
- </value>
- </li>
- <li Class="PatchOperationAdd">
- <xpath>/Defs/ThingDef[defName = "VAE_Headgear_TrooperHelmet"]/costStuffCount</xpath>
- <value>
- 25
- </value>
- </li>
- <li Class="PatchOperationRemove">
- <xpath>/Defs/ThingDef[defName = "VAE_Headgear_TrooperHelmet"]/costList/Plasteel</xpath>
- </li>
- <li Class="PatchOperationReplace">
- <xpath>/Defs/ThingDef[defName = "VAE_Headgear_TrooperHelmet"]/statBases/ArmorRating_Sharp</xpath>
- <value>
- <StuffEffectMultiplierArmor>0.85</StuffEffectMultiplierArmor>
- </value>
- </li>
- <li Class="PatchOperationRemove">
- <xpath>/Defs/ThingDef[defName = "VAE_Headgear_TrooperHelmet"]/statBases/ArmorRating_Blunt</xpath>
- </li>
- <li Class="PatchOperationRemove">
- <xpath>/Defs/ThingDef[defName = "VAE_Headgear_TrooperHelmet"]/statBases/ArmorRating_Heat</xpath>
- </li>
- <!-- Remove Plasteel Component and Add Metallic to Trouper armor -->
- <li Class="PatchOperationReplace">
- <xpath>/Defs/ThingDef[defName = "VAE_Apparel_TrooperArmor"]/description</xpath>
- <value>
- <description>A suit of light minimally-powered armor. Lightweight metallic-weave plates block attacks, and neuro-memetic assistors in the lower body redistribute weight carried by its user. It is slimmer than other powered armor and can fit under clothes.\n\nArmor like this is often used by imperial conscripts and late-midworld military forces.</description>
- </value>
- </li>
- <li Class="PatchOperationAdd">
- <xpath>/Defs/ThingDef[defName = "VAE_Apparel_TrooperArmor"]</xpath>
- <value>
- <stuffCategories />
- </value>
- </li>
- <li Class="PatchOperationAdd">
- <xpath>/Defs/ThingDef[defName = "VAE_Apparel_TrooperArmor"]/stuffCategories</xpath>
- <value>
- <li>Metallic</li>
- </value>
- </li>
- <li Class="PatchOperationAdd">
- <xpath>/Defs/ThingDef[defName = "VAE_Apparel_TrooperArmor"]</xpath>
- <value>
- <costStuffCount />
- </value>
- </li>
- <li Class="PatchOperationAdd">
- <xpath>/Defs/ThingDef[defName = "VAE_Apparel_TrooperArmor"]/costStuffCount</xpath>
- <value>
- 65
- </value>
- </li>
- <li Class="PatchOperationRemove">
- <xpath>/Defs/ThingDef[defName = "VAE_Apparel_TrooperArmor"]/costList/Plasteel</xpath>
- </li>
- <li Class="PatchOperationReplace">
- <xpath>/Defs/ThingDef[defName = "VAE_Apparel_TrooperArmor"]/statBases/ArmorRating_Sharp</xpath>
- <value>
- <StuffEffectMultiplierArmor>0.96</StuffEffectMultiplierArmor>
- </value>
- </li>
- <li Class="PatchOperationRemove">
- <xpath>/Defs/ThingDef[defName = "VAE_Apparel_TrooperArmor"]/statBases/ArmorRating_Blunt</xpath>
- </li>
- <li Class="PatchOperationRemove">
- <xpath>/Defs/ThingDef[defName = "VAE_Apparel_TrooperArmor"]/statBases/ArmorRating_Heat</xpath>
- </li>
- </operations>
- </match>
- </Operation>
- </Patch>
Advertisement
Add Comment
Please, Sign In to add comment