Skip to content

v2.3.3

Compare
Choose a tag to compare
@pacoito123 pacoito123 released this 09 Aug 13:07
a20d3c8

[v2.3.3] Miscellaneous fixes for various issues.

  • Purchasing items now immediately removes from the permanent item list (NOT the config file's itemWhitelist itself) when stockPurchased is set to disabled.
  • Made saleChance determine sales likelihood more accurately now.
    • My original goal was to recreate how the vanilla game handles sales, only parameterized to allow for configuration; however, due to integer rounding, a sales chance of e.g. 85% and above could end up being exactly the same as 100%, depending on the maxSaleItems setting.
  • Fixed Terminal.TextPostProcess() transpiler occasionally replacing other items' displayed prices when appending a sale tag to a rotating item.
    • Also simplified it significantly by doing what was used for the TerminalFormatter compatibility transpiler.
  • Made minDiscount be used for maxDiscount when minDiscount is greater than maxDiscount, just like the other range settings.
  • Added a couple more null checks and debug messages.