using HarmonyLib; namespace UnlockAll.Patches; public static class RecipeConfigPatches { [HarmonyPatch(typeof(RecipeConfig), "CraftingRequirementsMet")] [HarmonyPrefix] public static bool UnlockPrefix(ref bool __result) { __result = true; return false; } [HarmonyPatch(typeof(RecipeConfig), "IsUnlocked")] [HarmonyPrefix] public static bool RecipeIsUnlockedPrefix(ref bool __result) { __result = true; return false; } }