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> <jobString>Refining propellant from cotton.</jobString>
<effectWorking>Cremate</effectWorking> <effectWorking>Cremate</effectWorking>
<soundWorking>Recipe_Cremate</soundWorking> <soundWorking>Recipe_Cremate</soundWorking>
<workAmount>18750</workAmount> <workAmount>12750</workAmount>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat> <workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<researchPrerequisite>CE_Gunpowder</researchPrerequisite> <researchPrerequisite>CE_Gunpowder</researchPrerequisite>
<ingredients> <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"> <li Class="StockGenerator_Tag">
<tradeTag>CE_Turret</tradeTag> <tradeTag>CE_Turret</tradeTag>
<thingDefCountRange> <thingDefCountRange>
<min>-2</min> <min>1</min>
<max>4</max> <max>4</max>
</thingDefCountRange> </thingDefCountRange>
<countRange> <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

@ -1,33 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Patch> <Patch>
<Operation Class="PatchOperationFindMod"> <Operation Class="PatchOperationFindMod">
<mods> <mods>
<li>FlakDress</li> <li>FlakDress</li>
</mods> </mods>
<match Class="PatchOperationSequence"> <match Class="PatchOperationSequence">
<operations> <operations>
<li Class="PatchOperationReplace"> <li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="TW_FlakDress"]/apparel/layers</xpath> <xpath>Defs/ThingDef[defName="TW_FlakDress"]/apparel/layers</xpath>
<value> <value>
<layers> <layers>
<li>Shell</li> <li>Shell</li>
<li>Cape</li> <li>Cape</li>
</layers> </layers>
</value> </value>
</li> </li>
<li Class="PatchOperationAdd"> <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
<value> defName="FD_MechDress"]/apparel/layers</xpath>
<li>Cape</li> <value>
</value> <li>Cape</li>
</li> </value>
<li Class="PatchOperationAdd"> </li>
<xpath>Defs/ThingDef[defName="TW_OnionArmor_Surcoat"]/apparel/layers</xpath> <li Class="PatchOperationAdd">
<value> <xpath>Defs/ThingDef[defName="TW_OnionArmor_Surcoat"]/apparel/layers</xpath>
<li>Cape</li> <value>
</value> <li>Cape</li>
</li> </value>
</operations> </li>
</match> </operations>
</Operation> </match>
</Operation>
</Patch> </Patch>

View File

@ -1,25 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Patch> <Patch>
<Operation Class="PatchOperationFindMod"> <Operation Class="PatchOperationFindMod">
<mods> <mods>
<li>Save Our Ship 2</li> <li>Save Our Ship 2</li>
</mods> </mods>
<match Class="PatchOperationSequence"> <match Class="PatchOperationSequence">
<li Class="PatchOperationReplace"> <operations>
<xpath>Defs/ThingDef[defName="Apparel_SpaceSuitBody"]/apparel/layers</xpath> <li Class="PatchOperationReplace">
<value> <xpath>Defs/ThingDef[defName="Apparel_SpaceSuitBody"]/apparel/layers</xpath>
<layers> <value>
<li>Shell</li> <layers>
<li>Cape</li> <li>Shell</li>
</layers> <li>Cape</li>
</value> </layers>
</li> </value>
<li Class="PatchOperationAdd"> </li>
<xpath>Defs/ThingDef[defName="Apparel_SpaceSuitBodyHeavy"]/apparel/layers</xpath> <li Class="PatchOperationAdd">
<value> <xpath>Defs/ThingDef[defName="Apparel_SpaceSuitBodyHeavy"]/apparel/layers</xpath>
<li>Cape</li> <value>
</value> <li>Cape</li>
</li> </value>
</match> </li>
</Operation> </operations>
</match>
</Operation>
</Patch> </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>