You are viewing a potentially older version of this package. View all versions.
GiGaGon-CreditLossOnDeathConfigurator-1.0.3 icon

CreditLossOnDeathConfigurator

Configure credit loss on player death. Also updates end screen percentage to include loss from recovered bodies. Config changes apply instantly. Also allows scaling credit loss on lobby size and disabling credit loss at the company.

Date uploaded 9 months ago
Version 1.0.3
Download link GiGaGon-CreditLossOnDeathConfigurator-1.0.3.zip
Downloads 2268
Dependency string GiGaGon-CreditLossOnDeathConfigurator-1.0.3

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

README

CreditLossOnDeathConfigurator

Adds configs for the percentage of scrap lost on both recovered and unrecovered bodies. Also shows the new percentage lost on the round end screen. In the base game, 8% of credits are lost even when a body is recovered. This mod will also now include that on the round end screen.

The config can be changed mid-game/mid-run and the changes will apply instantly. Required for both hosts and clients since I don't know how to re-sync credit amount.

Now also supports scaling credit loss on lobby size (works with the custom numbers) and disabling credit loss at the company (for those goobers that always end up dead).

If anything breaks, feel free to DM me on discord at gigagon

Changelog

V 1.0.3

  • Fixed an IL hook error breaking the mod in single player
  • Added clamping/nan checks to the % lost displayed to ensure nothing breaks
  • Made the % lost displayed code always display the actual amount lost, even if other things break
  • Added a bunch of float casts so the math actually works
  • Changed how the credit scaling works to account for the fact party wipes exist, and also make the setting single player compatible

V 1.0.2

  • Added Disable Credit Loss At Company and Scale Credit Loss By Lobby Size config options
  • Updated README.md to be clearer
  • Updated mod description

V 1.0.1

  • Updated GitHub link
  • Unbroke config path so games can properly end now

V 1.0.0

  • Uploaded