You are viewing a potentially older version of this package. View all versions.
Einherjer-PenPosts-1.0.4 icon

PenPosts

Breeding caps per pen instead of per radius. Write "Pen" on a sign and animals inside only count the animals in their own pen when the game checks if it's too crowded. A full pen stops eating; look at the sign to see the pen's area.

Date uploaded 5 days ago
Version 1.0.4
Download link Einherjer-PenPosts-1.0.4.zip
Downloads 48
Dependency string Einherjer-PenPosts-1.0.4

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351

README

PenPosts

Breeding caps per pen instead of per radius, so neighbouring pens stop blocking each other.

In the base game, an animal stops breeding ("too crowded") when there are too many of its kind within a radius around it, wherever they are: the next pen, the barn behind the wall, even wild ones. With PenPosts you mark a pen with a sign. Animals inside it only count the animals in that same pen.

How to use

Write a sign whose text starts with Pen:

Sign text Pen
Pen 10 m radius around the sign (default)
Pen 12 12 m radius
Pen 15 Boars 15 m radius, named "Boars"
Pen 12 Lox cap 6 12 m radius, named "Lox", with its own breeding cap of 6 (max 6 works too)
  • The radius is measured flat from the sign. If an animal is inside several pens, the nearest sign wins.
  • Animals of the same kind and their young inside the pen count towards the cap.
  • The cap is each animal's own (from the game or your taming mod) unless the sign or the config sets one.
  • A full pen doesn't eat. When a pen is at its cap, its animals leave food alone, so no feed is wasted on animals that can't breed. They eat again as soon as there's room.
  • Finding a mate works exactly as before, and animals outside every pen behave exactly as before.

Look at a pen sign to see its radius, its cap and the tamed animals inside. Keep looking for a moment and the pen itself appears: a glowing ring on the ground at its edge and a see-through ball around it that also shows through the ground. It stays while you look and for 20 seconds after. No key is needed, so E (and Shift + E or Q) still edit the sign as usual.

Settings (anwo.PenPosts.cfg)

Setting Default What it does
Default radius 10 Radius for a sign without a number (m)
Max radius 40 Largest radius a sign may set (m)
Pen cap 0 Breeding cap inside pens. 0 = each animal's own
No food when full true Animals in a pen at its cap don't eat
Show pen info on sign true Show radius, cap and animals in the sign's hover text
Show pen area when looking at the sign true Show the ring and ball while you look at a pen sign
Show pen area for 20 Seconds the ring and ball stay after you look away

Multiplayer

Everyone needs the mod. Breeding is decided by whichever player's game is running the animals at the time, so mixed installs give inconsistent results.

Compatibility

  • Works with the base game's breeding and any mod that uses it.
  • With LetMeTameYou, its "Too Crowded / Ready to Procreate" hover text uses the pen too.
  • With Herd Bell, animals that a bell can still collect from keep eating in a full pen, so the bell keeps working.
  • Feeding troughs from other mods (such as Valharvest's) work as usual: animals with room in their pen eat from them, and animals in a full pen leave them alone, like any other food.
  • With Zen mods (Zen.ModLib, used by ZenRedecorate and others), their Q key works on pen signs as on any sign; PenPosts uses no key.

Removing the mod

Nothing new is added to the world. Without the mod, a pen sign is just a sign.

About

Made with Claude (Anthropic's AI model) and tagged AI Generated, as Thunderstore's rules ask. Built for Valheim 1.0.17 (Deep North; also 1.0.16) with BepInEx 5.4.2351.

CHANGELOG

Changelog

1.3.12

  • Cave pens have a roof: animals that get up through the rock are put back.
  • Flying animals in cave pens are caught as soon as they get over the roof.
  • Optional roof for pens dug into the ground (off by default).

1.3.11

  • Names with a space can be written without it on a sign.
  • The sign shows which animals each cap is for.

1.3.10

  • Clearer pen edges, drakes stay in cave pens, smaller fixes.

1.3.9

  • Link for bug reports and ideas.

1.3.8

  • Fixed the mod not starting.
  • Fewer false escapes from cave pens.

1.3.7

  • Young are born on their mother's side of walls and fences.

1.3.6

  • Rewritten description page.

1.3.5

  • Bigger pen marks that no longer hide in rocks.
  • Bigger default pen size.

1.3.4

  • Size changes apply to pens right away.
  • More settings to turn features off.
  • Shorter setting texts.

1.3.3

  • Young count towards a pen's cap; eggs don't.

1.3.2

  • Pens work in caves dug with Hearth Below.
  • Animals that keep getting out are left alone for a while.

1.3.1

  • Tamed animals only eat when it does them some good.

1.3.0

  • The butcher knife kills any tamed animal in one hit.

1.2.3

  • Fixed animals in Hearth Below caves being moved around.

1.2.2

  • Fixed animals in caves being lifted to the surface.
  • Fallen animals go back where they stood.
  • Flying animals are leashed to their pen.

1.2.1

  • Faster.

1.2.0

  • Animals stay in their fenced pen.
  • Young born outside the fence are put inside.
  • Clearer setting texts.

1.1.4

  • Pen marks show whether the pen is fine.
  • Small gaps and real openings are marked differently.

1.1.3

  • Breeding caps per kind of animal.

1.1.2

  • Setting text changes.

1.1.1

  • Fixed gates reading as open.
  • Square pens.

1.1.0

  • A pen is the area inside its fence.

1.0.5

  • Dimmer pen area.

1.0.4

  • Look at a pen sign to see its area.

1.0.3

  • Text fixes.

1.0.2

  • Animals in a full pen stop eating.

1.0.1

  • The pen's area shows as a ball.

1.0.0

  • First release.