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

DiscountFix

- Prevent prices from going negative. 価格がマイナスになるのを防ぎます

Date uploaded a week ago
Version 1.0.2
Download link yazirushi-DiscountFix-1.0.2.zip
Downloads 4863
Dependency string yazirushi-DiscountFix-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

DiscountFix

人数に応じた割引によって価格がマイナスになるのを防ぎます!
Discounts based on the number of people prevent prices from becoming negative!


具体的にこのmodが何をするのか(Feature)

割引の上限を新しく設けて、100%を超えないようにします。
A new discount cap will be established, not to exceed 100%.


コンフィグ(Config)

  • 最大割引率(MaxDiscountRate) (float)
    初期値:0.90 (90%)
    0.00〜1.00の範囲にすることを推奨
    initial value:0.90 (90%)
    A range of 0.00 ~ 1.00 is recommended.

  • 一人当たりの割引率(DiscountPerPlayer) (float)
    初期値:0.10 (10%)
    initial value:0.10 (10%)

-ログの有効化(EnableLogging) (bool)
初期値:false
ログが長いので気をつけてください。
initial value:false
Be careful, the log is long.


これで価格が -$- になることはないでしょう(多分)。
このmodがうまく動くことを祈る。
This will not make the price -$- (maybe).
Hope this mod works well.

1.0.2以前で二重に割引の処理が起きていたことにつきましては、誠に申し訳ございませんでした。
We deeply apologize for the double discount process that occurred prior to 1.0.2.

CHANGELOG

Changelog

1.0.3

2025-07-25

  • thunderstoreのページを変更(Change the thunderstore page)📒

1.0.2

2025-07-15

  • 二重で割引されていた問題を修正(Fixed double discount issue)🔧
  • ログのオンオフを可能にしました(Logging can be turned on and off)🔧

1.0.1

2025-07-15

  • 軽微な問題の修正(Fixed minor issues)🔧

1.0.0

2025-07-15

  • リリース(release)🎉