RimWorld

RimWorld

Alpha Biomes: Materials Compatibility Patch
PJRamaglia 12 Sep, 2021 @ 8:07pm
XML error: Duplicate XML node "stuffCategories" and "costStuffCount"
I believe I discovered two errors related to this mod. By all means please let me know if I am wrong though.

Here is my Hugslib log with this mod inactive...
https://gist.github.com/d77eb0f9859d3c006a3fa9726e81ff6d

...and here is my Hugslib log with this mod active this time: https://gist.github.com/6e00a20cf7f2fe334f79eb2b5cf8facf



Both errors can be found in the latter log starting at line 1963 and continuing to line 1972:
XML error: Duplicate XML node name stuffCategories in this XML block: <ThingDef ParentName="BuildingBase"><defName>PassiveCooler</defName><label>passive cooler</label><description>A traditional unpowered cooler that works by water evaporation. Must be regularly replenished with wood. Not efficient enough to refrigerate food. </description><category>Building</category><graphicData><texPath>Things/Building/Misc/PassiveCooler</texPath><graphicClass>Graphic_Single</graphicClass><drawRotated>false</drawRotated><allowFlip>false</allowFlip><shadowData><volume>(0.9,0.3,0.9)</volume></shadowData><damageData><rect>(0.2,0,0.6,0.1)</rect></damageData></graphicData><rotatable>false</rotatable><altitudeLayer>Building</altitudeLayer><passability>PassThroughOnly</passability><pathCost>30</pathCost><tickerType>Normal</tickerType><drawerType>RealtimeOnly</drawerType><fillPercent>0.40</fillPercent><statBases><MaxHitPoints>80</MaxHitPoints><WorkToBuild>200</WorkToBuild><Flammability>1</Flammability></statBases><selectable>true</selectable><building><destroySound>BuildingDestroyed_Metal_Small</destroySound></building><soundImpactDefault>BulletImpact_Ground</soundImpactDefault><leaveResourcesWhenKilled>false</leaveResourcesWhenKilled><resourcesFractionWhenDeconstructed>0</resourcesFractionWhenDeconstructed><placeWorkers><li>PlaceWorker_CoolerSimple</li></placeWorkers><drawPlaceWorkersWhileSelected>true</drawPlaceWorkersWhileSelected><comps><li Class="CompProperties_HeatPusher"><compClass>CompHeatPusherPowered</compClass><heatPerSecond>-11</heatPerSecond><heatPushMinTemperature>17</heatPushMinTemperature></li><li Class="CompProperties_Refuelable"><fuelConsumptionRate>10.0</fuelConsumptionRate><fuelCapacity>50.0</fuelCapacity><fuelFilter><stuffCategoriesToAllow><li>Woody</li></stuffCategoriesToAllow></fuelFilter><initialFuelPercent>1</initialFuelPercent><showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle></li><li Class="VanillaFurnitureExpanded.CompProperties_RandomBuildingGraphic"><randomGraphics><li>Things/Building/Misc/PassiveCooler</li><li>Things/Building/Misc/PassiveCoolers/VFE_PassiveCooler_Hexagonal</li><li>Things/Building/Misc/PassiveCoolers/VFE_PassiveCooler_Hole</li><li>Things/Building/Misc/PassiveCoolers/VFE_PassiveCooler_Round</li></randomGraphics></li></comps><designationCategory>Temperature</designationCategory><designationHotKey>Misc4</designationHotKey><researchPrerequisites><li>PassiveCooler</li></researchPrerequisites><stuffCategories><li>Woody</li></stuffCategories><costStuffCount>50</costStuffCount><stuffCategories><li>Woody</li></stuffCategories><costStuffCount>50</costStuffCount></ThingDef> (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39) XML error: Duplicate XML node name costStuffCount in this XML block: <ThingDef ParentName="BuildingBase"><defName>PassiveCooler</defName><label>passive cooler</label><description>A traditional unpowered cooler that works by water evaporation. Must be regularly replenished with wood. Not efficient enough to refrigerate food. </description><category>Building</category><graphicData><texPath>Things/Building/Misc/PassiveCooler</texPath><graphicClass>Graphic_Single</graphicClass><drawRotated>false</drawRotated><allowFlip>false</allowFlip><shadowData><volume>(0.9,0.3,0.9)</volume></shadowData><damageData><rect>(0.2,0,0.6,0.1)</rect></damageData></graphicData><rotatable>false</rotatable><altitudeLayer>Building</altitudeLayer><passability>PassThroughOnly</passability><pathCost>30</pathCost><tickerType>Normal</tickerType><drawerType>RealtimeOnly</drawerType><fillPercent>0.40</fillPercent><statBases><MaxHitPoints>80</MaxHitPoints><WorkToBuild>200</WorkToBuild><Flammability>1</Flammability></statBases><selectable>true</selectable><building><destroySound>BuildingDestroyed_Metal_Small</destroySound></building><soundImpactDefault>BulletImpact_Ground</soundImpactDefault><leaveResourcesWhenKilled>false</leaveResourcesWhenKilled><resourcesFractionWhenDeconstructed>0</resourcesFractionWhenDeconstructed><placeWorkers><li>PlaceWorker_CoolerSimple</li></placeWorkers><drawPlaceWorkersWhileSelected>true</drawPlaceWorkersWhileSelected><comps><li Class="CompProperties_HeatPusher"><compClass>CompHeatPusherPowered</compClass><heatPerSecond>-11</heatPerSecond><heatPushMinTemperature>17</heatPushMinTemperature></li><li Class="CompProperties_Refuelable"><fuelConsumptionRate>10.0</fuelConsumptionRate><fuelCapacity>50.0</fuelCapacity><fuelFilter><stuffCategoriesToAllow><li>Woody</li></stuffCategoriesToAllow></fuelFilter><initialFuelPercent>1</initialFuelPercent><showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle></li><li Class="VanillaFurnitureExpanded.CompProperties_RandomBuildingGraphic"><randomGraphics><li>Things/Building/Misc/PassiveCooler</li><li>Things/Building/Misc/PassiveCoolers/VFE_PassiveCooler_Hexagonal</li><li>Things/Building/Misc/PassiveCoolers/VFE_PassiveCooler_Hole</li><li>Things/Building/Misc/PassiveCoolers/VFE_PassiveCooler_Round</li></randomGraphics></li></comps><designationCategory>Temperature</designationCategory><designationHotKey>Misc4</designationHotKey><researchPrerequisites><li>PassiveCooler</li></researchPrerequisites><stuffCategories><li>Woody</li></stuffCategories><costStuffCount>50</costStuffCount><stuffCategories><li>Woody</li></stuffCategories><costStuffCount>50</costStuffCount></ThingDef> (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)



Please let me know if you need more information regarding both of these errors.
Last edited by PJRamaglia; 12 Sep, 2021 @ 8:08pm