You are viewing a potentially older version of this package. View all versions.
MoonJuice-BuyRateSettings-1.0.2 icon

BuyRateSettings

Edit the Company's buy rates to your liking! Min/max, randomizer, last day rates

Date uploaded 7 months ago
Version 1.0.2
Download link MoonJuice-BuyRateSettings-1.0.2.zip
Downloads 1049
Dependency string MoonJuice-BuyRateSettings-1.0.2

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

Buy Rate Settings

Edit the Company's buying rates to your liking!

Current features include:

  • Minimum rate
  • Maximum rate
  • Randomized rate
  • Last day rate range

Default Settings

  • Min/Max Rates Enabled: True
  • Minimum Rate: 20%
  • Maximum Rate: 120%
  • Randomized Rate Enabled: True
  • Last Day Rate Enabled: True
  • Last Day Minimum Rate: 100%
  • Last Day Maximum Rate: 120%

Heavily inspired by Random Sell Prices by hatfielddr / BigDaddy (My main goal was to enhance this mod with more flexibility and remove the LC_API dependancy).

Made with LethalCompany.Plugin.Sdk by Cryptoc1.

Bug Reports & Feature Requests

If you've encountered an error or have a feature request, please search for the mod in the Unnofficial Lethal Company Community Discord server and find the respective forum channel.

When reporting an error, please include as much information as possible, such as any errors or logs from BepInEx, or the version of the game or mod.

CHANGELOG

1.3.2

  • Fixed Last Day & Last Day Jackpot Rates showing on the first day of a new quota due to the deadline being set to -1

1.3.1

  • Fixed desync issues (all RNG is now seed based)
  • Fixed Jackpot Rate on any day (it was doing any day except the last day)
  • Config now syncs with host (alert popups are still client-sided)

1.3.0

  • Removed terminal command (it didn't sync with host properly and had issues with changing save files or reloading the game. I'm shifting focus to other mods so I don't have the time or interest in fixing this lol)
    • DELETE YOUR OLD CONFIG FILE TO REMOVE THE TERMINAL STUFF
  • Added last day rate chance - the chance that the last day rate will be within the range you have set instead of the vanilla 100%
  • Logging now shows unrounded rates as well
  • Open sourced the mod

1.2.1

  • New icon :)

1.2.0

  • Added new terminal command refresh rate that shows in the Other menu (EDIT: only works properly for host and has bugs)
  • Added config options to enable/disable the terminal command
  • Added config options to limit the terminal command's usage per day
  • Lots of code cleanup and restructuring
  • Massive thank you to my brother Cryptoc1 for holding my hand

1.1.2

  • Added a hidden, delayed rate setter - Sets the companyBuyRate variable a 2nd time after a 3 second delay to avoid the rate being overwritten by other mods at the start of a round or new quota. (NOTE: If you set the Alert Delay to less than 3 seconds, it may show the wrong rate in the alert. Just don't do that, that'd be weird.)

1.1.1

  • Added Alert Delay setting for compatibility with other mods that use the same alerts

1.1.0

  • Added in-game alerts for rates/jackpots
  • Added Jackpot rate
  • Added some logging
  • New icon
  • Updated config, readme, changelog

1.0.1

  • Added min/max range for last day rate
  • Updated config & readme (DELETE OLD CONFIG)

1.0.0

  • Initial release