Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
CounterFix4Bat
Fixes the end-of-day results screen counting all stored ship scrap instead of today's haul when QuotaOverhaul's Despawn Props Patch is on. Host must run it.
By Chonkzilla
| Last updated | 5 hours ago |
| Total downloads | 5 |
| Total rating | 0 |
| Categories | AI Generated Tweaks & Quality Of Life BepInEx Server-side Mods |
| Dependency string | Chonkzilla-CounterFix4Bat-0.1.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
CounterFix4Bat 0.1.0
A tiny Lethal Company plugin that fixes the end-of-day results screen when QuotaOverhaul is installed with Despawn Props Patch enabled.
Why
The left "scrap collected" number is computed on the host as today's new ship scrap. Vanilla then marks surviving ship items with scrapPersistedThroughRounds = true inside RoundManager.DespawnPropsAtEndOfRound, so the next day only counts the new haul.
QuotaOverhaul's Despawn Props Patch skips that vanilla method so it can change scrap-loss-on-wipe. Its replacement never sets the persist flag. After day 1, every later results screen counts all stored ship scrap.
GeneralImprovements' Daily Profit monitor already shows today's haul correctly. This plugin does not change that monitor.
What it does
After DespawnPropsAtEndOfRound finishes (vanilla or QuotaOverhaul), CounterFix4Bat marks remaining aboard items as persisted through rounds. It never despawns or moves items, and it does not change QuotaOverhaul's no-scrap-loss-on-wipe behavior.
It has a soft dependency on QuotaOverhaul only for load order. It is safe to run without QuotaOverhaul: vanilla already sets the same flag, and setting it again does nothing harmful.
Host requirement
The results number is computed on the host, so the host must run this plugin. The persist flag is not a networked value. Clients may also run it so their local quota HUD treats stored scrap as old, but the results screen is decided by the host.
Install
Close Lethal Company and Thunderstore Mod Manager first. Copy CounterFix4Bat.dll into your profile's BepInEx/plugins folder. Confirm the log shows Loading [CounterFix4Bat 0.1.0].
QA
- Test day 2 or later of a run (day 1 can already look correct).
- After leaving a moon with someone alive, the results-screen left number should equal today's haul, approximately the Daily Profit monitor, not the ship's total stored scrap.
Author: Chonk_Zilla. Original work.