Skip to content

Commit

Permalink
B18
Browse files Browse the repository at this point in the history
  • Loading branch information
XeoNovaDan committed Nov 18, 2017
1 parent 5638331 commit d6bd5bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
4 changes: 2 additions & 2 deletions About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ModMetaData>
<name>Armor Stuff Expanded</name>
<author>XeoNovaDan</author>
<url></url>
<targetVersion>0.17.1557</targetVersion>
<url>https://ludeon.com/forums/index.php?topic=35601</url>
<targetVersion>0.18.0</targetVersion>
<description>Current Version: v1.0 (12/09/2017)\n\nMakes all vanilla metals have varying protection modifiers, and armor vests can be made out of any metal; not just steel.</description>
</ModMetaData>
10 changes: 0 additions & 10 deletions Patches/Core/ThingDefs_Items/Items_Resource_Stuff.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,6 @@
</value>
</Operation>

<!-- wood (not an armor stuff, but here for the sake of it) -->

<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="WoodLog"]/stuffProps/statFactors</xpath>
<value>
<ArmorRating_Blunt>0.5</ArmorRating_Blunt>
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
</value>
</Operation>

<!-- uranium -->

<Operation Class="PatchOperationAdd">
Expand Down
8 changes: 4 additions & 4 deletions Patches/Core/ThingDefs_Misc/Apparel_Various.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<!-- armor vest, recipe -->

<Operation Class="PatchOperationRemove">
<xpath>/ThingDefs/ThingDef[defName="Apparel_VestPlate"]/costList/Steel</xpath>
<xpath>/Defs/ThingDef[defName="Apparel_VestPlate"]/costList/Steel</xpath>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/ThingDefs/ThingDef[defName="Apparel_VestPlate"]</xpath>
<xpath>/Defs/ThingDef[defName="Apparel_VestPlate"]</xpath>
<value>
<costStuffCount>120</costStuffCount>
<stuffCategories>
Expand All @@ -19,7 +19,7 @@
<!-- armor vest, protection -->

<Operation Class="PatchOperationReplace">
<xpath>/ThingDefs/ThingDef[defName="Apparel_VestPlate"]/statBases/ArmorRating_Sharp</xpath>
<xpath>/Defs/ThingDef[defName="Apparel_VestPlate"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
</value>
Expand All @@ -28,7 +28,7 @@
<!-- armor vest, color -->

<Operation Class="PatchOperationRemove">
<xpath>/ThingDefs/ThingDef[defName="Apparel_VestPlate"]/colorGenerator</xpath>
<xpath>/Defs/ThingDef[defName="Apparel_VestPlate"]/colorGenerator</xpath>
</Operation>

</Patch>

0 comments on commit d6bd5bd

Please sign in to comment.