1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 04:13:32 +08:00

CheatEnabler: fire all bullets

This commit is contained in:
2025-05-25 23:35:49 +08:00
parent 944a4d7948
commit 23aa8c1f13
4 changed files with 255 additions and 179 deletions

View File

@@ -418,6 +418,7 @@ public class FactoryPatch : PatchImpl<FactoryPatch>
return matcher.InstructionEnumeration();
}
/*
[HarmonyTranspiler]
[HarmonyPatch(typeof(ConstructionSystem), nameof(ConstructionSystem.AddBuildTargetToModules))]
private static IEnumerable<CodeInstruction> ConstructionSystem_AddBuildTargetToModules_Transpiler(IEnumerable<CodeInstruction> instructions, ILGenerator generator)
@@ -449,6 +450,7 @@ public class FactoryPatch : PatchImpl<FactoryPatch>
);
return matcher.InstructionEnumeration();
}
*/
[HarmonyPostfix]
[HarmonyPatch(typeof(UXAssist.Functions.PlanetFunctions), nameof(UXAssist.Functions.PlanetFunctions.BuildOrbitalCollectors))]