You are viewing a potentially older version of this package. View all versions.
Syntheal-BetterRollover-0.0.6 icon

BetterRollover

Custom quota scaling with intelligent rollover clamping and configurable overtime pay system

Date uploaded 3 weeks ago
Version 0.0.6
Download link Syntheal-BetterRollover-0.0.6.zip
Downloads 1183
Dependency string Syntheal-BetterRollover-0.0.6

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100
xilophor-LethalNetworkAPI-3.4.2 icon
xilophor-LethalNetworkAPI

A library/API to allow developers to easily add networking to their mods.

Preferred version: 3.4.2

README

BetterRollover

A custom quota system for Lethal Company that overhauls how excess scrap is handled. Features configurable quota scaling, intelligent rollover clamping, overtime pay, and quota dampening to prevent exponential growth.

Features

  • Custom Quota Scaling - Configure how quotas increase each cycle with curve sharpness control
  • Intelligent Rollover - Excess scrap is clamped to (new quota - 1) to prevent starting a new quota already completed
  • Overtime Pay System - Scrap beyond the rollover cap is converted to bonus credits at a configurable percentage
  • Quota Dampening - Prevents quotas from growing exponentially by reducing growth at higher quota values
  • Random Variance - Optional randomness in quota increases for variety
  • Fully Networked - Works seamlessly in multiplayer (host and clients stay synced)
  • Fully Configurable - All settings can be adjusted via config file with sensible defaults

How It Works

When you exceed your quota, the system:

  1. Calculates your new quota for the next cycle using your configured scaling settings
  2. Takes your excess scrap (total collected - old quota)
  3. Clamps the rollover to (new quota - 1) - you can't start a new quota already completed!
  4. Any scrap beyond the clamp becomes overtime scrap
  5. Overtime scrap is paid as bonus credits at your configured percentage

Example

Current quota: 500 Scrap collected: 5000 New quota: 1000

  • Overage = 5000 - 500 = 4500
  • Max rollover = 1000 - 1 = 999
  • Rollover = 999 (clamped)
  • Overtime scrap = 4500 - 999 = 3501
  • Overtime bonus (20%) = 3501 × 0.2 = 700 credits

Result: Next quota starts at 999/1000 + 700 bonus credits!

Configuration

Settings can be found in BepInEx/config/CustomQuotaSystem.cfg

Basic Settings

Setting Default Description
StartingCredits 60 Starting credits for a new lobby
StartingQuota 130 Starting quota for a new lobby
DaysToDeadline 3 Number of days to meet each quota
DisableQuota false Completely disables the custom quota system

Quota Scaling

Setting Default Description
BaseIncrease 100 Base amount the quota increases per cycle
CurveSharpness 16 Controls how fast the quota ramps up (higher = slower growth)
RandomizerMultiplier 1.0 Random variance on quota increase (0 = none, 1 = ±50%)
QuotaCap -1 Maximum quota value (-1 = no limit)

Quota Dampening

Dampening prevents quotas from growing exponentially by reducing the growth rate as quotas get higher. This keeps the game balanced and playable even after many quota cycles.

Note: Dampening only works when the custom quota system is enabled (DisableQuota = false).

Setting Default Description
EnableDampening true Enables the dampening system
DampeningStartQuota 1000 Quota value at which dampening starts applying
DampeningStrength 0.5 Strength of dampening effect (0 = none, 0.5 = moderate, 1.0 = strong, 2.0+ = extreme). Higher values reduce growth more aggressively.
DampeningMinFactor 0.1 Minimum growth factor (prevents complete stagnation)

How Dampening Works:

When your quota exceeds the DampeningStartQuota, growth is reduced using this formula:

Made by

  • Syntheal / Mads Poulsen

Need help or want to stay updated?
Join my discord: https://discord.gg/vGdbVNzjsd

Buy me a coffee: https://buymeacoffee.com/syntheal