Skip to content

Commit

Permalink
StrappedHead -> EyeCover (If textures do not have bodyType textures)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLoneTec committed Aug 29, 2024
1 parent 2cdb2ec commit 0a62f77
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Mods/Core_SK/Defs/ThingDefs_Apparel/Apparel_Accessories.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,15 @@
</equippedStatOffsets>
<generateCommonality>1</generateCommonality>
<apparel>
<countsAsClothingForNudity>false</countsAsClothingForNudity>
<countsAsClothingForNudity>false</countsAsClothingForNudity>
<careIfWornByCorpse>false</careIfWornByCorpse>
<hatRenderedFrontOfFace>true</hatRenderedFrontOfFace>
<bodyPartGroups>
<li>Eyes</li>
</bodyPartGroups>
<wornGraphicPath>Things/Apparel/Apparello/Hats/Goggles/Pilot</wornGraphicPath>
<layers>
<li>StrappedHead</li>
<li>EyeCover</li>
</layers>
<tags>
<li>BrotherhoodLight</li>
Expand Down Expand Up @@ -225,7 +225,7 @@
</bodyPartGroups>
<wornGraphicPath>Things/Apparel/Apparello/Hats/Goggles/Shadess</wornGraphicPath>
<layers>
<li>StrappedHead</li>
<li>EyeCover</li>
</layers>
<tags>
<li>BrotherhoodLight</li>
Expand Down Expand Up @@ -307,7 +307,7 @@
</bodyPartGroups>
<wornGraphicPath>Things/Apparel/Apparello/Hats/Goggles/Brimsk</wornGraphicPath>
<layers>
<li>StrappedHead</li>
<li>EyeCover</li>
</layers>
<tags>
<li>BrotherhoodMedium</li>
Expand Down Expand Up @@ -393,7 +393,7 @@
</bodyPartGroups>
<wornGraphicPath>Things/Apparel/Marines/Accessories/SturmMask/SturmMask</wornGraphicPath>
<layers>
<li>StrappedHead</li>
<li>EyeCover</li>
</layers>
<tags>
<li>AsariPowerArmor</li>
Expand Down Expand Up @@ -472,7 +472,7 @@
</bodyPartGroups>
<wornGraphicPath>Things/Apparel/May/Earmuff</wornGraphicPath>
<layers>
<li>StrappedHead</li>
<li>EyeCover</li>
</layers>
<tags>
<li>Outlander</li>
Expand Down Expand Up @@ -572,7 +572,7 @@

<wornGraphicPath>Things/Apparel/Apparello/Hats/Goggles/Visoor</wornGraphicPath>
<layers>
<li>StrappedHead</li>
<li>EyeCover</li>
</layers>
<tags>
<li>SpacerMilitary</li>
Expand Down
4 changes: 2 additions & 2 deletions Mods/Core_SK/Defs/ThingDefs_Apparel/Apparel_NightVision.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</bodyPartGroups>
<wornGraphicPath>Things/Apparel/SimpleNightVision/SimpleNightVision</wornGraphicPath>
<layers>
<li>StrappedHead</li>
<li>EyeCover</li>
</layers>
<tags>
<li>IndustrialMilitaryAdvanced</li>
Expand Down Expand Up @@ -105,7 +105,7 @@
</bodyPartGroups>
<wornGraphicPath>Things/Apparel/AdvancedNightVision/AdvancedNightVision</wornGraphicPath>
<layers>
<li>StrappedHead</li>
<li>EyeCover</li>
</layers>
<tags>
<li>IndustrialMilitaryAdvanced</li>
Expand Down
13 changes: 13 additions & 0 deletions Mods/Core_SK/Patches/CombatExtended/EyeLayer.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<Patch>

<Operation Class="PatchOperationAddModExtension">
<xpath>Defs/ApparelLayerDef[defName="EyeCover"]</xpath>
<value>
<li Class="CombatExtended.ApparelLayerExtension">
<IsHeadwear>true</IsHeadwear>
</li>
</value>
</Operation>

</Patch>

0 comments on commit 0a62f77

Please sign in to comment.