Quote from: Anonemous2 on August 02, 2016, 07:09:38 PM
I've updated everything, but I ran into a problem that I can't seem to figure out; I still get error pop ups, but everything seems to work fine. In the mean time I'll include a 'beta' version here, and if anyone know how to fix the errors please share.
The errors that you get are the "Could not resolve cross-reference: No RimWorld.StatDef names comps found to give to RimWorld.StatModifier" correct?
I'm not a modder, but I took a look and managed to stop these errors on my game.
in the file "Buildings_MoreFurnitureMisc.xml" for the SimpleResearchBench you have
Code Select
<statBases>
<comps>
<li Class="CompProperties_AffectedByFacilities">
<linkableFacilities>
<li>FileCabinet</li>
</linkableFacilities>
</li>
</comps>
<MaxHitPoints>250</MaxHitPoints>
<WorkToMake>2800</WorkToMake>
<Flammability>1.0</Flammability>
<ResearchSpeedFactor>0.6</ResearchSpeedFactor>
</statBases>
The "comps" tags are inside the "statBases" tags when it should be following the closing "statBases" tags yes?
like this
Code Select
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<WorkToMake>2800</WorkToMake>
<Flammability>1.0</Flammability>
<ResearchSpeedFactor>0.6</ResearchSpeedFactor>
</statBases>
<comps>
<li Class="CompProperties_AffectedByFacilities">
<linkableFacilities>
<li>FileCabinet</li>
</linkableFacilities>
</li>
</comps>
Just moving that code around stopped the errors on game load and stopped breaking a few other mods i had, while keeping the new furniture items in game.
Hope it helps, if I'm wrong sorry for wasting your time.