Fabric Stacklimit,more patches.

This commit is contained in:
MADxingjin 2025-03-26 22:38:20 +08:00
parent ec47c0300c
commit b0d57e4e88
7 changed files with 105 additions and 54 deletions

View File

@ -7,7 +7,7 @@
<jobString>Refining propellant from cotton.</jobString>
<effectWorking>Cremate</effectWorking>
<soundWorking>Recipe_Cremate</soundWorking>
<workAmount>18750</workAmount>
<workAmount>12750</workAmount>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<researchPrerequisite>CE_Gunpowder</researchPrerequisite>
<ingredients>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<Patch>
<Operation Class="PatchOperationAdd">
<xpath>
Defs/RecipeDef[defName="AIE-Make_PropellantFromCotton"]/ingredients/li/filter/thingDefs</xpath>
<value>
<li MayRequire="dismarzero.VGP.VGPGardenFabrics">RawCotton</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>
Defs/RecipeDef[defName="AIE-Make_PropellantFromCotton"]/fixedIngredientFilter/thingDefs</xpath>
<value>
<li MayRequire="dismarzero.VGP.VGPGardenFabrics">RawCotton</li>
</value>
</Operation>
</Patch>

View File

@ -62,7 +62,7 @@
<li Class="StockGenerator_Tag">
<tradeTag>CE_Turret</tradeTag>
<thingDefCountRange>
<min>-2</min>
<min>1</min>
<max>4</max>
</thingDefCountRange>
<countRange>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<Patch>
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Polyester"]/stackLimit</xpath>
<value>
<stackLimit>300</stackLimit>
</value>
</Operation>
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Plasfiber"]/stackLimit</xpath>
<value>
<stackLimit>150</stackLimit>
</value>
</Operation>
</Patch>

View File

@ -16,7 +16,8 @@
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="FD_HeavyFD" or defName="FD_CompFD" or defName="FD_MechDress"]/apparel/layers</xpath>
<xpath>Defs/ThingDef[defName="FD_HeavyFD" or defName="FD_CompFD" or
defName="FD_MechDress"]/apparel/layers</xpath>
<value>
<li>Cape</li>
</value>

View File

@ -5,6 +5,7 @@
<li>Save Our Ship 2</li>
</mods>
<match Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Apparel_SpaceSuitBody"]/apparel/layers</xpath>
<value>
@ -20,6 +21,7 @@
<li>Cape</li>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<Patch>
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="Synthread" or defName="Hyperweave" or
defName="DevilstrandCloth"]/stackLimit</xpath>
<value>
<stackLimit>150</stackLimit>
</value>
</Operation>
<Operation Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="WoolBase" or defName="Cloth"]/stackLimit</xpath>
<value>
<stackLimit>300</stackLimit>
</value>
</Operation>
</Patch>