Valheim
Install with App

Details

Latest version
1.1.0
Last Updated
First Uploaded
Downloads
163
Likes
1
Size
68KB
Dependants
ADDatHost Valheim hosting
€1

BreedingUpgrades Chicken Egg Fix 1.1.0

  • Keeps vanilla chicken eggs unstarred and usable by normal recipes.
  • Stops BreedingUpgrades from selecting protected eggs for quality upgrades.
  • Repairs already-starred protected eggs on load/save when enabled.
  • Leaves live-born creature upgrades, Asksvin eggs, and other eggs unchanged by default.
  • Supports Valheim 1.0's inventory loading and repairs BreedingUpgrades 1.0.2 console registration.

What it fixes

BreedingUpgrades 1.0.2 treats any item whose shared name contains egg as upgradeable. A starred chicken egg can then fail recipes that expect the normal quality-1 item.

This add-on:

  • excludes vanilla ChickenEgg from BreedingUpgrades' egg-upgrade selection;
  • keeps a quality-1 failsafe in case another path tries to star a protected egg;
  • optionally repairs already-starred protected eggs during world/inventory load and save;
  • leaves Asksvin and every other egg unchanged by default;
  • supports optional additional protected prefab names;
  • performs no recipe scan and no per-frame egg processing.

Choose combined or standalone

Do not install this together with ValheimCompatibilityFixes. They contain the same egg patch and are marked incompatible to prevent duplicate patching.

You may install this package together with the separate AzuCraftyBoxesBuildingOnly package.

Requirements and checked versions

  • Valheim 1.0; compiled and checked against the supplied 1.0.12 game assemblies.
  • BepInExPack Valheim 5.4.2350 or newer
  • BreedingUpgrades 1.0.2

The build uses the game's actual managed assemblies and the updated profile's BepInEx 5.4.23.5 / HarmonyX 2.9.0 libraries. The package requires the Valheim 1.0 loader baseline, BepInExPack Valheim 5.4.2350.

This release explicitly handles both Inventory.Load overloads, avoiding an ambiguous Harmony target. It also replaces BreedingUpgrades 1.0.2's outdated console-registration call with the Valheim 1.0 constructor, retaining the original three command callbacks and permissions. Future dependency versions retain their own console registration.

The actual breeding bytecode still contains the Character.SetLevel and ItemDrop.SetQuality calls expected by BreedingUpgrades 1.0.2. Compilation, target/signature checks, and dependency-link checks passed. No live Valheim or multiplayer session was run here; use the copied-profile test below before the main world. See VALIDATION.md for the exact evidence and limits.

Install with Thunderstore Mod Manager or r2modman

  1. Download this ZIP without extracting it.
  2. Open the Valheim profile that will use it.
  3. Open Settings and choose Import local mod.
  4. Select BreedingUpgradesChickenEggFix-1.1.0.zip.
  5. Confirm this package and BreedingUpgrades appear under Installed.
  6. Put the same package on every client and the dedicated server, then launch once to generate the config.

If local import is unavailable, manually place BreedingUpgradesChickenEggFix.dll in BepInEx/plugins/BreedingUpgradesChickenEggFix/.

Config

Generated at:

BepInEx/config/local.valheim.breedingupgradeschickeneggfix.cfg

Setting Default Purpose
1 - General / Fix Enabled true Turn all protection off or on.
2 - Repair / Repair Existing Chicken Eggs true Normalize already-starred protected eggs to quality 1 on load/save.
2 - Repair / Additional Protected Egg Prefabs blank Optional comma/semicolon list of modded egg prefab names.

These settings are local; this add-on does not add its own ServerSync protocol. Distribute the same config to the server and clients for consistent behavior.

Performance

New eggs are checked only when Valheim calls ItemDrop.SetQuality during the relevant creation path. Existing inventories are checked only on load/save when repair is enabled. There is no recipe discovery, world-wide object search, or per-frame egg loop.

Copied-profile test

  1. Temporarily set BreedingUpgrades' upgrade chance to 100% in a test world.
  2. Produce a chicken egg. Confirm it remains quality 1/unstarred and works in recipes.
  3. Produce an Asksvin egg and confirm this add-on does not normalize it.
  4. Place an existing starred chicken egg in an inventory, save/reload, and confirm it becomes quality 1.
  5. Restore the intended BreedingUpgrades chance and check the BepInEx log for errors.
  6. Check a dropped old starred chicken egg after reload, then test with repair disabled and protection disabled separately.
  7. Run breeding_info, breeding_simulate 10, and breeding_debug in the console. Confirm there is no missing-constructor error; toggle debug back to its original value.
  8. Repeat a chicken breeding/repair check with another client and after changing the area owner. Check the server and both client logs.

Uninstall

Remove this package and restart. BreedingUpgrades can star chicken eggs again. Eggs already repaired to quality 1 cannot recover their previous quality automatically.

Source is included under src/ and released under the MIT License. See CONFIG_REFERENCE.md for every setting and THUNDERSTORE_LISTING.md for publication metadata.

DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro
DatHost — Valheim server hosting, first month for one euro