Procreation Plus
Allows tamed creatures to give birth to offspring with higher levels than the parents.
模組介紹 作者原文
Procreation Plus
Rewarding your breeding efforts in Valheim!
This mod is a very simple expansion to the taming and breeding system in Valheim. It allows each tamable creature (Boar, Lox, Wolf, Hen, Asksvin) to have a configurable chance of giving birth to a higher level offspring. Everything is configurable and gives you many options to tailor to your liking, including adjusting other breedable creatures introduced by other mods!
Why would this mod be useful?
- You won't need to spend so much time trying to track down a 1 or 2 star creature.
- When setting up a new base, you won't need to transport high level creatures from your first base to your new base if you wanted to relocate permanently. You could find some lower level ones and just breed up again.
- You can make breeding more rewarding by making higher level creatures possible, e.g. a 2 star Lox you could only ever get from breeding and that is not found in the wild.
- In the event your base got trashed and you lost your valuable 2 star creatures, all is not lost as you can work your way back up.
Since IronGate updated some of their Procreation coding to work with Asksvin, this mod now works with those and chickens automatically!
Supported Creatures
Currently this mod supports the following creatures by default, and you can change these values, and add your own creatures that are already breedable from other mods (see Configuration section for details):
- Boar: Can reach up to 2 stars when breeding. Offspring have a 25% chance to level up.
- Wolf: Can reach up to 2 stars when breeding. Offspring have a 10% chance to level up.
- Lox: Can reach up to 2 star when breeding. Offspring have a 5% chance to level up.
- Hen: Can reach up to 2 stars when laying an egg. Egg has a 5% chance to be one level higher than the hen who laid it.
- Asksvin: Can reach up to 2 stars when laying an egg. Egg has a 5% chance to be one level higher than the asksvin who laid it.
- Moose: Can reach up to 2 stars when breeding. Offspring have a 5% chance to level up.
Configuration
All of the configuration can be found in maxfoxgaming.procreationplus.yml, which will be generated once you start Valheim with the mod installed. Here's a snippet of the YML:
- PrefabName: Boar
LevelUpChance: 0.25
MaxStars: 2
- PrefabName: The ID, or name of the creature's prefab - it is case-sensitive so be sure to verify the prefab name. Localized names will not work. If you're unsure of prefab names, you can check the Valheim Wiki, or look at other mods' wiki entries which will usually list their prefabs.
- LevelUpChance: This is a value that should be set between 0 and 1, denoting the probability that a creature will be a level higher than the parent when it's born. A value of 0 means levelup will never happen, and a value of 1 will always result in a levelup. 0.5 is a 50% chance.
- MaxStars: A value between 0 and whatever you want. Vanilla default is 2. Note that higher values will work, but without a mod to display more stars for higher level creatures, the 3+ star creature won't display stars and will probably not have the looks of a levelled up creature.
Note that adding creatures that are not currently tamable or breedable does NOT give the creature the ability to be tamed or bred. It only affects creatures that already have the Procreation script attached to them, whether vanilla or modded.
If you want to make a creature breedable, you'll need another mod to do that such as AllTameableTamingOverhaul or MonsterDB.
Adding more creatures ###
You can add as many creatures as you want to the YML. All you need is:
- The ID, or prefab name of the creature you want to add
- Ensure the creature has a Procreation component. Most mod authors will be able to tell you whether this is the case, but you can also install a mod like UnityExplorer, spawn the creature in with commands, and check its components manually.
- (Optional) If you want your creatures to breed higher than 2 stars, make sure Creature Level & Loot
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: