Hi guys, Hope you are fine.
This is an example of what i want to do but idk why it does not work.
<Patch>
<Operation Class="PatchOperationAdd">
<xpath>/ThingDefs/ThingDef[defName = "SleepingSpot"]</xpath>
<value>
<researchPrerequisites><li>HospitalBed</li></researchPrerequisites>
</value>
</Operation>
</Patch>
I want to add research prerequisites to some things but i cant make it work.
This is an example of what i want to do but idk why it does not work.
<Patch>
<Operation Class="PatchOperationAdd">
<xpath>/ThingDefs/ThingDef[defName = "SleepingSpot"]</xpath>
<value>
<researchPrerequisites><li>HospitalBed</li></researchPrerequisites>
</value>
</Operation>
</Patch>
I want to add research prerequisites to some things but i cant make it work.