isekaiob.HSKGrinder/Patches/PIdlePowerdrawCompForDeepDrill.xml
2023-10-05 12:18:44 +08:00

26 lines
933 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Core SK</li>
</mods>
<match Class = "PatchOperationSequence">
<operations>
<li Class = "PatchOperationAdd">
<xpath>Defs/ThingDef[defName="DeepDrill"]/comps</xpath>
<value>
<li Class="SK.CompProperties_LowIdleDraw">
<compClass>SK.CompPowerLowIdleDraw</compClass>
<idlePowerFactor>0.1</idlePowerFactor>
</li>
</value>
</li>
<li Class = "PatchOperationRemove">
<xpath>Defs/ThingDef[defName="DeepDrill"]/comps/li[@Class="CompProperties_CreatesInfestations"]</xpath>
</li>
</operations>
</match>
</Operation>
</Patch>