MaliciouslyCompliantQuotaCalculatorMod

v1.1.0·Updated 2025-02-18

Calculates the optimal list of scrap on the ship that fulfills the quota.

About this mod Author’s original text

Maliciously Compliant Quota Calculator Mod

Please report any issues here.

This is a terminal command mod for Lethal Company that calculates and outputs the optimal list of scrap to sell to fulfill the quota/certain credits target with the smallest surplus and some other things like: how much value is on the ship currently or how much is needed to meet the threshold required.

The mcqc command

Can be found in the 'other' section.

Running mcqc outputs what ship-scrap needs to be sold to fulfill the remaining quota at 100% buy rate (final day's buy rate).

Running mcqc outputs what ship-scrap needs to be sold to have at least `` credits _and_ fulfill the quota at 100% buy rate (final day's buy rate).

Running mcqc today outputs what ship-scrap needs to be sold to fulfill the remaining quota at that day's buy rate.

Running mcqc today outputs what ship-scrap needs to be sold to have at least `` credits _and_ fulfill the quota at that day's buy rate.

NOTE: When calculating for a ``, overtime is taken into consideration. Subtotals might appear smaller than needed at first glance.

If the input is mcqc 550, the command will calculate how much and what scrap to sell to get to _at least_ 550 total credits in total _including_ what you already have saved, not to get an _extra_ 550 on top of your current balance.

The commands output some other relevant information:

  • How much was needed to meet the threshold required: Quota/Target left;
  • If today is entered, then what that threshold actually is at that day's buy rate: In today's rate;
  • Total scrap value on ship: Total value on ship;
  • Total scrap value on ship after selling everything on the list: Total value after sale
  • Total value needed to meet threshold, if current scrap isn't enough: Total value needed.

Config file options

OutputSpacing controls how much space there is between the scrap name column and the scrap value column, 15 being the smallest and 30 being the biggest.

IncreasingOrder decides what happens to two items of the same type when displayed in the list.

Installation

This mod can be automatically installed through the mod manager.

Manual

  • Install BepinEx;
  • Run Lethal Company at least once with BepinEx installed to generate the necessary folders;
  • Manually install TerminalApi;
  • Unzip this mod into the LethalCompany/BepinEx folder.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

BepInEx-BepInExPackNotAtomicBomb-TerminalApi

File & checksum

Filename
MaliciouslyCompliantQuotaCalculatorMod-1.1.0.zip
File size
21.2 KiB