chore(release): v1.4.9 - Factions on/off switches, serpent meat price, Draugh cooking fix

Version bumped in the three places that carry it: manifest.json (the one the
packaging target reads), Package/manifest.json and PluginVersion.

README: changelog entry for the release, and the Factions section now
documents both switches - including the part worth knowing before flipping
one, that the truce switch covers every race's own peace and not just the
faction rules.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Ferdinando 2026-08-25 19:27:14 +02:00
commit 163ad205e7
4 changed files with 10 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{
"name": "RacesOfValheim",
"description": "A Valheim mod that adds ten custom playable races (Aswid, Draugh, Dvergar, Fenrir, Furling, Skadi, Skeleton, Sverm, Trenta, Trol) each with unique abilities, traits, race stations and a deep boss-driven progression system.",
"version_number": "1.4.8",
"version_number": "1.4.9",
"website_url": "",
"dependencies": [
"denikson-BepInExPack_Valheim-5.4.2333",

View file

@ -15,7 +15,7 @@ namespace RacesOfValheim
{
public const string PluginGUID = "com.nandor.racesofvalheim";
public const string PluginName = "Races Of Valheim";
public const string PluginVersion = "1.4.8";
public const string PluginVersion = "1.4.9";
private readonly Harmony harmony = new Harmony(PluginGUID);

View file

@ -403,10 +403,17 @@ Aswid, Draugh, Skeleton / at peace with Ghost, Skeleton, Draugr, Wraith, Leech,
The **Sverm** belongs to no faction. Its Hive Pheromones make every invertebrate in the game ignore it instead — leeches, ticks, deathsquitos, seekers and bees — with no boss gate and no trading.
Both halves have an off switch under `Factions` in Configuration Manager: **Faction truce** for whether your faction's mobs leave you alone, **Faction merchants** for whether they will trade. Both are on by default and both take effect without a restart. Be aware that turning the truce off also gives up every race's own peace — Fenrir's wolves, the Aswid's list, the Draugh's undead, the Trenta's Black Forest, the Sverm's invertebrates, the Furling's Plains roster and the Skeleton's undead — because they are all the same question asked of the same vanilla method.
---
## Changelog
### v1.4.9
- **NEW - Factions can be switched off:** two toggles under `Factions` in Configuration Manager, both on by default. **Faction truce** decides whether mobs leave you alone; **Faction merchants** decides whether they can be traded with. Both are read live, so flipping either takes effect without restarting the game. Two switches rather than one because the halves fail differently — the truce is invisible when it works, the merchants are a whole second interaction bolted onto creatures vanilla never meant to talk, and anyone chasing a mod conflict wants to rule out one without losing the other. Note that **Faction truce** covers every truce the player has, not only the faction ones: Fenrir's wolves, the Aswid's progression list, the Draugh's undead, the Trenta's Black Forest, the Sverm's invertebrates, the Furling's Plains roster and the Skeleton's undead all answer the same `BaseAI.IsEnemy`, and a switch over one of them would have changed nothing for most races. Switching it off gives those passives up along with the faction truce. The Dvergar mercenaries' truce with wild dvergr is left alone — that one is between two NPCs and has nothing to do with whether mobs come after you.
- **CHANGED - Serpent meat is worth selling again:** the Fuling bench paid **1** gold for it, the same as a scrap of black metal, for something you have to build a boat and win a fight at sea to get. It now pays **200**.
- **Fix - A Draugh could never cook serpent meat:** the raw-to-cooked table asked for a prefab called `SerpentMeatRaw`, which does not exist — the internal id is `SerpentMeat`. Every other meat in the game cooked on the spot for a Draugh and this one silently did nothing.
### v1.4.8
- **Fix - Trol losing the 4th and 5th stomach on every reload:** the food was being saved correctly and then deleted while loading. `TrolRace.IsTrol()` read the race from the ZDO and returned that answer even when the ZDO was empty — and the player's ZDO is a brand new empty one every session, written a fraction of a second later by a different `Player.OnSpawned` postfix that Harmony happens to register after the Trol's own. So the loader asked "am I a Trol?" during the one window where the honest answer lives in the save file instead, got told no, and wiped all four keys out of the character. `IsTrol()` now falls back to the saved race when the ZDO has nothing to say (the same fix the hostility patches got in v1.4.6), and the loader is no longer allowed to delete anything on a race it could not read. Food already lost is gone; from this build on it stays.
- **Fix - Trol 5th stomach lost even when the 4th was empty:** a separate bug in the same loader — slot 5 was restored inside slot 4's early return, so a Trol who had eaten into the fifth and let the fourth run out lost the fifth. The two slots are now loaded independently.

View file

@ -1,7 +1,7 @@
{
"name": "RacesOfValheim",
"description": "A Valheim mod that adds ten custom playable races (Aswid, Draugh, Dvergar, Fenrir, Furling, Skadi, Skeleton, Sverm, Trenta, Trol) each with unique abilities, traits, race stations and a deep boss-driven progression system.",
"version_number": "1.4.8",
"version_number": "1.4.9",
"website_url": "",
"dependencies": [
"denikson-BepInExPack_Valheim-5.4.2333",