PlanetwideAmmoSupply
Auto-restock turrets and battle bases with ammo and fighters pulled from the planet's logistics network (ILS/PLS). Consumes real station stock. Planetwide by default, configurable reach, highest-tier
模組介紹 作者原文
PlanetwideAmmoSupply
Your turrets never run dry - the whole planet restocks them for you.
Author: zicarius
Version: 1.0.0
Game: Dyson Sphere Program 0.10.x (built against 0.10.34)
Loader: BepInEx 5.4.17+
For anyone tired of belting ammo to every single turret. This mod feeds
your planetary defenses straight from your logistics network.
What it does
Every turret and battle base on a planet is topped up with ammo (and
fighters) pulled straight from that planet's logistics stations (ILS/PLS)
- no belts, no manual runs. The ammo is drawn from real station stock,
so it isn't free: a station has to actually hold the ammo for it to be
used. When you're not looking, your defenses stay loaded.
Features
- Auto-restock turrets with ammo pulled from the planet's logistics network.
- Auto-restock battle bases with ammo and fighters from logistics.
- Consume model - ammo comes from real station stock, not thin air.
- Planetwide by default - or set a limited radius if you want turrets to pull only from nearby stations.
- Highest-tier ammo preference - empty turrets fill with the best ammo you have in stock (toggleable).
- Nearest-station-first sourcing so the closest depot is drained first.
- Cheap - a throttled scan (not every tick), so it stays light on UPS.
- Config-only - no in-game UI; every setting lives in the BepInEx config file.
Installation
Via r2modman Mod Manager (recommended):
- Install r2modman or the Mod Manager.
- Search "Dyson Sphere Program" and set up a profile.
- Search "PlanetwideAmmoSupply" in the Online tab and install.
- Launch the game through the mod manager.
Manual install:
- Install BepInEx 5 for Dyson Sphere Program.
- Download the latest PlanetwideAmmoSupply-.zip from the
Releases page.
- Extract the ZIP into your Dyson Sphere Program folder so the
plugins\ path lands inside BepInEx\plugins\.
- Launch the game once. BepInEx creates
BepInEx\config\com.zicarius.PlanetwideAmmoSupply.cfg with the defaults.
- (Optional) Edit that.cfg to taste - with the game closed, then relaunch.
Before you install
This is a BepInEx plugin - it patches the game's code at runtime using
Harmony patches.
- Only download from sources you trust. Only this mod's
page or the GitHub repo - treat
re-uploads elsewhere as unsafe.
- Game updates can break it. A DSP update may stop this mod from
working until a compatibility update is released.
- Save-safe by design. This mod stores nothing in your save. It
only tops up existing turret/battle-base ammo from existing station
stock while you play. Remove it any time and your save stays vanilla -
your defenses simply stop auto-refilling.
Configuration
All settings live in the BepInEx config file - there is no in-game
settings window. Edit it with the game closed, then relaunch (config is
read at launch).
| Setting | Default | Description |
|---|---|---|
| General > Enabled | true | Master switch. Off = fully inert, vanilla belt supply unchanged. |
| General > SupplyTurrets | true | Auto-refill turret ammo from logistics. |
| General > SupplyBattleBases | true | Auto-refill battle-base ammo and fighters from logistics. |
| General > PreferHighestAmmoTier | true | Fill empty turrets with the highest available ammo tier (false = cheapest). |
| General > SupplyRadius | 0 | Max distance (world units) from a structure to a station. 0 = planetwide (recommended). A standard planet is ~200-unit radius; small values match almost nothing. |
| General > NearestStationFirst | true | Drain the closest eligible station first. |
| General > RefillIntervalTicks | 60 | Ticks between refill scans (~60 = 1s). Higher = cheaper. |
| Advanced > RequireStationSupplyFlag | false | If true, only pull from station slots set to Supply (never Demand/Storage). |
| Advanced > FighterItemFilter | _(empty)_ | Optional: restrict which fighter/ammo items battle bases pull. |
| Advanced > VerboseScan | false | With DebugLog on, logs a periodic scan heartbeat (and
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: