RimWorld

RimWorld

Vanilla Weapons Expanded - Laser
jetblade545 18 Nov, 2021 @ 10:08pm
getting an error
XML error: <supportsColors>true</supportsColors> doesn't correspond to any field in type ThingDef. Context: <ThingDef ParentName="BaseLaserGun"><thingClass>VanillaWeaponsExpandedLaser.LaserGun</thingClass><category>Item</category><drawerType>MapMeshOnly</drawerType><drawGUIOverlay>true</drawGUIOverlay><altitudeLayer>Item</altitudeLayer><alwaysHaulable>true</alwaysHaulable><tickerType>Never</tickerType><equipmentType>Primary</equipmentType><useHitPoints>true</useHitPoints><pathCost>14</pathCost><selectable>true</selectable><statBases><MaxHitPoints>100</MaxHitPoints><Flammability>0.5</Flammability><DeteriorationRate>2</DeteriorationRate><Beauty>-3</Beauty><SellPriceFactor>0.20</SellPriceFactor><WorkToMake>11500</WorkToMake><MarketValue>1400</MarketValue><Mass>1.2</Mass><AccuracyTouch>0.54</AccuracyTouch><AccuracyShort>0.66</AccuracyShort><AccuracyMedium>0.64</AccuracyMedium><AccuracyLong>0.5</AccuracyLong><RangedWeapon_Cooldown>1.1</RangedWeapon_Cooldown></statBases><comps><li Class="CompProperties_Forbiddable" /><li><compClass>CompEquippable</compClass></li><li Class="CompProperties_Styleable" /><li Class="CompProperties_Art"><nameMaker>NamerArtWeaponGun</nameMaker><descriptionMaker>ArtDescription_WeaponGun</descriptionMaker><minQualityForArtistic>Excellent</minQualityForArtistic></li><li><compClass>CompQuality</compClass></li><li Class="VanillaWeaponsExpandedLaser.CompProperties_LaserCapacitor"><UiIconPath>UI/EnableWarmup/EnableWarmup</UiIconPath><WarmUpReductionPerShot>0.23</WarmUpReductionPerShot><Overheats>true</Overheats><OverheatDestroys>false</OverheatDestroys><OverheatBlastDamageDef>Burn</OverheatBlastDamageDef><OverheatBlastExtraDamage>4</OverheatBlastExtraDamage><OverheatBlastRadius>1</OverheatBlastRadius><OverheatChance>0.1</OverheatChance><OverheatMoteThrown>HeatGlow</OverheatMoteThrown><OverheatMoteSize>1</OverheatMoteSize></li></comps><graphicData><onGroundRandomRotateAngle>35</onGroundRandomRotateAngle><graphicClass>Graphic_Single</graphicClass><texPath>Things/Item/Equipment/WeaponRanged/Laser/SalvagedLaserRevolver</texPath></graphicData><allowedArchonexusCount>1</allowedArchonexusCount><techLevel>Ultra</techLevel><smeltable>true</smeltable><thingCategories><li>WeaponsRanged</li></thingCategories><inspectorTabs><li>ITab_Art</li></inspectorTabs><weaponTags><li>SalvagedLaserGun</li></weaponTags><soundInteract>VWE_Interact_UnstableLaserGun</soundInteract><repairEffect>Repair</repairEffect><supportsColors>true</supportsColors><recipeMaker><researchPrerequisite>RimlaserLasers</researchPrerequisite><skillRequirements><Crafting>10</Crafting></skillRequirements><recipeUsers><li>FabricationBench</li><li>AF_SpecialBench_CDWMachine</li></recipeUsers><workSkill>Crafting</workSkill><effectWorking>Smith</effectWorking><soundWorking>Recipe_Machining</soundWorking><unfinishedThingDef>UnfinishedLaserGun</unfinishedThingDef><workSpeedStat>GeneralLaborSpeed</workSpeedStat></recipeMaker><defName>VWEFT_Gun_SalvagedLaserRevolver</defName><label>salvaged laser revolver</label><description>A drum-based laser pistol capable of heating up quite quickly, each chamber containing an individual microbattery primed to focus each shot.\n\nBy using makeshift battery cells, this weapon is capable of quickly warming up, boosting the firing speed with each consecutive shot when standing still.</description><costList><Steel>80</Steel><Plasteel>65</Plasteel><ComponentSpacer>13</ComponentSpacer><Gold>10</Gold></costList><generateCommonality>0.1</generateCommonality><equippedStatOffsets /><verbs><li><verbClass>Verb_Shoot</verbClass><label>Standard</label><hasStandardCommand>true</hasStandardCommand><defaultProjectile>VWEFT_Bullet_SalvagedLaserRevolver</defaultProjectile><warmupTime>2</warmupTime><range>23.9</range><ticksBetweenBurstShots>10</ticksBetweenBurstShots><burstShotCount>1</burstShotCount><soundCast>VWE_UnstableLaserShot_Light</soundCast><soundCastTail>GunTail_Heavy</soundCastTail><muzzleFlashScale>14</muzzleFlashScale><targetParams><canTargetLocations>true</canTargetLocations></targetParams></li></verbs><tools><li><label>barrel</label><capacities><li>Blunt</li></capacities><power>5</power><cooldownTime>1.8</cooldownTime></li><li><label>grip</label><capacities><li>Blunt</li></capacities><power>6</power><cooldownTime>1.9</cooldownTime></li></tools></ThingDef>
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch1 (string)
Verse.DirectXmlToObject:ObjectFromXml<Verse.ThingDef> (System.Xml.XmlNode,bool)
Verse.DirectXmlToObject: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 ()