RimWorld
Fort's Firefighter gadget
TheRedPriest 2023 年 3 月 4 日 上午 7:09
Red logs on start up
The armour from this mod seems to be throwing errors for me:
XML error: <immuneToToxGasExposure>true</immuneToToxGasExposure> doesn't correspond to any field in type ThingDef. Context: <ThingDef ParentName="ArmorHelmetMakeableBase"><thingClass>Apparel</thingClass><category>Item</category><drawerType>MapMeshOnly</drawerType><selectable>True</selectable><pathCost>14</pathCost><useHitPoints>True</useHitPoints><techLevel>Industrial</techLevel><graphicData><onGroundRandomRotateAngle>35</onGroundRandomRotateAngle><texPath>Things/FirehelmetY</texPath><graphicClass>Graphic_Single</graphicClass><shaderType>CutoutComplex</shaderType></graphicData><drawGUIOverlay>true</drawGUIOverlay><statBases><MaxHitPoints>145</MaxHitPoints><Flammability>1.0</Flammability><DeteriorationRate>2</DeteriorationRate><Beauty>-3</Beauty><WorkToMake>6550</WorkToMake><Mass>2</Mass><StuffEffectMultiplierArmor>0.6</StuffEffectMultiplierArmor><StuffEffectMultiplierInsulation_Cold>0.15</StuffEffectMultiplierInsulation_Cold><StuffEffectMultiplierInsulation_Heat>0</StuffEffectMultiplierInsulation_Heat><Insulation_Heat>35</Insulation_Heat><EquipDelay>1.5</EquipDelay></statBases><altitudeLayer>Item</altitudeLayer><alwaysHaulable>True</alwaysHaulable><tickerType>Never</tickerType><burnableByRecipe>true</burnableByRecipe><smeltable>true</smeltable><comps><li Class="CompProperties_Forbiddable" /><li><compClass>CompColorable</compClass></li><li><compClass>CompQuality</compClass></li><li Class="CompProperties_Styleable" /></comps><recipeMaker><workSpeedStat>GeneralLaborSpeed</workSpeedStat><workSkill>Crafting</workSkill><effectWorking>Smith</effectWorking><soundWorking>Recipe_Machining</soundWorking><recipeUsers><li>TableMachining</li><li>ElectricSmithy</li><li>FueledSmithy</li></recipeUsers><unfinishedThingDef>UnfinishedArmor</unfinishedThingDef><defaultIngredientFilter><categories><li>Root</li></categories><disallowedThingDefs><li>Gold</li><li>Silver</li><li>Plasteel</li><li>Jade</li><li>Uranium</li></disallowedThingDefs></defaultIngredientFilter><researchPrerequisite>Smithing</researchPrerequisite></recipeMaker><relicChance>1</relicChance><thingCategories><li>ArmorHeadgear</li></thingCategories><defName>Apparel_FirefighterHelmetC</defName><label>Firefighter helmet(Yellow)</label><description>The modern Firefighter helmet is made of thermoplastic or composite materials. Such helmets were designed to provide a more modern, sleeker look, and lighter weight compared to the traditional firefighter helmet design while retaining the distinctive profile.</description><uiIconScale>1.4</uiIconScale><stuffCategories><li>Metallic</li></stuffCategories><costStuffCount>55</costStuffCount><costList><Cloth>35</Cloth></costList><equippedStatOffsets><MoveSpeed>-0.05</MoveSpeed><Flammability>-0.22</Flammability><ToxicEnvironmentResistance>-0.55</ToxicEnvironmentResistance></equippedStatOffsets><developmentalStageFilter>Child, Adult</developmentalStageFilter><immuneToToxGasExposure>true</immuneToToxGasExposure><apparel><countsAsClothingForNudity>false</countsAsClothingForNudity><bodyPartGroups><li>FullHead</li></bodyPartGroups><wornGraphicPath>Things/FirehelmetY</wornGraphicPath><layers><li>Overhead</li></layers><useWornGraphicMask>true</useWornGraphicMask></apparel></ThingDef>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
XmlExtensions.CustomXmlLoader:ObjectFromXml<Verse.ThingDef> (System.Xml.XmlNode,bool,System.Xml.XmlNode,string)
XmlExtensions.CustomXmlLoader:ObjectFromXmlReflection<Verse.ThingDef> (System.Xml.XmlNode,bool)
Verse.DirectXmlLoader:DefFromNode (System.Xml.XmlNode,Verse.LoadableXmlAsset)
Verse.LoadedModManager:ParseAndProcessXML (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>)
Verse.LoadedModManager:LoadAllActiveMods ()
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__27_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

Full log: https://gist.github.com/d5ea781ab42d23a4778271cc7e38645e