yazirushi-DiscountFix icon

DiscountFix

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

Last updated 2 days ago
Total downloads 2503
Total rating 0 
Categories Mods
Dependency string yazirushi-DiscountFix-1.0.2
Dependants 2 other packages depend on this package

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.