Some mods target the Mono version of the game, which is available by opting into the Steam beta branch "alternate"
Decompiled source of FasterChem v1.0.0
Mods/FasterChem.dll
Decompiled a month agousing System; using System.Diagnostics; using System.Reflection; using System.Resources; using System.Runtime.CompilerServices; using System.Runtime.Versioning; using System.Security; using System.Security.Permissions; using FasterChem; using HarmonyLib; using Il2CppScheduleOne.ObjectScripts; using MelonLoader; using Microsoft.CodeAnalysis; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: MelonInfo(typeof(Core), "FasterChem", "1.0.0", "Xaender", null)] [assembly: MelonGame("TVGS", "Schedule I")] [assembly: TargetFramework(".NETCoreApp,Version=v6.0", FrameworkDisplayName = ".NET 6.0")] [assembly: AssemblyCompany("FasterChem")] [assembly: AssemblyConfiguration("Debug")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: AssemblyInformationalVersion("1.0.0")] [assembly: AssemblyProduct("FasterChem")] [assembly: AssemblyTitle("FasterChem")] [assembly: NeutralResourcesLanguage("en-US")] [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)] [assembly: AssemblyVersion("1.0.0.0")] [module: UnverifiableCode] [module: RefSafetyRules(11)] namespace Microsoft.CodeAnalysis { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] internal sealed class EmbeddedAttribute : Attribute { } } namespace System.Runtime.CompilerServices { [CompilerGenerated] [Microsoft.CodeAnalysis.Embedded] [AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)] internal sealed class RefSafetyRulesAttribute : Attribute { public readonly int Version; public RefSafetyRulesAttribute(int P_0) { Version = P_0; } } } namespace FasterChem { public class Core : MelonMod { [HarmonyPatch(typeof(ChemistryStation), "SetCookOperation")] public class Patch_CookTime { [HarmonyPostfix] public static void Postfix(ChemistryStation __instance) { object obj; if (__instance == null) { obj = null; } else { ChemistryCookOperation currentCookOperation = __instance.CurrentCookOperation; obj = ((currentCookOperation != null) ? currentCookOperation.Recipe : null); } if ((Object)obj != (Object)null) { int num = Math.Max(1, newCookDuration / _divider); __instance.CurrentCookOperation.Recipe.CookTime_Mins = num; MelonLogger.Msg($"CookTime set to {num} minutes."); } } } private static int newCookDuration = 180; private static int _divider = 2; public override void OnInitializeMelon() { //IL_0006: Unknown result type (might be due to invalid IL or missing references) //IL_0010: Expected O, but got Unknown //IL_0027: Unknown result type (might be due to invalid IL or missing references) //IL_002d: Expected O, but got Unknown Object.DontDestroyOnLoad((Object)new GameObject("FasterChem")); ((MelonBase)this).LoggerInstance.Msg("FasterChem initialized."); Harmony val = new Harmony("com.xaender.FasterChem"); val.PatchAll(); } } }