RimWorld

RimWorld

Mines 2.0
Using <ModExtensions> Throws Red Error on Load if youve added it to another ThingDef.
Basically the error says its not the Proper Case for that tag it should be <modExtensions> i wouldnt have caught this myself but i asked about it in the Rimworld Discord and they caught it.
Might want to update the tag in the description to reflect this.
Last edited by Leutian Kane; 26 Jul @ 5:13pm
< >
Showing 1-1 of 1 comments
Attempt to use string ModExtensions to refer to field modExtensions in type Verse.ThingDef; xml tags are now case-sensitive. XML: <ThingDef ParentName="ResourceBase"><thingClass>ThingWithComps</thingClass><category>Item</category><drawerType>MapMeshOnly</drawerType><resourceReadoutPriority>Middle</resourceReadoutPriority><useHitPoints>true</useHitPoints><selectable>true</selectable><altitudeLayer>Item</altitudeLayer><stackLimit>50</stackLimit><statBases><Beauty>-4</Beauty><MaxHitPoints>70</MaxHitPoints><MarketValue>200</MarketValue><Mass>0.6</Mass><Flammability>0.6</Flammability><DeteriorationRate>2.0</DeteriorationRate></statBases><comps><li Class="CompProperties_Forbiddable" /></comps><alwaysHaulable>true</alwaysHaulable><drawGUIOverlay>true</drawGUIOverlay><rotatable>false</rotatable><pathCost>14</pathCost><allowedArchonexusCount>5</allowedArchonexusCount><tickerType>Rare</tickerType><defName>ComponentSpacer</defName><label>advanced component</label><description>Advanced computing and energy-directing machinery, miniaturized and hardened for the most demanding applications.</description><graphicData><texPath>Things/Item/Resource/ComponentSpacer</texPath><graphicClass>Graphic_StackCount</graphicClass></graphicData><soundInteract>Metal_Drop</soundInteract><soundDrop>Standard_Drop</soundDrop><healthAffectsPrice>false</healthAffectsPrice><intricate>true</intricate><thingCategories><li>Manufactured</li></thingCategories><tradeTags><li>ExoticMisc</li></tradeTags><thingSetMakerTags><li>RewardStandardCore</li></thingSetMakerTags><ModExtensions><li Class="MinesAutomatedExtension.MineableSettings"><researchPrerequisites><li>MinesAutomated_ResearchProjectDef_minecraft</li></researchPrerequisites><workOffset>200</workOffset><mineableYield>10</mineableYield></li></ModExtensions></ThingDef>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (string)
Verse.XmlToObjectUtils:DirectGetFieldByName (System.Type,string,System.Xml.XmlNode)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.XmlToObjectUtils.DoFieldSearch_Patch1 (System.Type,System.Xml.XmlNode,System.Xml.XmlNode)
Verse.DirectXmlToObjectNew:ResolveFieldForNode (System.Type,System.Xml.XmlNode,System.Xml.XmlNode)
(wrapper dynamic-method) Verse.DirectXmlToObjectNew/DummyTypeToHoldDynamicMethods:ParseAndReturnDef_Verse_ThingDef (int,int,System.Xml.XmlNode,System.Type)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.DirectXmlToObjectNew.DefFromNodeNew_Patch1 (System.Xml.XmlNode,Verse.LoadableXmlAsset)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ParseAndProcessXML_Patch2 (System.Xml.XmlDocument,System.Collections.Generic.Dictionary`2<System.Xml.XmlNode, Verse.LoadableXmlAsset>,bool)
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__10_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_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 ()
< >
Showing 1-1 of 1 comments
Per page: 1530 50