Skip to content

v2.4.0

Compare
Choose a tag to compare
@pacoito123 pacoito123 released this 13 Aug 23:55
f96b039

[v2.4.0] Basic API added for rotation sales, enabled 'Nullable' in the project file.

  • Created RotationSalesAPI class, which contains several helper methods for interacting with the rotation sales system.
    • Meant for other mods to use to check if an item is on sale, obtain its discount value and discounted price, add or remove discounts for specific items, among other things.
  • Modified TerminalItemSalesPatches and TerminalFormatterCompatibility to use the new API.
  • Enabled Nullable value types in the .csproj file so the compiler can yell at me if I forget a null check somewhere.
    • Should fix any current and (hopefully) future issues regarding null types (e.g. issue #3).
  • Added terminalFormatterCompat setting to toggle compatibility with TerminalFormatter.
    • This setting will be removed soon-ish, once compatibility is handled from their end.