Dynamic Resource Control (Old: Rich Resources)
Tired of endlessly searching for new resource patches? Rich Resources is a quality-of-life mod that allows you to multiply the richness of all ore, oil, and other resource patches on the map.
It is lightweight, highly compatible with other mods, and settings can be changed mid-game without restarting.
Key Features
- Universal Multiplier: Multiplies the richness of all resource patches (ores, oil, modded resources).
- Distance Scaling: Optional bonus that increases resource richness further away from the starting area.
- Runtime Configuration: Settings are located in the Map tab. You can change multipliers mid-game.
- Retroactive Application: Automatically works on existing resources on your map. It processes chunks in the background to preserve performance.
- Depletion Recovery: Can revive depleted resources (e.g., oil wells at 0% yield) by setting a "Minimum Base Amount".
- Scarcity Option: Supports values as low as 0.001x if you want to reduce resources for a challenge.
- Maintenance & Reset: Includes tools to apply additional multipliers to already processed resources or reset them entirely.
- High Compatibility: Works with Krastorio 2, Space Exploration, Bob's Mods, etc.
How to Use
- Load your game.
- Go to Settings -> Mod Settings -> Map.
- Adjust the settings according to your needs (see below).
- The mod will automatically process resources in the background.
Settings Guide
1. Resource Richness Multiplier
- Description: The main multiplier value.
- Range: 0.001 to 10000.
- Default: 1.0 (No change).
- Set this to
2.0to double resources, or100.0for practically infinite ores.
2. Infinite Resource Minimum Base
- Description: Used for calculating richness for infinite resources (like Oil) that are depleted or very low.
- Default: 300,000 (300%).
- If an oil well is at 0% (yield), the mod uses this value as the base before applying the multiplier.
- Formula:
(Amount + 1) * Multiplier(If effectively 0, uses Min Base).
3. Finite Resource Minimum Base
- Description: Minimum base amount for finite resources (ore patches).
- Default: 1.
- Ensures that even the smallest scraps of ore are multiplied correctly.
4. Distance Bonus Settings
- Enable Distance Bonus: If enabled, adds an extra multiplier based on distance from the start (0,0).
- Distance Interval: The distance in tiles for the bonus calculation (Default: 1000).
- Distance Rate: The bonus rate added per interval (Default: 0.5).
- Example: With Rate 0.5, you get +50% richness every 1000 tiles.
5. Maintenance Multiplier
- Description: Apply an additional multiplier to resources that have already been processed by this mod.
- Usage: Use this if you already multiplied resources to 10x but decided later you want 20x.
6. Reset Processed List
- Description: Resets the internal tracking tags (Generation system).
- Usage: Allows the mod to treat all resources as "new" again, reapplying the main multiplier from scratch. The setting automatically turns off after completion.
Testing & Reliability
This mod has undergone extensive testing to ensure reliability in various scenarios (v1.4.2):
- Depleted Resource Recovery: Confirmed that infinite resources showing 0% (depleted) can be revived to functional levels using the "Minimum Base Amount" logic.
- Finite Resources: Verified consistent multiplication for both large ore patches and small remaining scraps.
- Maintenance Mode: tested stacking multipliers (e.g., applying x0.5 then x2.0) with robust tag checks and queue management to prevent crashes or double-processing.
- Generation Reset: Validated the ability to reset processing history to re-apply multipliers from scratch.
Dynamic Resource Control (Old: Rich Resources) (JP:日本語説明)
新たな資源パッチを探し回るのに疲れましたか? Rich Resources は、マップ上のすべての鉱石や原油などの資源パッチの「豊富さ(Richness)」を自在に調整できるMODです。
ゲームプレイ中の設定変更、既存マップへの適用、枯渇した資源の復活などが可能です。
■ 主な特徴
- 汎用的な倍率設定: すべての資源パッチ(MOD追加資源含む)の埋蔵量を乗算します。
- 距離ボーナス: スタート地点から遠く離れるほど、資源をさらに豊富にするオプション機能があります。
- ゲーム内設定: 設定は「マップ(Map)」タブにあり、再起動なしでいつでも変更可能です。
- 既存マップ対応: 既に生成済みのエリアにある資源に対しても、バックグラウンドで自動的に倍率を適用します。
- 枯渇資源の復活: 採掘し尽くして0%になった油田なども、「最小ベース量」設定により実用的な量まで復活させることができます。
- 資源減少も可能: 倍率は 0.001倍 から設定可能なため、資源を極端に減らしたハードコアなプレイも可能です。
■ 使い方
- ゲームをロードします。
- 「設定」→「MOD設定」→「マップ」 タブを開きます。
- 各項目を設定してください。
- 設定を確定すると、自動的に処理が開始されます。
■ 設定項目の詳細
1. 資源の豊富さの倍率 (Resource Richness Multiplier)
- メインとなる倍率設定です。
- 範囲: 0.001 ~ 10000
- デフォルト: 1.0
2. 無限資源の最小ベース量 (Infinite Resource Minimum Base)
- 原油などの無限資源が枯渇している(あるいは非常に少ない)場合の計算用ベース値です。
- デフォルト: 300,000 (300%)
- 枯渇して「収量: 0%」などの表記になっている油田でも、この値を基準にして倍率がかかるため、再び採掘可能になります。
3. 有限資源の最小ベース量 (Finite Resource Minimum Base)
- 通常の鉱石などが極端に少ない場合の保護用ベース値です(デフォルト: 1)。
4. 距離ボーナス設定 (Distance Bonus)
- 距離ボーナスを有効化: ONにすると、スタート地点(0,0)から離れるほど倍率が加算されます。
- ボーナス距離間隔: ボーナス計算の基準となる距離(タイル数)です。デフォルト: 1000。
- 距離ごとのボーナス率: 上記の間隔ごとに加算される係数です。
- 例: ボーナス率 0.5 の場合、1000タイル離れるごとに +50% ずつ最終倍率が増加します。
5. 追加変更倍率:メンテナンス (Maintenance Multiplier)
- 既にこのMODで倍率変更済みの資源に対して、さらに追加で倍率を掛けたい場合に使用します。
- 例: 最初10倍で遊んでいたが、途中からさらに2倍(計20倍)にしたくなった場合など。
6. 処理済みリストをリセット
- 資源に付与された管理タグ(世代情報)をリセットします。
- これを有効にすると、全ての資源が「未処理」扱いとなり、メインの倍率設定が再適用されます。処理完了後、自動的にオフになります。
■ 開発とテストについて
本MODはv1.4.2のリリースにあたり、以下のような徹底的なテストを行っています:
- 枯渇資源の復活テスト: 残量がほぼゼロ(0%表記)の油田に対し、単純な乗算ではなく「最小ベース量」を用いることで、実用的な産出量まで確実に復活することを確認しました。
- データ引き継ぎとリセット: リセット機能を使用することで、既存の処理済みタグをクリアし、再び倍率を適用できることを確認済みです。
- メンテナンスモードの検証: 稼働中のマップで、既に処理済みの鉱石に対してさらに倍率を追加(重ね掛け)する際の挙動を検証しました。非同期処理システムにより、ゲームの動作を阻害せず安全に実行されます。