Skip to content

Commit

Permalink
v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
XeoNovaDan committed Jan 14, 2018
1 parent d6bd5bd commit eb66135
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 12 deletions.
12 changes: 6 additions & 6 deletions About/About.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<ModMetaData>
<name>Armor Stuff Expanded</name>
<author>XeoNovaDan</author>
<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>
<name>Armor Stuff Expanded</name>
<author>XeoNovaDan</author>
<url>https://ludeon.com/forums/index.php?topic=35601.0</url>
<targetVersion>0.18.0</targetVersion>
<description>Current Version: v1.1 (14th January 2018)\n\nMakes all vanilla metals have varying protection modifiers, and armor vests can be made out of any metal; not just steel.</description>
</ModMetaData>
Binary file modified About/Preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified About/Preview.xcf
Binary file not shown.
14 changes: 12 additions & 2 deletions Patches/Core/ThingDefs_Items/Items_Resource_Stuff.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<Patch>

<!-- wood
<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>-->

<!-- silver -->

<Operation Class="PatchOperationAdd">
Expand Down Expand Up @@ -36,8 +46,8 @@
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName="Plasteel"]/stuffProps/statFactors</xpath>
<value>
<ArmorRating_Blunt>1.3</ArmorRating_Blunt>
<ArmorRating_Sharp>1.3</ArmorRating_Sharp>
<ArmorRating_Blunt>1.2</ArmorRating_Blunt>
<ArmorRating_Sharp>1.2</ArmorRating_Sharp>
</value>
</Operation>

Expand Down
11 changes: 7 additions & 4 deletions Patches/Core/ThingDefs_Misc/Apparel_Various.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Patch>

<!-- armor vest, recipe -->
<!-- Armor Vest -->

<Operation Class="PatchOperationRemove">
<xpath>/Defs/ThingDef[defName="Apparel_VestPlate"]/costList/Steel</xpath>
Expand All @@ -16,16 +16,19 @@
</value>
</Operation>

<!-- armor vest, protection -->

<Operation Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName="Apparel_VestPlate"]/statBases/ArmorRating_Sharp</xpath>
<value>
<ArmorRating_Sharp>0.5</ArmorRating_Sharp>
</value>
</Operation>

<!-- armor vest, color -->
<Operation Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName="Apparel_VestPlate"]/statBases/MaxHitPoints</xpath>
<value>
<MaxHitPoints>120</MaxHitPoints>
</value>
</Operation>

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

0 comments on commit eb66135

Please sign in to comment.