RimWorld

RimWorld

Research Data
Mod Missing Harmony Dependency
Not a big deal for most players. But noticeable during testing.
< >
Showing 1-5 of 5 comments
Gnefitisis一三 14 Jul, 2023 @ 1:42am 
Also, patch for Research Spot is bugged.
Here is correct fix:

<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "ResearchSpot"]/comps</xpath>
<value>
<li Class="CompProperties_Refuelable">
<fuelLabel>Research Papers</fuelLabel>
<fuelConsumptionRate>1.0</fuelConsumptionRate>
<fuelCapacity>1.0</fuelCapacity>
<fuelFilter>
<thingDefs>
<li>ResearchPapers</li>
</thingDefs>
</fuelFilter>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
</li>
</value>
</li>

YW
kongkim  [developer] 14 Jul, 2023 @ 6:49am 
Originally posted by Gnefitisis一三:
Also, patch for Research Spot is bugged.
Here is correct fix:

<li Class="PatchOperationAdd">
<xpath>/Defs/ThingDef[defName = "ResearchSpot"]/comps</xpath>
<value>
<li Class="CompProperties_Refuelable">
<fuelLabel>Research Papers</fuelLabel>
<fuelConsumptionRate>1.0</fuelConsumptionRate>
<fuelCapacity>1.0</fuelCapacity>
<fuelFilter>
<thingDefs>
<li>ResearchPapers</li>
</thingDefs>
</fuelFilter>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
</li>
</value>
</li>

YW
Have not looks, but from what i remember the Research Spot did not have the /comps
Gnefitisis一三 14 Jul, 2023 @ 1:56pm 
My patch is correct, because the earlier patches add the comps tag. Having this at the end causes an error because it's adding comp again.
kongkim  [developer] 15 Jul, 2023 @ 12:35am 
Originally posted by Gnefitisis一三:
My patch is correct, because the earlier patches add the comps tag. Having this at the end causes an error because it's adding comp again.
Ok, but i get no errors, and you say it add it again? But there are no /comps tag in research spot to start with?
Gnefitisis一三 23 Jul, 2023 @ 10:58pm 
Originally posted by kongkim:
Originally posted by Gnefitisis一三:
My patch is correct, because the earlier patches add the comps tag. Having this at the end causes an error because it's adding comp again.
Ok, but i get no errors, and you say it add it again? But there are no /comps tag in research spot to start with?


Not sure why you got not error, but as I said, earlier you add comps so...

<li Class="PatchOperationConditional">
<xpath>Defs/ThingDef[defName="ResearchSpot"]/comps</xpath>
<nomatch Class="PatchOperationAdd">
<xpath>Defs/ThingDef[defName="ResearchSpot"]</xpath>
<value>
<comps/>
</value>
</nomatch>
</li>
< >
Showing 1-5 of 5 comments
Per page: 1530 50