SharedStorage

版本 v1.2.1·更新於 2026-09-27

Cross-zone shared storage pool for workstations, building, planting and repairs. Includes the 1.2.0 snapshot API for Zombie Logistics.

模組介紹 作者原文

Shared Storage

install: install the BepInEx-BepInExPack dependency, then copy the included DLL to BepInEx/plugins/GraveyardKeeper2.SharedStorage.

Materials are scattered across different base zones, and moving them around is tedious?

Shared Base Storage combines eligible storage containers into one cross-zone material pool. Crafting, building, planting, town repairs, and other consumption paths can use materials from other zones without moving the items.

Features

  • Cross-zone crafting: workbenches can consume materials from eligible containers in other zones.
  • Building, planting, and repairs: the player-side material pool also sees other zones.
  • Vanilla storage remains intact: items are not relocated; the mod only widens which containers can satisfy a material check.
  • Performance work included: shared inventory-icon materials reduce the large-base Tab inventory stutter.
  • Workstation pickers default to local containers: the multi-panel picker windows stay fast unless explicitly enabled.
  • Zombie equipment protection: removed armour and tools stay in the local zone instead of being routed into another base.

Important: subscription is not auto-install

Workshop only downloads the files. The game does not automatically load Workshop DLLs. Copy the plugin once after subscribing.

Installation

  • Close the game.
  • Install BepInEx 5.4.x if needed.
  • Open CopyToGameFolder in this item and merge its BepInEx folder into the game folder.
  • Start the game and load a save.

GameFolder\BepInEx\plugins\GraveyardKeeper2.SharedStorage\GraveyardKeeper2.SharedStorage.dll

Configuration

File: GameFolder\BepInEx\config\gk2.sharedstorage.cfg

  • Enabled: master switch.
  • IncludeOtherZones: enable cross-zone material sharing.
  • ShareBuildAndPlantingPools: building, planting, repairs, and tooltips; enabled by default.
  • ShareWorkbenchItemSelectionPools: manual workstation pickers; disabled by default because they draw one panel per container.
  • OptimizeInventoryMaterials: reuse icon materials to reduce inventory redraw cost.
  • ExcludedZoneIds: optional zone blacklist.

Compatibility and related mods

  • Standalone. It does not require the other GK2 storage mods.
  • Zombie Cross-Zone Logistics requires SharedStorage 1.2.0 because 1.1.x does not expose the storage snapshot API.
  • No custom network, process, registry, dynamic-code, or save-data APIs are used.
  • BepInEx 5 / HarmonyX plugin. Harmony identity: gk2.sharedstorage.

Changelog

  • 1.2.0 (2026-09-27): added the read-only storage snapshot API and cached-container identity validation for Zombie Cross-Zone Logistics. Normal shared-storage behavior is unchanged from 1.1.1.
  • 1.1.1 (2026-09-26): shared icon materials to reduce Tab inventory lag; separate switch for workstation pickers; cache and master-switch fixes.
  • 1.1.0 (2026-09-25): building, planting, repairs, and picker support; local protection for items removed by zombies.
  • 1.0.0 (2026-09-24): initial crafting-pool implementation.

About

Source code is included in SourceCode. Report issues with BepInEx\LogOutput.log and your current mod list.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack

檔案與校驗

檔案名稱
SharedStorage-1.2.1.zip
檔案大小
46.1 KiB