Back to mods
Cuniculture project artwork

Vintage Story Mod DB · Vintage Story mod

Cuniculture

History None of the hare's foods could be placed in troughs. Originally, this mod allowed you to feed your hares with small troughs without resorting to throwing loose vegetables on the ground. Since then, vanilla Vintage Story has implemented the small tro

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Cuniculture release matches 1.22.5?

Updated yesterday
Best match for your filters 1.25.2
Game version 1.22.3, 1.22.4, 1.22.5
Loader Built-in Vintage Story mod system

Cuniculture 1.25.2 targets 1.22.3, 1.22.4, 1.22.5. It must be installed on the client. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Cuniculture required on the client, server, or both?

It must be installed on the client. Installation on the dedicated server is optional.

Client Required
Dedicated server Optional
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This release supports both sides, but the source does not require it on the server.

What else does Cuniculture 1.25.2 need?

1.25.2 on 1.22.5. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Cuniculture without breaking your instance.

Built for Cuniculture 1.25.2 on 1.22.5. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.25.2. It targets 1.22.3, 1.22.4, 1.22.5; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    It must be installed on the client. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.25.2. It opens that exact file at the source.

About this project

What does Cuniculture add?

History

None of the hare's foods could be placed in troughs.  Originally, this mod allowed you to feed your hares with small troughs without resorting to throwing loose vegetables on the ground.  Since then, vanilla Vintage Story has implemented the small trough feeding of hare food, but it's still incomplete.

New Foods

Dry grass, berries (all variants), and fruit mash (all variants) have been added to the hare's diet.  You can even use these new foods to bait vanilla traps for hares (not Primitive Survival, yet).  Additionally, since fruit mash is concentrated and sweeter, they will be drawn to fruit mash baited traps much stronger than other foods.

Small Trough Additions

Since the bad old days, the game has put much of the hare's diet on the allowed-list 

 

In the vanilla game we toss vegetables into a pen and the hares will eat, inducing them to breed.  That's OK, and it still works.  But it's inconvenient (I always seem to accidentally pick the vegetables back up) and messy.  And really, why not use a trough?  If the small trough is small enough for a hen or even a chick, why not a rabbit?

Moreover, rabbits are ravenous for grass and berries.  Grass provides crucial digestive functions and berries are one of a rabbit's favorite desserts.

I do plan on supporting the mod.  If you don't see a mod version for your game version, ping me on Discord at caffeineNYC.  If I ever feel that I don't have the time or energy to support the mod, I will happily transfer ownership to someone else or add them to the "Team Members" list.

PetAI Integration (to be released)

Spoiler!

I had chased the little long-eared rogues from dawn till nigh unto dusk, and never laid so much as two fingers upon one of them.

By my troth, I was made a fool of by hares.

They sprang from tuft to tuft, vanished through grass, slipped ’neath bramble, and mocked me with their white tails flashing like scraps of linen in the wind.  I had set snares badly, crept softly, lunged boldly, and cursed most piteously.  Yet ever they were swifter than my hands, wiser than my feet, and better acquainted with the earth than I.

At last, spent past all pride, I stumbled into a patch of wild growth and fell upon the ground like a sack of turnips. There I lay, panting, sore in every limb, and full of bitter thoughts.

“God’s wounds,” quoth I, “I am beaten by rabbits.”

My belly then made answer louder than my wit, and I fumbled in my poor bag for such berries as I had gathered that morning from a wild bush by the ditch. They were small things, dark and sweet, and I ate them as a beggar eateth: with no ceremony, and much thankfulness.

Then came the marvel.

From the grass before me peered a little leveret, scarce more than a puff of fur with ears. It looked upon me, and I looked upon it. I moved not, for in truth I had no strength left to move. The small creature crept nearer, then halted, then turned aside, then came again, as though fear and hunger did pull at it by contrary strings.

Another came after. Then a third.

They made a shy dance about me, hopping forth and back, sideways and near, as if the very field had grown curious. I held my breath. One bold little thing came so close I could see its whiskers tremble.

Softly, slowly, I took a berry betwixt my fingers and held it forth.

The hare stretched its neck, snatched the berry from my hand, and leapt back as though it had stolen treasure from a king.

I laughed then, but gently, lest I frighten them.

“Well now,” said I, “all day have I chased thee, and thou wouldst none of me. Yet when I sit my weary bones upon the earth and share my poor supper, thou comest like a neighbor to my door.”

One by one they came, timid still, yet trusting by little measures. I gave them berries, and they took them from my hand. Not caught. Not trapped. Not conquered.

Welcomed.

And there, with dirt upon my knees and shame upon my pride, I learned a thing no hunter’s snare had taught me: a hare is not won by haste, nor by hunger, nor by grasping hands.

Thou must sit still.

Thou must be patient.

And thou must have foodstuff.

Realistic Food for Hares

As in real life, hares will now eat dry grass and all variants of fruit mash.

Small Trough Contents

Anything that hares eat can now be placed in the small troughs instead of being unceremoniously tossed into a pen.  You can add bellpepper, cabbage, carrot, dry grass, parsnip, pumpkin, turnip, and all the variants of fruit mash to the small trough to feed your hares.

Preferred Foods and Baited Traps

Hares now have preferred foods, which is reflected in the effectiveness of baited traps.  Grass and turnips are OK, but if you bait a trap with a carrot, rabbits are more attracted to the bait.  Put some loose berries in the trap, and the bait becomes even more effective in catching a hare's attention.  Fruit mash, being concentrated and giving off a stronger, more intense sweet odor than berries, is the most effective bait of all.

For math nerds...

Spoiler!

Catching a hare with a baited trap follows a binomial distribution.  That is, if X is a random variable representing catching the hare, then X ~ Binomial(n, p) where n is the number of trap triggers and p is the catch chance.  If you set up a large number of baited traps, the chances of catching a hare asymptotes to a Gaussian distribution.  Baits attract hares at 50% effectiveness.  A nice juicy carrot attracts at 70% effectiveness.  Sweet loose berries have effectiveness of 75% and fruit mash, which is basically rabbit catnip, 80% effectiveness.

The binomial distribution has a mean of n*p and standard deviation of sqrt(n * p * (1 - p)), so for 50 trap-trigger events:

  • Normal foods should net you 25 catches with a standard deviation of 3.5.
  • Carrots should net you 35 catches with a standard deviation of 3.2.
  • Berries should net you 37.5 catches with a standard deviation of 3.1.
  • Fruit mash should net you 40 catches with a standard deviation of 2.8.

 

This ignores failed trappings where the traps are set off, but bait is consumed anyhow.  Just keep in mind that hare eatTime is 2.3 hours with a min cooldown of 1 hour and max cooldown of 4 hours, so even though fruit mash has an effectiveness of 80% in attracted hares, don't expect a conveybelt of hares!

Fruit Mash Mechanics

Before, your troughs had to be dedicated to a single type of fruit mash.  If you put cherry mash into a trough, you couldn't put anything but cherry mash into it until the trough emptied.  Realistically, you should be able to toss any mixture of fruit mashes into the trough and just have them sit in the trough, together, regardless of what kind of fruit they came from.

Well, now you can!  Small troughs can now take any combination of fruit mash.  You can fill them up with fruit mash of any variety in any combination.

TODO

 

Spoiler!
  • Berries are on the hare's food list but they're not placeable in the small trough (their mash, yes, but not berries themselves).  Oops!  I can accomplish this with a simple json patch, but I'd like to do the same thing with berries that I did for fruit mash: you should be able to just put any and all kinds of berries into the trough and not have to worry about not putting rasperries into a trough that already has pears, for example.
  • Primitive Survival compatibility.  That mod uses its own capture system while we use vanilla logic.  This means a) deadfalls can't be baited with fruit mash, and b) deadfalls don't get an attractiveness buff when baited with carrots or berries.  I'm actually OK with this since I think rabbits are better as a breeding animal than a food animal.  Plus, deadfalls kill their target, I don't want anyone using my code to kill cute, sweet, defenseless bunny rabbits.  If anyone asks for it, I'll work on Primitive Survival compatibility.

 

Questions and Answers

How can I report a problem?

Spoiler!

Before you report a problem, please clear your cache first.  Here's how to do it but if you need more help, reach out to me on Discord:

 

  1. Stop your server completely.
  2. Go to ./data/Cache/unpack/
  3. Delete any Cuniculture-* folders there.
  4. Make sure only one Cuniculture zip is in the server Mods folder.
  5. Start the server again.
  6. Try to reproduce your problem.

 

If the problem disappeared, congratulations!  If the problem persists, go on to the next step:

  1. Make sure your server and client are both running Cuniculture 1.23.0 or newer.
  2. Open caffcuniculture.json and set debugDiagnostics to true.
  3. Restart the dedicated server, or fully restart the game if playing singleplayer/local-hosted.
  4. Reproduce the issue.
  5. Send me server-main.log from that same session.
  6. If there was a crash or client-side issue, send client-main.log too.

 

I can be reached at caffeineNYC on Discord.

What is the provenance of the game?

Spoiler!
This mod is based on a content-only mod by Aristine.  The mod had problems (e.g. the cabbage code had a typo and didn't work, so I fixed it.  His mod seemed abandoned, so I forked it, and cut my teeth on mod authoring, teaching myself how to mod Vintage Story with this relatively simple mod.  I've been adding enhancements and complexity ever since.  1.22.0 had major restructuring of assets, so I cut my teeth on spelunkering through game assets on that version.  Finally, in 1.22.3, I added my first "code mod" piece to the mod.  The rest is history...

Project description from Vintage Story Mod DB.

Pick your setup

Cuniculture releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

39 available setups

Showing the newest 12 of 39 game versions. Older files are in the list below.

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Cuniculture versions and loaders

1 of 15 releases match
Clear filters

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.