메드포드 버그 패치

This commit is contained in:
Cocopomel 2021-11-17 21:25:30 +09:00
parent c8c9004743
commit 9eb29a99f6

19
1.3/Patches/Med_pod.xml Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>MedPod</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationAdd">
<xpath>Defs/ThingDef[@Name="MedPodBedBase"]/comps/li[@Class="MedPod.CompProperties_TreatmentRestrictions"]/neverTreatableHediffs</xpath>
<value>
<li>PN_AutomatonFuel_Addiction</li>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>