UnlimitedBreeding
Removes only the vanilla 'too many animals/eggs nearby' limit so tamed animals keep breeding and hens keep laying eggs. Optional own cap and radius. Everything else stays vanilla.
截圖 共 1 張
模組介紹 作者原文
UnlimitedBreeding
Removes only Valheim's "too many animals nearby" restriction. In vanilla, breeding and egg
laying stop once a pen holds a few animals (or eggs) within about 10 m - this mod lets tamed animals
keep breeding and hens keep laying eggs past that limit.
Everything else stays exactly as in vanilla: taming, feeding/hunger, pregnancy time, breeding
chance, growth, egg hatching and normal spawning are untouched. It works for every animal that
uses Valheim's shared breeding system (boars, wolves, lox, hens,...).
What it changes
Vanilla checks, before a tamed animal may start breeding or laying an egg, how many adults of its
kind plus how many offspring/eggs are within its check radius, and refuses once that reaches the
animal's limit. This mod only replaces that single comparison. All other conditions (tamed, not
hungry, not alarmed, partner nearby, love points,...) are still checked by the game as usual.
Configuration
Settings live in BepInEx/config/com.cube.unlimitedbreeding.cfg, generated on first run:
| Setting | Default | Description |
|---|---|---|
| BypassNearbyBreedingLimit | true | Ignore the nearby limit for animal breeding. |
| BypassNearbyEggLimit | true | Ignore the nearby limit for egg laying (hens). Set breeding to false and eggs to true for "eggs only". |
| MaxNearbyCreatures | 0 | 0 = no limit at all. A number above 0 = your own cap instead (breeding / egg laying stops once that many animals + eggs are nearby). |
| NearbyRadius | 0 | Radius in meters used to count animals and eggs for your own cap. 0 = the animal's vanilla radius. Only used while MaxNearbyCreatures is above 0. |
| DebugLogging | false | Logs (at most once a minute per animal) when the vanilla limit would have blocked something. |
Eggs
With unlimited egg laying a pen can fill up with hundreds of egg objects (which costs FPS), so there is an optional pickup:
| Setting | Default | Description |
|---|---|---|
| PickupKey | Shift+E | Press to collect all eggs within PickupRadius into your inventory. Set to None to turn the key off. |
| AutoPickup | false | Collect eggs in the radius automatically (about every 2 seconds, while your inventory has room). |
| PickupRadius | 10 | Radius in meters for the key and the automatic pickup. |
| SkipHatchingEggs | true | Leave eggs that are currently warm/hatching alone. |
Multiplayer (experimental)
| Setting | Default | Description |
|---|---|---|
| ClaimOwnershipOfBreeders | false | Take over ownership of the tamed breeding animals around you, so the mod also works for them when other players near the farm don't have it installed. |
| ClaimOwnershipRadius | 30 | Radius in meters in which animals are claimed. |
Multiplayer
Breeding is decided by whichever player's game currently "owns" the animal - normally someone
standing near the farm. By default everyone who plays near your animals should have the mod
installed; otherwise the vanilla limit applies while a player without it owns them. The dedicated
server itself does not need it. With ClaimOwnershipOfBreeders on, a player who has the mod takes
over the animals around them (other players don't need to do anything and see no difference), so
one player with the mod is enough while they are near the farm.
Credits
Created by Zenox.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: