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

BuyRateSettings

In-game alerts, jackpots, min/max, randomizer, last day rates

Date uploaded 9 months ago
Version 1.3.2
Download link MoonJuice-BuyRateSettings-1.3.2.zip
Downloads 46145
Dependency string MoonJuice-BuyRateSettings-1.3.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

Adds a bunch of modifiers for the Company's buying rates, along with alerts and jackpots!

All players need the mod installed. Config will sync with host.

normal alert jackpot alert

Current Features:

  • Buy rate alerts
  • Minimum rate
  • Maximum rate
  • Jackpot rate
  • Randomized rate
  • Last day rate

Default Settings

  • Buy Rate Alerts Enabled: True

  • Jackpot Rate Alerts Enabled: True

  • Alert Delay (Seconds): 3

  • Min/Max Rates Enabled: True

  • Minimum Rate: 20%

  • Maximum Rate: 120%

  • Randomized Rate Enabled: True

  • Last Day Rate Enabled: True

  • Last Day Rate Chance: 30%

  • Last Day Minimum Rate: 100%

  • Last Day Maximum Rate: 120%

  • Jackpot Rate Enabled: True

  • Jackpot Rate ONLY On Last Day: True

  • Jackpot Chance: 1%

  • Jackpot Minimum: 150%

  • Jackpot Maximum: 300%

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

Made with LethalCompany.Plugin.Sdk by Cryptoc1.

Known Issues / Compatibility

  • Use the Alert Delay setting to avoid conflicts with other mods that trigger the same type of alert at the same time (BetterEXP, DiscountAlerts, etc). I don't suggest setting the delay lower than 3 seconds.

Bug Reports, Feature Requests, & Contributing

If you've encountered an error or have a feature request, you may submit an issue on the mod's GitHub page or submit a PR to contribute to the mod (I'm shifting focus to other mods so I may not be adding many more features to it).

Alternatively, you can find me in the Lethal Company Modding Discord server.

When reporting an error, please include as much information as possible, such as any errors or logs from BepInEx, or a profile code for Thunderstore/R2modman.

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