ImprovedMods-InfiniteEnergyButGood icon

InfiniteEnergyButGood

100% AI-generated. Keeps the charging station full without per-frame log spam: refills only on level start, while an item charges, and on item removal.

Last updated an hour ago
Total downloads 14
Total rating 0 
Categories Mods Server-side AI Generated Quality Of Life
Dependency string ImprovedMods-InfiniteEnergyButGood-0.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

InfiniteEnergyButGood

Notice: This mod is 100% AI-generated. All code and the icon are AI-generated. Im planning on rewriting multiple mods that I found on r2modman and Thunderstore myself into one mod, without AI, but this is just a quick solution for now.

Rewrite of InfiniteEnergyCrystals for R.E.P.O. The original writes the charging station values every frame and logs each write, which floods the log and eventually exhausts RAM (Im using 32GB RAM on Linux and it killed my game after 4 hours). This version only refills when it is needed:

  • When a level has loaded.
  • When an item starts charging, and then at most once every 5 seconds while it keeps charging.
  • When the charged item is removed.

Only the host (or a singleplayer game) changes the station.

It will conflict if you use InfiniteEnergyCrystals (check Credits), so please deactivate it before this mod.

Config

Entries are written to BepInEx/config/local.infiniteenergybutgood.cfg and can be edited in-game with REPOConfig.

Section Key Default Meaning
Logging EnableLogMessages true Show or hide all log messages of this mod
Timing ResetIntervalSeconds 5 Minimum time between refills while an item charges
Timing ItemRemovedDelaySeconds 1 Time without energy drain until an item counts as removed

Log messages

English translations will follow

  • Level geladen - Energiespeicher max (Level loaded, energy storage max)
  • Level geladen - Fehler bei Energiespeicher (Level loaded, error with energy storage)
  • Item erkannt - Energiespeicher max (Item detected, energy storage max)
  • Item entfernt - Energiespeicher max (Item removed, energy storage max)
  • Item entfernt - Fehler bei Energiespeicher (Item removed, error with energy storage)

Installation

Install with a mod manager (r2modman or Thunderstore Mod Manager). Disable the original InfiniteEnergyCrystals mod, otherwise both write to the station.

Requires BepInExPack 5.4.2305.

Credits

Inspired by InfiniteEnergyCrystals by Lazarus. This is an independent rewrite and contains no code copied from it.

License

Licensed under the MIT License, see the LICENSE file.