

AllMapValuables is a host-only mod that allows valuables from all map pools to spawn on any playable map.
Vanilla REPO limits valuable candidates to the current map's ValuablePresets.
This mod merges valuable presets from all supported levels, then uses the current map's valuable spawn volumes to place them.
Because spawning is still performed by the host through the normal networked flow, only the host needs this mod.
The mod patches ValuableDirector.SetupHost().
Instead of reading only the current map's Level.ValuablePresets, it collects valuable presets from all valid levels in RunManager.instance.levels.
Each level contributes valuable prefabs into a global size-based pool.
The current map still provides the actual ValuableVolume spawn points, so spawn positions remain compatible with the loaded level.
This means the mod changes the valuable candidate source, not the map's physical spawn layout.
EnableMod
Enable or disable this mod.
Default: true
EnableVerboseLog
Enable detailed debug logging.
Default: false
FallbackToVanillaOnError
If enabled, the mod falls back to vanilla valuable generation when an internal error occurs.
Default: true
This section is created dynamically from valid playable levels.
Each level gets its own weight entry.
Default: 1
Minimum: 1
Maximum: 10
Higher values make valuables originating from that level more likely to be selected.
A weight of 1 means normal selection weight.
A weight of 10 means that level's valuables are much more likely to be chosen compared to levels left at 1.
Note that these config entries appear after the game reaches a state where level data is available and valuable generation runs.
The plugin patches ValuableDirector.SetupHost() and rebuilds the valuable source pool while preserving the vanilla size-based spawn process.
It also keeps the current map's ValuableVolume usage so spawn placement remains level-safe.
Resource selection is based on merged LevelValuables preset lists gathered from valid levels.
Per-level weights are applied when building weighted candidate pools before random selection.
AllMapValuables.dll into the BepInEx/plugins folderDesigned for host-only use.
Mods that fully replace ValuableDirector.SetupHost() may conflict.
AllMapValuables は、どのマップでも全マップ由来の貴重品を生成できるようにするホスト専用 MOD です。
バニラの REPO では、貴重品候補は現在のマップの ValuablePresets に限定されています。
この MOD は、対応する全レベルの貴重品プリセットを結合し、現在マップ側の貴重品スポーン地点を使って配置します。
生成そのものは通常どおりホストからネットワーク生成されるため、この MOD が必要なのはホストだけです。
この MOD は ValuableDirector.SetupHost() をパッチします。
現在マップの Level.ValuablePresets だけを読むのではなく、RunManager.instance.levels にある有効な全レベルから貴重品プリセットを収集します。
各レベル由来の貴重品 prefab をサイズ別の共通プールへ統合します。
一方で、実際のスポーン位置は現在ロード中のマップにある ValuableVolume をそのまま使うため、配置位置は現在マップに適合したままです。
つまり、この MOD は貴重品候補の取得元を変更するのであって、マップ側のスポーン地点構造そのものを変更するものではありません。
EnableMod
この MOD の有効無効
初期値: true
EnableVerboseLog
詳細デバッグログの有効無効
初期値: false
FallbackToVanillaOnError
内部エラー発生時に、バニラの貴重品生成へ自動復帰するかどうか
初期値: true
このセクションは、有効なプレイ用レベルを元に動的生成されます。
各レベルごとに 1 つずつ重み設定が作成されます。
初期値: 1
最小値: 1
最大値: 10
値を大きくすると、そのレベル由来の貴重品が選ばれやすくなります。
1 は通常重みです。
10 は、1 のままの他レベルよりかなり選ばれやすい設定です。
これらの Config 項目は、ゲームがレベル情報を利用可能な状態まで進み、実際に貴重品生成処理が走った後に表示されます。
このプラグインは ValuableDirector.SetupHost() をパッチし、バニラのサイズ別スポーン処理を維持したまま、貴重品候補プールだけを再構築します。
また、現在マップの ValuableVolume 利用を維持するため、スポーン位置の安全性も保ちやすい構成です。
リソース選択は、有効レベルから収集した LevelValuables の統合リストを元に行われます。
レベル別重みは、ランダム選択前の重み付き候補プール構築時に適用されます。
AllMapValuables.dll を BepInEx/plugins フォルダへ配置ホスト専用動作を前提にしています。
ValuableDirector.SetupHost() を完全に置き換える他 MOD とは競合する可能性があります。