You are viewing a potentially older version of this package. View all versions.
RapidRabbits-CrossZoneZombieSupply-1.0.0 icon

CrossZoneZombieSupply

Caretaker zombies use storage across all zones while walking to the nearest container in their own zone.

Date uploaded 2 weeks ago
Version 1.0.0
Download link RapidRabbits-CrossZoneZombieSupply-1.0.0.zip
Downloads 16
Dependency string RapidRabbits-CrossZoneZombieSupply-1.0.0

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

Graveyard Keeper 2 Cross Zone Zombie Supply

A BepInEx mod for caretaker zombies at zombie supply stations. When a delivery order needs an item, the mod counts eligible storage across every saved scene. If the total is sufficient, the zombie walks to the nearest storage container in its own zone, withdraws that order's one item type from storage in any zone, and completes the normal delivery.

The zombie still walks, waits at the container, and delivers using the game's original behavior. No individual container needs to hold the full order quantity. The mod is enabled by default.

Installation

  • Install BepInExPack 5.4.2305 and this package with Thunderstore Mod Manager, then launch Modded.
  • For manual installation, copy CrossZoneZombieSupply.dll to BepInEx/plugins/CrossZoneZombieSupply/.
  • After the first launch, set Enabled = false in BepInEx/config/sieme.gk2.cross-zone-zombie-supply.cfg to disable the mod. Restart the game after changing it.

The mod uses the game's inventory white and black lists when selecting resource sources. If resources disappear while the zombie is walking, the pickup falls back to the game's original handling. It only changes caretaker delivery orders; gardeners, porters, conveyors, and player inventory actions are untouched. The mod does not add save data.

Another mod that patches caretaker order checks or pickup may conflict. In particular, use this mod or ZombieLogistics for caretaker cross-zone supply, rather than both.

Build

On Windows, extract the official BepInEx 5.4.23.5 Windows x64 archive to vendor/BepInEx, then run:

.\build.ps1 -GameDir 'C:\path\to\Graveyard Keeper 2'

The script uses the game's managed assemblies and Windows .NET Framework C# compiler. The resulting DLL is dist/CrossZoneZombieSupply.dll. tools/inspect-il.ps1 was used to inspect this game's caretaker methods during development.

中文说明

补给站的看护僵尸会统计所有区域合格箱子中的资源。总量足够时,它走向自己区域内最近的箱子,从任意区域扣取当前订单的一种物品,再按原版流程送货。功能默认开启。

Verification

Compiled against the local Graveyard Keeper 2 Mono assembly, installed through Thunderstore's Default profile, and confirmed working in game by the requesting player. Game updates may change the patched methods; rebuild and retest after an update.

CHANGELOG

Changelog

1.1.0

  • Allow construction outside work zones to count materials in all saved-scene storage chests and the player backpack.
  • Consume materials across those sources through the game's normal crafting inventory flow.
  • Add a separate, default-on GlobalConstructionStorage setting.

1.0.0

  • Count eligible storage across all saved scenes for caretaker delivery orders.
  • Walk to the nearest storage container in the caretaker's current zone.
  • Withdraw the order's item type across zones after the normal pickup delay.
  • Enable by default with a BepInEx configuration switch.