Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty Transpiler Causing Issues #88

Closed
StarFluxGames opened this issue Oct 23, 2023 · 1 comment
Closed

Empty Transpiler Causing Issues #88

StarFluxGames opened this issue Oct 23, 2023 · 1 comment

Comments

@StarFluxGames
Copy link

Game : PlateUp! ( Supports Modding )

HarmonyX Version : 2.10.2.0

Creating the following transpiler patch changes how the method works.

    [HarmonyPatch(typeof(ApplyItemProcesses), "Run")]
    public static class ApplyItemProcess_Patch
    {
        [HarmonyTranspiler]
        static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions)
        {
            return instructions;
        }
    }

If you're familiar with the game PlateUp!
When this transpiler patch is active, cooking any splitable item results in it not being able to burn.

When this patch ISN'T active, double cooking a Pizza will burn it.

When this patch IS active, you are unable to double cook the Pizza to burn it.

@StarFluxGames
Copy link
Author

Looks to be related to #65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant