ShopMoneySetter
【Host Only MOD】Sets or adds shop money at shop start.ショップ開始時の所持金を設定または加算できます
模組介紹 作者原文
ShopMoneySetter
COMPATIBLE WITH COSMETICS UPDATE V0.4.0.
This mod is a host-only mod that sets the shop money to a configured value or adds a configured bonus when the shop starts.
Overview
ShopMoneySetter temporarily changes the run money before shop item population, then applies the final configured money after the shop starts.
This helps control the shop budget while still allowing the shop stock generation to behave as intended.
Mod Type
Host Only MOD.
Only the host needs to install this mod.
Participants do not need to install it.
Main Features
- Temporarily applies shop population money before shop stock generation.
- Sets the final shop money directly when Direct Set Mode is used.
- Adds bonus money to the earned run money when Add Bonus Mode is used.
- Supports random ranges for direct set money and bonus money.
- Reapplies final shop money several times after shop start to reduce sync timing issues.
- Supports REPO v0.4.0 multi-shop behavior without relying on SemiFunc.IsLevelShop.
Configuration
| Section | Config | Description | Default | Min | Max |
|---|---|---:|---:|---:|---:|
| A General | EnableMod | Enables or disables this mod | true | false | true |
| A General | ShowDebugLog | Shows detailed debug logs | false | false | true |
| B Shop Populate | TemporaryShopPopulateMoneyK | Temporary money in k$ used only before shop item population | 100 | 0 | 2147483647 |
| C Direct Set Mode | MinMoneyK | Minimum final money in k$ when add mode is disabled | 0 | 0 | 2147483647 |
| C Direct Set Mode | MaxMoneyK | Maximum final money in k$ when add mode is disabled | 30 | 0 | 2147483647 |
| D Add Bonus Mode | EnableAddToEarnedMoneyMode | Adds bonus money instead of setting final money directly | false | false | true |
| D Add Bonus Mode | AddMoneyMinK | Minimum bonus money in k$ when add mode is enabled | 0 | 0 | 2147483647 |
| D Add Bonus Mode | AddMoneyMaxK | Maximum bonus money in k$ when add mode is enabled | 30 | 0 | 2147483647 |
| E Sync | FinalApplyRetryCount | Number of times to reapply final money after shop starts | 3 | 1 | 20 |
| E Sync | FinalApplyRetryIntervalSeconds | Interval in seconds between final money reapply attempts | 0.5 | 0 | 10 |
Mode Details
Direct Set Mode
When EnableAddToEarnedMoneyMode is false, the final shop money is selected from MinMoneyK to MaxMoneyK and applied directly.
Example:
- MinMoneyK = 10
- MaxMoneyK = 30
- Final shop money = randomly selected from 10k$ to 30k$
Add Bonus Mode
When EnableAddToEarnedMoneyMode is true, the mod preserves the money earned before the temporary shop population value is applied, then adds a bonus selected from AddMoneyMinK to AddMoneyMaxK.
Example:
- Earned money before shop = 45k$
- AddMoneyMinK = 5
- AddMoneyMaxK = 15
- Final shop money = 45k$ + random 5k$ to 15k$
Notes
- This mod changes the run currency in k$ units.
- The temporary shop population money is only used before shop item population.
- The final money is applied after the shop starts.
- If multiple money-related mods are installed, the last mod that writes run currency may override the result.
※Mod created by AI
ShopMoneySetter 日本語
COSMETICS UPDATE V0.4.0対応済み.
REPOが好きな日本人のための日本人のみのREPOのDiscordサーバーあります!
參加は以下のリンクから!
このMODは、ホスト専用の、ショップ開始時の所持金を設定値または加算ボーナスで変更するMODです。
概要
ShopMoneySetterは、ショップ品揃え生成前に一時所持金を適用し、ショップ開始後にConfigで指定した最終所持金を適用します。
これにより、ショップの品揃え生成用の予算と、実際にプレイヤーが使えるショップ所持金を分けて制御できます。
導入區分
Host Only MOD。
ホストだけが導入すれば動作します。
參加者の導入は不要です。
主な機能
- ショップ品揃え生成前に一時所持金を適用
- Direct Set Mode使用時に最終ショップ所持金を直接設定
- Add Bonus Mode使用時に稼いだ貯金へボーナス加算
- 直接設定金額とボーナス金額のランダム範囲指定に対応
- ショップ開始後に最終所持金を複數回再適用し、同期タイミングのズレを軽減
- SemiFunc.IsLevelShop に依存せず、REPO v0.4.0の複數ショップ仕様に対応
設定項目
| セクション | 設定値名 | 設定內容説明 | 初期値 | 設定可能最小値 | 設定可能最大値 |
|---|---|---:|---:|---:|---:|
| A General | EnableMod | MODの有効無効 | true | false | true |
| A General | ShowDebugLog | 詳細デバッグログ表示 | false | false | true |
| B Shop Populate | TemporaryShopPopulateMoneyK | ショップ品揃え生成前だけ使用する一時所持金(k$) | 100 | 0 |
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: