Other user's assetsThis author has not specified whether they have used assets from other authors or not
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
This mod is not opted-in to receive Donation Points
BepinEx plugin for infinite health.
Installation:
Install BepInEx by extracting the, doorstop_config.ini, winhttp.dll, and the BepInEx folder to the game directory:
Run the game once and do not close it until the console has fully initialized. If you close the game too early, when you start the game, the console no longer pops up anymore. You will have to delete the BepInEx folder, and start from step 1. again.
Place the .dll from this mod into the BepInEx/plugins folder.
You can tell if it's working because there will be a single heart at the bottom left of the screen.
Source code: using BepInEx; using HarmonyLib; using Maniac; using System.Reflection; [BepInPlugin("DeathWrench.InfiniteHealth", "Infinite Health Plugin", "1.0.0")] public class InfiniteHealthPlugin : BaseUnityPlugin { private Harmony harmony; void Awake() { harmony = new Harmony("DeathWrench.InfiniteHealth"); harmony.PatchAll(Assembly.GetExecutingAssembly()); Logger.LogInfo("Plugin \"DeathWrench.InfiniteHealth\" is loaded!"); } [HarmonyPatch(typeof(GameManager), "CreateLolekPlayer")] public static class CreateLolekPlayerPatch { [HarmonyPostfix] public static void Postfix(ref GameManager __instance) { __instance.playerLolekImpact.invincibilityTime = float.PositiveInfinity; __instance.playerLolekImpact.Health = float.MaxValue; __instance.playerLolekImpact.MaxHealth = float.MaxValue; } } [HarmonyPatch(typeof(HeartBar), "FixedUpdate")] static class HeartBar_Update_Patch { public static void Postfix(HeartBar __instance) { __instance.SetHealth(float.MaxValue); __instance.SetArmor(float.MaxValue); __instance.CreateHearts(float.MaxValue, 10f); } } }