SoCRebalancePlugin
Makes purchases at the Shrine of Chance a viable choice in the early game.
模組介紹 作者原文
Shrine of Chance Rebalance
In the vanilla game, the Shrine of Chance is a high-risk, low reward shrine without much use outside of the mid-end game or playing as Captain with hacking beacons. This mod aims to buff the Shrine of Chance, while keeping the vanilla high-risk gambling mechanic of occasionally rewarding you nothing at all. But now instead of purely wasting your money, each consecutive time you fail a Shrine of Chance, your chances of acquiring an item of higher rarities increases. Now the Shrine of Chance encourages a gambling, high-risk high-reward playstyle.
What This Mod Changes (as of version 1.1.0)
- If the Shrine of Chance is hacked by a Captain beacon, it will revert to its vanilla behaviour. This can be disabled by configuring isBeaconHackingAllowed.
- The first time you interact with the Shrine of Chance, the drop rates are the same as in the vanilla game;
- but the more consecutive fails you have on the same shrine, the higher is the chance for you to get a higher quality drop. (The exact drop rates are shown in the table at the bottom of this chapter.)
- After getting a successful gamble/drop at the Shrine, the drop rates reset.
- If a red item drops, the Shrine of Chance will immediately deactivate regardless of how many items it has dropped already.
- The colour of the interaction effect now changes with the rarity of the item dropped.
| Consecutive Fails | Drop Chances |
|:-|---|
| 0 | Nothing: 45%
White (Common): 36%
Green (Uncommon): 9%
Red (Legendary): 1%
Orange (Equipment): 9%|
| 1 | Nothing: 44%
White (Common): 29%
Green (Uncommon): 17%
Red (Legendary): 2%
Orange (Equipment): 8%|
| 2 | Nothing: 44%
White (Common): 6%
Green (Uncommon): 34%
Red (Legendary): 6%
Orange (Equipment): 11%|
| 3 | Nothing: 43%
White (Common): 4%
Green (Uncommon): 33%
Red (Legendary): 11%
Orange (Equipment): 9%|
| 4 | Nothing: 43%
White (Common): 1%
Green (Uncommon): 37%
Red (Legendary): 15%
Orange (Equipment): 4%|
| 5 | Nothing: 44%
White (Common): 0%
Green (Uncommon): 26%
Red (Legendary): 30%
Orange (Equipment): 0%|
| 6 | Nothing: 0%
White (Common): 1%
Green (Uncommon): 0%
Red (Legendary): 99%
Orange (Equipment): 0%|
Future Plans
I plan to refine and better organise my code. Furthermore, I plan to add lots of configurable parameters to my mod, such as the drop rates, shrine cost and more.
Feedback Is Very Much Welcomed
If you have any feedback, comments, or problems with the mod, I prefer you head over to my Github to post your 'issue'. If you feel like directly giving me feedback, you can always send me a friend request and give me your feedback directly on Discord. My Discord handle is: Luma#0069.
Compatibility
This mod works with or without SoTV. Very important; this mod is not compatible with any mod that changes/reads/modifies the Shrine of Chance's functions or methods. As far as I know, very few mods do anything with the Shrine of Chance already, so it probably will not cause you any trouble.
Confirmed Incompatibilities
- Quality of Rain's feature that makes shrines activate faster does not work apply to the Shrine of Chance while this mod is enabled. You can change the activation speed through configuration of this mod. Quality of Rain still works fine otherwise.
Changelog
- 1.1.0
- Configs introduced:
- MaximumPurchaseCount can now be configured.
- refreshTimer can now be configured.
- costMultiplier can now be configured.
- deactivateIfRedItemDrops and isBeaconHackingAllowed can now be disabled.
- Configs can be hot-reloaded with the console command: SoC_reload_config. This also works in multiplayer games.
- Changed how the interaction effects work
- The colour of the effect on interaction is now depending on the item rarity dropped.
- Cleaned up a lot of code.
- 1.0.2-beta
Fixed missing effect and sound when interacting with the shrine.
- 1.0.1-beta
Fixed some leftover code used for debugging.
- 1.0.0-beta
Release!
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: