Skip to content

Coal Expanded (Continued) + This mod makes pawns unable to refuel #17

@MrFastZombie

Description

@MrFastZombie

Using Mlie's version of Coal Expanded with this causes an issue where pawns are unable to refuel.

In the mod settings, coal is marked as an invalid item.

Image

I tried having coal expanded load both before and after Burn it For Fuel, but it doesn't seem to change anything.

I also tried having charcoal and coal in a stockpile in addition to wood but the same issue occurs.

I also found this issue with floor torches, wall torches, passive cooler, and the fueled smithy. I suspect it happens with anything that uses the Burn it For Fuel 2 fuel tab. The coal powered workstations included in Coal Expanded (Continued) are unaffected.

Upon right-clicking an affected thing, the option to refuel will be there but will be greyed out due to missing ingredients, despite having wood available, which is enabled in the fuel tab.

Image Image

The modlist I used to test this is as follows:

(I also tested without prepatcher and performance optimizer just to make sure)

Stack trace from opening the fuel tab on a campfire, without performance optimizer, prepatcher, or loading progress:

[BurnItForFuel] Invalid base fuel assigned to Campfire.
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.UnityEngine.StackTraceUtility.ExtractStackTrace_Patch1()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Log.Error_Patch2(System.String)
[[JPT] Burn It for Fuel 2, BurnItForFuel.dll] BurnItForFuel.CompSelectFuel.EquivalentFuelRatio(Verse.ThingDef def)
[[JPT] Burn It for Fuel 2, BurnItForFuel.dll] BurnItForFuel.HarmonyPatches.LabelLeft_Prefix(Verse.Listing_TreeThingFilter __instance, System.Single& widthOffset)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Listing_Tree.LabelLeft_Patch1(Verse.Listing_Tree, System.String, System.String, System.Int32, System.Single, System.Nullable`1[UnityEngine.Color], System.Single)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Listing_TreeThingFilter.DoThingDef_Patch1(Verse.Listing_TreeThingFilter, Verse.ThingDef, System.Int32, Verse.Map)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Listing_TreeThingFilter.DoCategoryChildren_Patch1(Verse.Listing_TreeThingFilter, Verse.TreeNode_ThingCategory, System.Int32, System.Int32, Verse.Map, System.Boolean)
[Core, Assembly-CSharp.dll] Verse.Listing_TreeThingFilter.ListCategoryChildren(Verse.TreeNode_ThingCategory node, System.Int32 openMask, Verse.Map map, UnityEngine.Rect visibleRect)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.ThingFilterUI.DoThingFilterConfigWindow_Patch1(UnityEngine.Rect, Verse.ThingFilterUI+UIState, Verse.ThingFilter, Verse.ThingFilter, System.Int32, System.Collections.Generic.IEnumerable`1[Verse.ThingDef], System.Collections.Generic.IEnumerable`1[Verse.SpecialThingFilterDef], System.Boolean, System.Boolean, System.Boolean, System.Collections.Generic.List`1[Verse.ThingDef], Verse.Map)
[Core, Assembly-CSharp.dll] RimWorld.ITab_Storage.FillTab()
[Core, Assembly-CSharp.dll] Verse.InspectTabBase+<>c__DisplayClass19_0.<DoTabGUI>b__0()
[Core, Assembly-CSharp.dll] Verse.ImmediateWindow.DoWindowContents(UnityEngine.Rect inRect)
[Core, Assembly-CSharp.dll] Verse.Window.InnerWindowOnGUI(System.Int32 x)
[System, UnityEngine.IMGUIModule.dll] UnityEngine.GUI.CallWindowDelegate(UnityEngine.GUI+WindowFunction func, System.Int32 id, System.Int32 instanceID, UnityEngine.GUISkin _skin, System.Int32 forceRect, System.Single width, System.Single height, UnityEngine.GUIStyle style)

Metadata

Metadata

Assignees

No one assigned

    Labels

    CompatibilityRequest to support some other modwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions