Skip to content

About

Skill-scaled chick and Asksvin hatchling growth and hover information for Valheim, extending original Ranching.

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

RanchingAddon

A companion to Smoothbrain Ranching for chickens and Asksvin. Adds skill-scaled juvenile growth and growth percentages on hover, while original Ranching supplies taming, drops, XP, and breeding benefits for both species.

Version 3.0.2 targets Valheim 1.0 and replaces RanchingChickAddon. The maintainer has tested the current build and confirmed it works as intended.

Installation and upgrading

Install BepInExPack Valheim 5.4.2350 and original Ranching 1.1.9 or later. Install through your mod manager, or import the local ZIP into your Gale profile. For manual installation, extract BepInEx/plugins/RanchingAddon/RanchingAddon.dll into the profile.

Thunderstore users must install Ranching 1.1.9 manually. Thunderstore only has Ranching 1.1.6, which this addon cannot load with. Download Ranching 1.1.9 from Hexium and install its BepInEx folder into the same game or mod-manager profile first. Keep only one Ranching DLL. Hexium installs the required dependency automatically.

Remove RanchingChickAddon (including the older Ranching_Chick_Addon package) before installing RanchingAddon. They share a plugin identity to preserve existing configuration; installing both packages leaves duplicate DLLs. Do not use the earlier experimental Ranching fork, which already contains chicken growth patches. RanchingAddon detects that fork and disables itself.

The package, assembly, and display name are now RanchingAddon. The plugin ID and configuration filename remain com.ziluck.valheim.ranchingchickaddon for compatibility. Existing chick settings and saved growth bonus age are retained without modifying birth timestamps or rewriting saves.

Install RanchingAddon and Ranching on every participating client and the host/dedicated server. The creature's owning peer awards bonus age; host-only installation cannot guarantee acceleration when another client owns the creature. Settings synchronize from the host and are locked to admins by default. Each viewer's own Ranching skill controls their hover information.

shudnal ConfigurationManager is optional for editing the BepInEx settings in-game.

Features and settings

File: BepInEx/config/com.ziluck.valheim.ranchingchickaddon.cfg.

Section Setting Default Meaning
General Lock Configuration true Only host/server admins can change synchronized settings.
Chicks Chicken Growth Factor 2 Chick maturation speed at Ranching 100, with a player within 10 metres. Range 1-10; 1 disables new bonus age.
Chicks Growth Info Level Requirement 30 Viewer's skill required to see chick growth and chicken egg incubation information. Range 0-100; 0 disables it.
Asksvin Asksvin Growth Factor 2 Hatchling maturation speed at Ranching 100, with a player within 10 metres. Range 1-10; 1 disables new bonus age.
Asksvin Growth Info Level Requirement 30 Viewer's skill required to see hatchling growth and Asksvin egg incubation information. Range 0-100; 0 disables it.

At Ranching 50 with factor 2, growth speed is 1.5x. The nearest player's synchronized skill is used. Proximity is sampled at the game's growth checks, roughly every 10 seconds. First observation after loading or ownership transfer gives no retroactive bonus; long gaps are capped at one interval. Unloaded time earns no proximity bonus.

Bonus age is persisted in creature network data, separately for each species. Setting a factor to 1 retains earned age; uninstalling stops applying it. Hover text includes earned bonus age and preserves existing text. Egg incubation speed, adult animals, and other juvenile species are unaffected. Chicken and Asksvin eggs now show incubation progress and remaining time at the corresponding species' hover level; stacked and inactive eggs show their status. Vanilla maturation continues to inherit tameness and creature level.

What original Ranching already does for Asksvin

The audit of upstream Ranching 1.1.9 and the installed game found no chicken-only restriction in the following patches. RanchingAddon does not apply them a second time.

Base Ranching behavior Asksvin coverage
Taming speed and taming XP All Tameable creatures; nearest player within 10 metres.
Calming while taming All qualifying MonsterAI / Tameable creatures; base calming-level setting.
Increased slaughter drops and Ranching XP All tamed CharacterDrop creatures; nearest player within 50 metres.
Time until hungry Tamed Tameable creatures; base food-level setting.
Pregnancy / breeding progress Tamed creatures with Procreation, including adult Asksvin; base pregnancy-level setting.
Chance of higher-level offspring All Procreation creatures in Ranching 1.1.9; base level requirement/chance settings.
Skill XP multiplier and death loss The shared Ranching skill; unchanged by this addon.

Upstream does not accelerate Growup or add juvenile growth hover text. Those are this addon's additions. See the source audit for the exact revision and game checks.

Build and verification

./ci/Build.ps1 -GamePath "E:\Games\SteamLibrary\steamapps\common\Valheim"

Build compiles Release, runs growth/ownership/species/hover checks, tests the transpiler against actual game IL, verifies game/framework references, and creates artifacts/RanchingAddon-3.0.2-Thunderstore.zip. Use -OutputDirectory to choose another destination. Scripts never install the mod or edit saves.

The runtime harness also executes the production growth and hover hooks through Harmony against simulated game objects. It checks owner changes, player proximity and skill, persisted bonus age, maturation, and read-only hover behavior. It does not run Unity or ServerSync networking.

Requires PowerShell 7, a .NET SDK, and local Valheim/BepInEx assemblies. ServerSync v1.20 is downloaded into an ignored cache with SHA-256 verification; ILRepack merges it into the plugin under its MIT-0 license. Ranching and SkillManager remain separate dependencies and are neither copied nor linked as assembly references.

Both registry publishing scripts support -WhatIf. GitHub Actions builds and CodeQL use real dedicated-server assemblies; see ci/README.md. Approved versions publish to Thunderstore and Hexium.

Testing status

The earlier chick addon was tested in Valheim 1.0 by the maintainer. The new Asksvin behavior is not yet verified in-game. Automated checks do not execute Unity or validate multiplayer behavior. Use the test checklist with a disposable character/world before using this version in your shared save.

Credits and license

Original addon code: MIT, copyright Michael Ziluck. Original Ranching is by blaxxun/Smoothbrain and remains a separate dependency under its own terms. The chick artwork is from Valheim; see ATTRIBUTION.md. ServerSync's license is included in THIRD_PARTY_NOTICES.md and Libs/ServerSync.LICENSE.txt.

If you'd like to support ongoing modding work, Ko-fi is available.

Check out my other mods

  • HenEggPickup - automatically collects chicken eggs once enough adult hens are nearby.
  • AnimalFeedGuard - keeps animal feed on the ground near tamed animals instead of letting automatic pickup collect it.

About

Skill-scaled chick and Asksvin hatchling growth and hover information for Valheim, extending original Ranching.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages