FishQualityBonus
Whole-fish recipes now behave like raw fish so you get more for better qualities and rarer species. Plus, lets you craft with fish of mismatched sizes, which vanilla refuses. Fully configurable.
截圖 共 3 張
模組介紹 作者原文
FishQualityBonus
In base game, recipes that consume a whole fish (Fish 'n' Bread, the fish mead bases)
output the same amount whether you spent a quality-1 perch or a quality-4 anglerfish. This is
totally inconsistent with how Raw Fish behaves.
This mod adjusts the behavior in the following ways:
- Bigger fish make more. Output scales with the fish's quality, using the same formula
the game already applies to Raw Fish. For example, using a quality-5 fish makes 13 instead of 1.
- Rarer fish make more. Each species' flat +0/+1/+2 tier applies on top, read out of
the game at load rather than hard-coded. Fish 'n' Bread takes a +2 species, so that
quality-5 craft actually lands at 15 meals.
- Fish of different sizes can be combined. The base game refuses to craft when your
fish qualities don't match (e.g. two trollfish of different sizes can't brew a mead that needs two,
even though the ingredient list says you have enough). This fixes that, and the output is based on
the average size of what you spent.
- Choose which fish size to prioritize. Configuration options include which fish gets consumed first
(e.g. prioritize higher or lower quality in your inventory when crafting).
Most of the above parameters are configurable, including a master switch that restores vanilla exactly.
Why I made this
Hello! I created this mod to fix a nitpick that felt, in my opinion, like an oversight, which
is simply this: fishing recipes should reward you for the quality of the fish.
In Valheim, Raw Fish, prepared from
an actual caught fish, are multiplied in value based on the quality of the fish caught.
If I catch a big, quality-5 tuna, I can actually prepare 14 "raw fish" from that single tuna.
However, this does not apply to any recipes that consume a whole fish, which in my opinion
completely wastes the higher quality fish in those recipes.
Since recipes like Fish 'n' Bread, currently one of the best stamina foods in the game, take
a whole fish, the player is effectively penalized for using the better quality anglerfish
in that recipe. (Making the joy of actually hooking a high-quality fish not worth the stamina
spent to reel it in)
This mod adjusts it by applying the same raw fish computation formula to other whole-fish
recipes, as well! And while I was in the code, I decided to fix the mixed-quality-crafting issue as well.
Behavior
What a recipe that normally makes 1 gives you, at the default settings:
| Fish quality | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| A +0 species (perch, pike, tetra, trollfish) | 1 | 4 | 7 | 10 | 13 |
| A +2 species, which is what Fish 'n' Bread takes | 3 | 6 | 9 | 12 | 15 |
The formula behind that:
sizeBonus = floor( (averageQuality - 1) amount BonusPerQualityLevel )
output = amount + sizeBonus + speciesBonus
amount is what the recipe normally makes. averageQuality is the mean quality of the fish
spent, which is just the fish's own quality when they're all the same size.
BonusPerQualityLevel is configurable and defaults to 3, matching the game's own Raw Fish behavior.
speciesBonus is the game's +0/+1/+2 tier for the species — see Raw Fish.
Like vanilla, it's flat: even a small quality-1 anglerfish still earns its +2. Also configurable.
Which fish gets eaten
Vanilla spends whichever fish you picked up first, and it doesn't even matter where it sits in your inventory ( effectively random). This mod picks on purpose, smallest or largest first, via FishToSpend.
Fish of different sizes
Vanilla won't let you craft when your fish don't match. It checks your biggest single-size
stack instead of your total, so two trollfish of different sizes can't brew a Troll Endurance
mead that needs two. Confusingly, the ingredient list shows 2 of 2 in white, and the Craft button
stays grayed out with nothing explaining why. This is really only a problem that affects fish recipes,
as every other crafting material has only one quality level.
This mod allows the craft and pays out on the average of what you
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: