Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Starborn Breeding
A rare lucky birth: each time a tame animal breeds, the newborn has a small chance (1 in 30, adjustable) to get one star more than its parent. Wolves, boars, lox, moose, hens and asksvin.
By ZAP
| Date uploaded | a week ago |
| Version | 1.0.0 |
| Download link | ZAP-Starborn_Breeding-1.0.0.zip |
| Downloads | 93 |
| Dependency string | ZAP-Starborn_Breeding-1.0.0 |
This mod requires the following mods to function
ValheimModding-Jotunn
Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.
Preferred version: 2.30.2denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2360README
Starborn Breeding – a rare star for a lucky litter
Breed your tame animals as always. Now and then the Norns smile on a birth: the newborn comes into the world with one star more than its parent. The chance is small, 1 in 30 by default, so a lucky cub is something to remember. Vanilla breeding cannot raise stars at all: a cub always gets its parent's level. With Starborn Breeding, patient breeding can lift a whole line of 0-star wolves to 2 stars.
| Animal | Newborn | Lucky |
|---|---|---|
| Wolf (and Wolfborn) | Wolf cub | cub with one star more |
| Boar | Piglet | piglet with one star more |
| Lox | Lox calf | calf with one star more |
| Moose | Moose calf | calf with one star more |
| Hen | Egg | egg with one star more, the chick hatches with it |
| Asksvin | Egg | egg with one star more, the hatchling hatches with it |
Animals from other mods that breed the vanilla way are lucky too.
A lucky birth
- Tame and feed your animals as usual. They fall in love and give birth as in vanilla.
- At every birth the Norns roll once. With a chance of 1 in 30 the newborn gains a star.
- If they do, every player within 64 m sees it, with a short chime and a golden glow on the newborn:
The Norns smile on your herd Wolf Cub – born with one star
- It stays for life. A lucky cub grows into a lucky wolf, and a lucky egg hatches into a lucky chick that grows into a lucky hen. Their young inherit the new level, as in vanilla.
- Sometimes twice. After a lucky roll the Norns roll once more. At 1 in 30 a newborn gains two stars with a chance of 1 in 900 (The Norns smile twice on your herd).
- Two stars at most. No newborn rises above 2 stars, the highest level vanilla shows. A 2-star parent has 2-star young, as before. A 1-star parent can only gain one more.
- You can tell them apart. A lucky animal or egg keeps a golden line in its hover text: Norn-blessed: one star more at birth. A star also changes how wolves, boars, hens, moose and asksvin look.
- Nothing else changes. Love, pregnancy time, the number of animals in a pen and the food they need stay as in vanilla.
The real thing
Vanilla breeding (Procreation): a fed tame animal next to a partner collects love points (hearts) over time. After 3 (lox 4) it is pregnant, and 60 s later (lox 120 s) the young is born. The young gets the level of the parent that carried it. A wild 1-star wolf you tamed has 1-star cubs; the stars of the other parent do not count. Starborn rolls at exactly that moment and adds its star on top.
How often luck comes at 1 in 30:
| Births | At least one lucky newborn |
|---|---|
| 10 | 29 % |
| 21 | 50 % |
| 30 | 64 % |
| 68 | 90 % |
| 100 | 97 % |
| ChanceOneIn | One star more | Two stars more |
|---|---|---|
| 10 | 10 % | 1 in 100 |
| 30 (default) | 3.3 % | 1 in 900 |
| 100 | 1 % | 1 in 10 000 |
Configuration
BepInEx/config/zap.starbornbreeding.cfg
Luck (server-synced, admin only):
ChanceOneIn(30): a newborn gains a star with a chance of 1 in this number.1makes every birth lucky,0turns the luck off.ChancePerAnimal(empty): own chances for single animals, for exampleWolf:20, Lox:50, Hen:0. The parent's prefab name counts first, then the newborn's (Wolf_cub,ChickenEgg).0turns the luck off for that animal. Animals not listed useChanceOneIn.LuckCanRepeat(on): after a lucky roll, roll once more at the same chance for another star. Off: never more than one extra star per birth.MaxStars(2): luck never lifts a newborn above this many stars. Raise it only with a mod that knows higher levels.
Client:
Announce(on): message and chime when a lucky animal is born near you.ShowBlessing(on): the golden line in the hover text of lucky animals and eggs.
Multiplayer and compatibility
- The player whose game runs the animal rolls, once per birth, as vanilla handles the birth itself. The level is stored with the animal, so everyone sees the same stars.
- Every player and the server need the mod. Requires Jötunn.
- Works with Wolfborn (their cubs) and with feeding mods such as Feeding Troughs. Dragons from Elemental Dragons hatch from found eggs, not from breeding, so the mod leaves them alone.
- Starborn Breeding changes no prefab and adds no item. You can add or remove it at any time; animals keep their stars.
Deutsch
Ein seltener Stern für einen glücklichen Wurf. Du züchtest deine zahmen Tiere wie immer. Ab und zu sind die Nornen einer Geburt hold: Das Junge kommt mit einem Stern mehr als sein Elterntier zur Welt. Die Chance ist klein, 1 zu 30, also etwas Besonderes. Im Grundspiel bekommt ein Junges immer genau die Stufe des Elterntiers; mit Starborn Breeding kann geduldige Zucht eine Linie von 0 auf 2 Sterne heben.
Welche Tiere: Wolf (und Wolfborn), Eber, Lox, Elch, Huhn und Asksvin, dazu Tiere anderer Mods, die wie im Grundspiel Junge bekommen. Bei Huhn und Asksvin bekommt das Ei den Stern, das Küken schlüpft damit.
Der Moment: Jeder Spieler im Umkreis von 64 m hört einen hellen Klang, sieht einen goldenen Schein am Neugeborenen und liest:
Die Nornen sind deiner Herde hold Wolfsjunges – mit einem Stern geboren
Für immer: Das Junge behält den Stern beim Großwerden, das Ei beim Schlüpfen, und seine eigenen Jungen erben ihn. Glückstiere und Glückseier tragen im Hovertext die goldene Zeile „Nornensegen: ein Stern mehr bei der Geburt“.
Grenzen: Nach einem Glückswurf würfeln die Nornen noch einmal; zwei Sterne mehr gibt es mit 1 zu 900. Mehr als 2 Sterne gibt es nicht, ein 2-Sterne-Tier hat 2-Sterne-Junge wie bisher. Liebe, Tragzeit, Herdengröße und Futter bleiben wie im Grundspiel.
Einstellungen (zap.starbornbreeding.cfg, vom Server-Admin): ChanceOneIn (30; 1 = jede Geburt, 0 = aus), ChancePerAnimal (eigene Chancen je Tier, z. B. Wolf:20, Lox:50, Hen:0), LuckCanRepeat (zweiter Wurf, an), MaxStars (2). Für jeden selbst: Announce (Nachricht und Klang) und ShowBlessing (die goldene Zeile).
Mehrspieler: Gewürfelt wird einmal pro Geburt beim Spieler, dessen Spiel das Tier gerade führt; die Stufe steht beim Tier, alle sehen dieselben Sterne. Alle Spieler und der Server brauchen die Mod.
CHANGELOG
Changelog
1.0.1
- Eggs of starred hens and asksvin now count for recipes (cooked egg, mushroom omelette, pancakes, Viking cupcake and the like). In vanilla a hen's egg of quality 2 or more was never counted. Cooking takes ordinary eggs first and keeps lucky ones for last.
- A lucky hen that turns into a Cluck Fighter keeps her Norn blessing (the star always stayed).
- Checked with the ZAP pack: lucky animals drop twice as much per star like any other (also with Drop That), and lucky hens eat at Feeding Troughs bowls.
1.0.0
- First release: every birth of a tame animal has a small chance (1 in 30 by default) to give the newborn one star more than its parent. Works for wolves and Wolfborn, boars, lox, moose, and the eggs of hens and asksvin.
- After a lucky roll the Norns roll once more for another star (1 in 900 at the default), never above 2 stars. Chance, repeat, cap and own chances per animal are server settings.
- Players nearby see a message with a chime and a golden glow. The star stays when the young grows up or the egg hatches, and lucky animals and eggs say so in their hover text.