RimWorld

RimWorld

Combat Extended [1.4]
Cleeb 15 May, 2021 @ 5:42am
Amateur Modder: Need help patching Rim Effect
Hi,

Any chance anyone can tell me how to get rid of this error below/what I am missing? It's plainly a missing stat (MeleeDamage) in the gun but I don't see that value in any of the CE files - I've given the guns capacities and armor penetration, not sure what's missing.

Trying to get stat MeleeDamage from RE_Gun_AllianceAssaultRifle which has no support for Combat Extended.
Verse.Log:Error(String, Boolean)
CombatExtended.StatWorker_MeleeDamage:GetStatDrawEntryLabel(StatDef, Single, ToStringNumberSense, StatRequest, Boolean)
RimWorld.StatDrawEntry:get_ValueString()
RimWorld.StatDrawEntry:Draw(Single, Single, Single, Boolean, Action, Action, Vector2, Rect)
RimWorld.StatsReportUtility:DrawStatsWorker(Rect, Thing, WorldObject)
RimWorld.StatsReportUtility:DrawStatsReport(Rect, Thing)
Verse.Dialog_InfoCard:Verse.Dialog_InfoCard.FillCard_Patch1(Dialog_InfoCard, Rect)
Verse.Dialog_InfoCard:DoWindowContents(Rect)
Verse.Window:InnerWindowOnGUI(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, Int32, GUISkin, Int32, Single, Single, GUIStyle)

Thank you!