Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
XML RimWorld.StatDef defines the same field twice: parts.
Field contents: .
Whole XML:
<StatDef><defName>RangedWeapon_Cooldown</defName><label>ranged cooldown</label><description>How long it takes to recover after firing this weapon.</description><category>Weapon_Ranged</category><defaultBaseValue>1</defaultBaseValue><minValue>0.01</minValue><toStringStyle>FloatTwo</toStringStyle><formatString>{0} s</formatString><showIfUndefined>false</showIfUndefined><displayPriorityInCategory>5106</displayPriorityInCategory><scenarioRandomizable>true</scenarioRandomizable><parts><li Class="VFECore.Misc.StatPart_Ammo" /><li Class="VFESecurity.StatPart_AmmoCrate"><valueFactor>0.8</valueFactor></li></parts><parts><li Class="ModularWeapons.StatPart_MWCooldown" /></parts></StatDef>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.DirectXmlToObject:ObjectFromXml<RimWorld.StatDef> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject:ObjectFromXmlReflection<RimWorld.StatDef> (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 ()
Example: standard bolt-action rifle. Adding a bipod shows accuracy boosts as green (correct), but also a +0.3s increase in cooldown and a +0.3kg increase in mass as green (incorrect).
・field conflicts on XML
・incorrect collor on stats change
Thank you!
You can avoid this by using "Start with".
anyway, I'll try to solve this.
Not confirmed in my environment.
It may be caused by other mods.
not confirmed, too.
I don't matter how long it is, that's why I made this thread!
I have, in the way of extra equipment mods...
-vanilla armory expanded (grenades, laser, quickdraw)
-vanilla weapons expanded
-proper shotguns
-simple sidearms
thinking about it, it might be the sidearm mod bugging out as well