StoreRotationConfig
[v72] Configure the number of items in each store rotation, show them all, remove purchases, sort them, and/or enable sales for them. Also includes a fix for the terminal scrolling too far and skippin
截圖 共 1 張
模組介紹 作者原文
StoreRotationConfig
[](
[](
[](
Configure the number of items in each store rotation, show them all, remove purchases, sort them, and/or enable sales for them.
Description
Simple mod that adds configurability to the number of items that show up in the store every week.
Intended for when there's a large number of modded items (suits, furniture, etc.) in the store, and the vanilla store rotation makes it too unlikely to ever see a desired item in stock.
Compatible with v72. v2.5.1 and below should be compatible with v45, v49, v50, v56, v61, and v69, though the later releases of this mod are untested in these older versions, and downgrading to an even older release might be required.
Uses CSync (v5.0.1 and above) by Lordfirespeed to sync config settings between host and clients.
NOTE: In case an older version of CSync is needed, usually due to mods that have not yet updated to the latest versions, refer to the following table for which specific version of this mod to downgrade to:
| CSync | StoreRotationConfig |
|:-------------: |:-----------------: |
| v5.0.1 | v2.1.0+ |
| v4.1.0 | v2.0.1 |
| v3.1.1 | v1.3.0 |
Configuration
General
By default, the number of available items in the store is increased from 4-5 (vanilla) to 8-12, but this range can be configured via the minItems and maxItems config settings. Set both numbers to the same value to have a fixed number of items in every rotation. If minItems is larger than maxItems, both numbers are set to the larger value. To avoid any issues with negative numbers, the absolute value of these two settings is used when generating the store rotation.
Alternatively, the showAll setting (off by default) can be enabled to simply add every purchasable item to the store rotation. Partly intended for fixing name conflict issues when buying stuff at the terminal, but there should be no problems using it during a regular run.
Enabling the removePurchased setting (off by default) will prevent already-purchased items from showing up in future store rotations, and will also immediately remove newly-purchased items from the current rotation.
To guarantee an item showing up in the store rotation, its name can be added to the comma-separated itemWhitelist setting, which adds the specified items to every store rotation separate from the range of items defined by the minItems and maxItems settings. Likewise, to prevent items from ever showing up in the store rotation, its name can be added to itemBlacklist.
Rotation sales
As of v2.3.0, items in the rotating shop can be configured to occasionally go on sale. By default, there's a 33% chance for 1-5 items to go on sale with a discount ranging from 10-50% and rounded to the nearest ten, but everything is configurable.
The saleChance setting controls the percentage chance for rotating items to go on sale, with the sales system disabling itself completely if set to 0. The number of items that can be on sale at a time can be configured by the minSaleItems and maxSaleItems settings, and the amount that can be discounted can be configured by the minDiscount and maxDiscount. Whether or not discounts should be rounded to the nearest ten, like the regular store, is determined by the roundToNearestTen setting.
Client-side tweaks
The store rotation can be displayed in alphabetical order by enabling the sortItems setting
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: