Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
ShopMoneySetter
【Host Only MOD】Set shop money to a configured value or random range, with optional bonus-style extra money. ショップ所持金を設定値またはランダム範囲に変更し、追加ボーナス金額にも対応
By REPO_JP
| Last updated | a month ago |
| Total downloads | 5050 |
| Total rating | 7 |
| Categories | Mods Server-side |
| Dependency string | REPO_JP-ShopMoneySetter-1.2.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
ShopMoneySetter
ShopMoneySetter is a host-only mod that changes the money used in the shop.
Its main function is direct money setting. You can set a fixed shop money value or a random value between minimum and maximum.
It also has a sub feature that works like a bonus. When enabled, the mod keeps the earned money and adds a random extra amount on top.
Only the host needs to install this mod.
Overview
This mod provides two money control styles for the shop.
The first style is direct setting. It changes the final shop money to a configured fixed value or to a random value between MinMoneyK and MaxMoneyK.
The second style is bonus mode. It keeps the run's earned money and adds a random extra amount between AddMoneyMinK and AddMoneyMaxK.
This makes it easy to use the mod either as a strict shop money controller or as a reward-style bonus system.
Features
Direct money setting Set the shop money to a fixed value or random range
Bonus-style extra money Optionally add a random bonus amount to the earned money
Host-only behavior Only the host needs this mod
Config-based control All behavior is controlled from BepInEx config
Configuration
EnableMod
Enable or disable this mod
Default value
true
Minimum value
true
Maximum value
true
MinMoneyK
Minimum final money in k$ when bonus mode is disabled
Default value
0
Minimum value
0
Maximum value
No limit
MaxMoneyK
Maximum final money in k$ when bonus mode is disabled
Default value
30
Minimum value
0
Maximum value
No limit
If MinMoneyK and MaxMoneyK are the same value, the result becomes fixed instead of random.
EnableAddToEarnedMoneyMode
Enable bonus mode
Default value
false
Minimum value
false
Maximum value
true
When disabled, the mod uses direct money setting. When enabled, the mod keeps the earned money and adds a random extra amount.
AddMoneyMinK
Minimum bonus amount in k$ when bonus mode is enabled
Default value
0
Minimum value
0
Maximum value
No limit
AddMoneyMaxK
Maximum bonus amount in k$ when bonus mode is enabled
Default value
30
Minimum value
0
Maximum value
No limit
If AddMoneyMinK and AddMoneyMaxK are the same value, the added bonus becomes fixed instead of random.
Example
Example 1
Earned money
25k$
EnableAddToEarnedMoneyMode
false
MinMoneyK
40
MaxMoneyK
60
Result
The final shop money becomes a random value between 40k$ and 60k$
Example 2
Earned money
25k$
EnableAddToEarnedMoneyMode
true
AddMoneyMinK
10
AddMoneyMaxK
20
Result
The final shop money becomes a random value between 35k$ and 45k$
Details
Internally, the mod supports stable full shop generation even when the player enters the shop with very low money.
To avoid incomplete shop generation in that situation, the mod temporarily uses a high currency value before shop inventory generation, then applies the configured direct value or bonus-adjusted value after the shop has started.
This internal handling is only a support mechanism. The main visible behavior for players is still the money setting feature and the optional bonus feature.
Compatibility
Host-only mod
Designed for BepInEx 5.4.x
Notes
This mod changes shop money logic intentionally. If another mod also changes shop currency or shop initialization timing, behavior may conflict.
ShopMoneySetter
ShopMoneySetterは、ショップで使う所持金を変更するホスト専用MODです。
メイン機能は価格設定です。 ショップで使う所持金を固定値、または最小値と最大値の範囲からランダムで設定できます。
サブ機能として、ボーナスのように追加金額を加算する機能もあります。 これを有効にすると、稼いだ貯金を残したまま、その上にランダムな追加金額を加算できます。
このMODはホストのみ導入すれば動作します。
概要
このMODには、ショップ所持金を制御する2つの使い方があります。
1つ目は直接設定です。 MinMoneyK と MaxMoneyK を使って、ショップでの最終所持金を固定値またはランダム範囲で設定します。
2つ目はボーナスモードです。 そのランで稼いだ貯金を基準にして、AddMoneyMinK と AddMoneyMaxK の範囲からランダムな追加金額を加算します。
そのため、厳密な所持金調整用としても使えますし、報酬を上乗せするようなボーナス用としても使えます。
機能
直接所持金設定
ショップ所持金を固定値またはランダム範囲で設定
ボーナス式追加金額
稼いだ貯金にランダムな追加金額を上乗せ可能
ホスト専用動作
ホストのみ導入で動作
Config制御
全ての挙動をBepInEx Configで設定可能
設定項目
EnableMod
このMODの有効無効
初期値
true
設定可能最小値
true
設定可能最大値
true
MinMoneyK
ボーナスモード無効時の最終所持金最小値(k$)
初期値
0
設定可能最小値
0
設定可能最大値
制限なし
MaxMoneyK
ボーナスモード無効時の最終所持金最大値(k$)
初期値
30
設定可能最小値
0
設定可能最大値
制限なし
MinMoneyK と MaxMoneyK が同じ場合、ランダムではなく固定値になります。
EnableAddToEarnedMoneyMode
ボーナスモードの有効無効
初期値
false
設定可能最小値
false
設定可能最大値
true
false の場合は直接設定を使用します。 true の場合は稼いだ貯金を残したまま追加金額を加算します。
AddMoneyMinK
ボーナスモード有効時の追加金額最小値(k$)
初期値
0
設定可能最小値
0
設定可能最大値
制限なし
AddMoneyMaxK
ボーナスモード有効時の追加金額最大値(k$)
初期値
30
設定可能最小値
0
設定可能最大値
制限なし
AddMoneyMinK と AddMoneyMaxK が同じ場合、追加金額はランダムではなく固定値になります。
使用例
例1
稼いだ貯金
25k$
EnableAddToEarnedMoneyMode
false
MinMoneyK
40
MaxMoneyK
60
結果
最終所持金は 40k$ ~ 60k$ のランダム値になります
例2
稼いだ貯金
25k$
EnableAddToEarnedMoneyMode
true
AddMoneyMinK
10
AddMoneyMaxK
20
結果
最終所持金は 35k$ ~ 45k$ のランダム値になります
詳細
内部的には、所持金が少ない状態でショップへ入ったときでも、ショップの商品生成が安定するように補助処理を行っています。
そのため、ショップの商品生成前に一時的に高い通貨値を使い、ショップ開始後に最終的な設定金額またはボーナス加算後の金額へ反映する流れになっています。
この内部処理はあくまで補助用です。 プレイヤーから見える主機能は、価格設定機能と、必要に応じた追加ボーナス機能です。
互換性
ホスト専用MOD
BepInEx 5.4.x 向け
注意事項
このMODはショップ所持金の挙動を意図的に変更します。 他のショップ通貨変更系MODや、ショップ初期化タイミングを変更するMODと併用した場合は競合する可能性があります。