This commit is contained in:
Cocopomel 2021-09-17 16:04:06 +09:00
parent f5ec9adbc4
commit 35063f0ff1
3 changed files with 32 additions and 41 deletions

View File

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationFindMod">
<mods>
<li>Paniel the Secret of PnL</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "PN_Brain"]/thingCategories</xpath>
<value>
<li>PN_BrainCoreCatagory</li>
</value>
</li>
<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "PN_BrainCasing"]</xpath>
<value>
<recipeMaker>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<unfinishedThingDef>UnfinishedHealthItemBionic</unfinishedThingDef>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<researchPrerequisite>PNRP_BrainCasing</researchPrerequisite>
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
</recipeMaker>
</value>
</li>
</operations>
</match>
</Operation>
</Patch>

View File

@ -5,6 +5,7 @@
<li>Content</li> <li>Content</li>
<li IfModActive="Ludeon.Rimworld.Royalty">Royalty</li> <li IfModActive="Ludeon.Rimworld.Royalty">Royalty</li>
<li IfModActive="Ludeon.RimWorld.Ideology">Ideology</li> <li IfModActive="Ludeon.RimWorld.Ideology">Ideology</li>
<!--<li IfModActive="AhnDemi.PanieltheSecretofPnL">-->
<li>SoPnL</li> <li>SoPnL</li>
</v1.3> </v1.3>
</loadFolders> </loadFolders>

View File

@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "PN_Brain"]/thingCategories</xpath>
<value>
<li>PN_BrainCoreCatagory</li>
</value>
</Operation>
<Operation Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "PN_BrainCasing"]</xpath>
<value>
<recipeMaker>
<workSpeedStat>GeneralLaborSpeed</workSpeedStat>
<workSkill>Crafting</workSkill>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<unfinishedThingDef>UnfinishedHealthItemBionic</unfinishedThingDef>
<skillRequirements>
<Crafting>8</Crafting>
</skillRequirements>
<researchPrerequisite>PNRP_BrainCasing</researchPrerequisite>
<recipeUsers>
<li>PN_AutomatonBench</li>
</recipeUsers>
</recipeMaker>
</value>
</Operation>
</Patch>