RimWorld

RimWorld

Not enough ratings
Compatibility Patch for Vanilla Brewing Expanded and Thermodynamics Hot Meals
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.2, 1.3
File Size
Posted
Updated
7.025 KB
16 Apr, 2021 @ 9:46am
26 Aug, 2021 @ 7:56am
3 Change Notes ( view )

Subscribe to download
Compatibility Patch for Vanilla Brewing Expanded and Thermodynamics Hot Meals

Description
DEPRECATED
This mod is no longer necessary. The current version of Thermodynamics - Hot Meals maintained by Mlie already fixes this issue.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2909103255
Description

Thermodynamics - Hot Meals makes changes to the categories (ThingCategoryDef) of any things it applies its temperature features to. There is a hard coded list of categories which will be ignored by this process, however "Drugs" is not one of those excluded categories. The unintended side-effect of this is that the majority of drinks from mods like the Vanilla Expanded series will no longer be considered drugs, and therefore will not be traded (buying or selling) by most traders.

This patch simply makes it so that the "Drugs" category isn't removed from items modified by Hot Meals so that they are still tradeable to all merchants they were intended to be tradeable with. If Dametri happens to fix this issue in his mod then I'll happily remove this from the workshop, but they don't seem to have been active lately so I'm not holding my breath.

[ko-fi.com]
7 Comments
Bic Boy 26 Aug, 2021 @ 11:38am 
Nice!
Inglix  [author] 26 Aug, 2021 @ 7:59am 
The author of the forked version hasn't responded to my inquiry, so I've "updated" this for 1.3.
Inglix  [author] 19 Aug, 2021 @ 1:09pm 
@Mactaverum
I've asked the maintainer of the forked version if they can fix this bug so this patch is no longer needed. If they do so then this mod can be retired.
Mactaverum 7 Aug, 2021 @ 8:51pm 
There is a forked version of Thermodynamics up now https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2558276867
Lurmey 24 Jul, 2021 @ 10:00am 
Would you consider patching Thermodynamics support for the other drinks in Vanilla Brewing Expanded - Coffees and Teas? Some like Earl grey and Black tea are under Cold drinks..

I dunno about you but I don't have my tea cold. lol
Inglix  [author] 22 Jul, 2021 @ 11:02am 
The Thermodynamics mods haven't been updated in the past 11 months, so I suspect the author has left RimWorld modding behind them. Until those mods are updated, either by the original author or someone else taking up the mantle there's obviously no point in updating this for 1.3.
secretlyfreakish 15 Jun, 2021 @ 2:51pm 
It didn't seem to work for me. It throws an error message on startup, and it breaks Thermodynamics entirely (no temp readout etc.)

Error in static constructor of DHotMeals.Base: System.TypeInitializationException: The type initializer for 'DHotMeals.Base' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at VBE_THM_CompatibilityPatch.PatchHijackCategory.Prefix (Verse.ThingDef def, Verse.ThingCategoryDef tc, System.Collections.Generic.List`1[T] newCats, Verse.ThingCategoryDef parent, System.String postfix) [0x00001] in <79ee01e3149649f7aa534fdf8924e21f>:0
at (wrapper dynamic-method) DHotMeals.MealAssigner.DHotMeals.MealAssigner.HijackCategory_Patch1(Verse.ThingDef,Verse.ThingCategoryDef,System.Collections.Generic.List`1<Verse.ThingCategoryDef>,Verse.ThingCategoryDef,string)