Simple ValuableScaler
Host-or-single valuables spawn amount multiplier and per-size ratio multipliers.貴重品の生成量倍率とサイズ別生成割合倍率を変更するMOD
By REPO_JP
| Last updated | 12 hours ago |
| Total downloads | 88 |
| Total rating | 1 |
| Categories | Mods Valuables Server-side |
| Dependency string | REPO_JP-Simple_ValuableScaler-1.0.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.2304README
Simple_ValuableScaler
- Host-or-single valuables spawn amount multiplier + per-size ratio multipliers
Overview
-
What this mod does
- Multiplies the total amount of valuables spawned by the host (or in singleplayer)
- Provides per-size ratio multiplier configs to bias which size category is chosen
- Provides an option to bypass level-based size restrictions (config entry)
-
Who it is for
- Hosts who want a super simple way to increase or decrease valuables and control size distribution
-
What changes after installation
- The host scales
ValuableDirectorspawn limits during setup and can bias size category weights via config
- The host scales
Features
-
Host-or-single execution
- The spawn setup is host-driven (
ValuableDirector.SetupHostpatch) - Clients do not need the mod for host-side spawn amount changes to take effect
- The spawn setup is host-driven (
-
Total spawn amount scaling
- Hooks
ValuableDirector.SetupHost(enumerator transpiler) - Injects
ApplySettings(ValuableDirector inst)right aftervaluableTargetAmountis assigned - Reads and scales:
totalMaxAmount-> scaled byGeneral.AmountMultiplier
- Restores original values before applying scaling to avoid stacking
- Hooks
-
Per-size ratio multiplier configs (weight multipliers)
- Provides per-size multiplier config entries under
SizeMultiplier - Sizes:
TinySizeMultiplierSmallSizeMultiplierMediumSizeMultiplierBigSizeMultiplierWideSizeMultiplierTallSizeMultiplierVeryTallSizeMultiplier
- Intended behavior: set one size to
1.0and others to0.0to force 100% that size
- Provides per-size multiplier config entries under
-
Level size restriction bypass (config entry)
General.IgnoreLevelSizeRestrictions- Intended to allow valuables normally locked to higher levels to spawn on any level
Configuration
-
General.AmountMultiplier- Default:
1.5 - Range:
0.0..10.0 - Meaning: multiplies the total amount of valuables spawned
- Examples
1.0= vanilla2.0= roughly 2x valuables0.0= 0 valuables
- Default:
-
General.IgnoreLevelSizeRestrictions- Default:
false - Meaning: allow higher-level-only size valuables to spawn on any level
- Default:
-
SizeMultiplier.TinySizeMultiplier- Default:
1.0 - Range:
0.0..10.0 - Meaning: spawn ratio weight multiplier for Tiny valuables
- Default:
-
SizeMultiplier.SmallSizeMultiplier- Default:
1.0 - Range:
0.0..10.0 - Meaning: spawn ratio weight multiplier for Small valuables
- Default:
-
SizeMultiplier.MediumSizeMultiplier- Default:
1.0 - Range:
0.0..10.0 - Meaning: spawn ratio weight multiplier for Medium valuables
- Default:
-
SizeMultiplier.BigSizeMultiplier- Default:
1.0 - Range:
0.0..10.0 - Meaning: spawn ratio weight multiplier for Big valuables
- Default:
-
SizeMultiplier.WideSizeMultiplier- Default:
1.0 - Range:
0.0..10.0 - Meaning: spawn ratio weight multiplier for Wide valuables
- Default:
-
SizeMultiplier.TallSizeMultiplier- Default:
1.0 - Range:
0.0..10.0 - Meaning: spawn ratio weight multiplier for Tall valuables
- Default:
-
SizeMultiplier.VeryTallSizeMultiplier- Default:
1.0 - Range:
0.0..10.0 - Meaning: spawn ratio weight multiplier for VeryTall valuables
- Default:
Usage
-
Minimal steps
- Install the mod on the host (or in singleplayer)
- Launch the game once to generate the config
- Set
General.AmountMultiplier - Optionally adjust
SizeMultiplier.*to bias or force sizes - Start a run and valuables are scaled automatically
-
Notes
- Works only for host or singleplayer
- Clients do not need the mod for the host’s valuables scaling to apply
Contact
Simple_ValuableScaler
- 貴重品生成量倍率 + サイズ別生成割合倍率を変更するホスト/ソロ専用MOD
概要
-
このMODが何をするか
- ホスト(またはソロ)で貴重品の総生成量を倍率変更
- サイズ別の生成割合倍率設定を用意し サイズの偏りを調整可能
- レベル依存サイズ制限解除のオプションを用意(設定項目)
-
どんな人向けか
- 超シンプルに貴重品の量とサイズ比率だけを調整したいホスト向け
-
導入で何が変わるか
- セットアップ時に
ValuableDirectorの上限が倍率適用され サイズの重みを設定で調整できる
- セットアップ時に
特徴
-
ホスト/ソロ前提動作
ValuableDirector.SetupHostのパッチにより ホスト側のセットアップで倍率適用- クライアントはMOD不要で ホスト側の生成量変更が反映される
-
総生成量の倍率変更
ValuableDirector.SetupHost(Enumerator)に Transpiler で注入valuableTargetAmount設定直後にApplySettings(ValuableDirector inst)を呼ぶtotalMaxAmountをGeneral.AmountMultiplierで倍率適用- 多重適用を避けるため 毎回元値へ復元してから倍率適用
-
サイズ別生成割合倍率(重み倍率)
SizeMultiplierセクションにサイズ別倍率を用意- 対象サイズ
- Tiny / Small / Medium / Big / Wide / Tall / VeryTall
- 想定例
- Tallだけ
1.0他を0.0にすると Tallのみ生成に寄せられる
- Tallだけ
-
レベル制限解除(設定項目)
General.IgnoreLevelSizeRestrictions- 本来高レベル限定のサイズ貴重品を全レベルで生成可能にする想定
設定
-
General.AmountMultiplier- 既定値:
1.5 - 範囲:
0.0..10.0 - 意味: 貴重品の総生成量へ倍率適用
- 例
1.0= バニラ2.0= だいたい2倍0.0= 0個
- 既定値:
-
General.IgnoreLevelSizeRestrictions- 既定値:
false - 意味: 高レベル限定のサイズ貴重品を全レベルで生成可能にする
- 既定値:
-
SizeMultiplier.TinySizeMultiplier- 既定値:
1.0 - 範囲:
0.0..10.0 - 意味: Tinyサイズの生成割合重み倍率
- 既定値:
-
SizeMultiplier.SmallSizeMultiplier- 既定値:
1.0 - 範囲:
0.0..10.0 - 意味: Smallサイズの生成割合重み倍率
- 既定値:
-
SizeMultiplier.MediumSizeMultiplier- 既定値:
1.0 - 範囲:
0.0..10.0 - 意味: Mediumサイズの生成割合重み倍率
- 既定値:
-
SizeMultiplier.BigSizeMultiplier- 既定値:
1.0 - 範囲:
0.0..10.0 - 意味: Bigサイズの生成割合重み倍率
- 既定値:
-
SizeMultiplier.WideSizeMultiplier- 既定値:
1.0 - 範囲:
0.0..10.0 - 意味: Wideサイズの生成割合重み倍率
- 既定値:
-
SizeMultiplier.TallSizeMultiplier- 既定値:
1.0 - 範囲:
0.0..10.0 - 意味: Tallサイズの生成割合重み倍率
- 既定値:
-
SizeMultiplier.VeryTallSizeMultiplier- 既定値:
1.0 - 範囲:
0.0..10.0 - 意味: VeryTallサイズの生成割合重み倍率
- 既定値:
使い方
-
最短手順
- ホスト または ソロにMODを導入
- 1回起動して設定ファイル生成
General.AmountMultiplierを設定- 必要に応じて
SizeMultiplier.*を調整 - Run開始で自動的に貴重品生成量が倍率適用される
-
注意点
- 動作するのはホスト または ソロのみ
- クライアント側はMOD不要で ホスト側の生成量変更が反映される