fix(factions): Valheim 1.0's regional skeletons join the swamp faction

Valheim 1.0 places Skeleton_Meadows, _Swamps, _Mountains and
_DeepNorth (and the _noarcher twins) instead of the plain Skeleton,
and none of them were in the faction lists, so they attacked the
races the old skeletons left alone. Added to the swamp faction set,
the Skeleton's own enemy check and the faction shop map, with
Skeleton_NoArcher in the shop map too. Reported by Joacwoo.
This commit is contained in:
kanym 2026-11-05 12:59:57 +01:00
commit bb1769b876
4 changed files with 22 additions and 0 deletions

View file

@ -872,6 +872,10 @@ namespace RacesOfValheim
if (name == "skeleton" ||
name == "skeleton_noarcher" ||
name == "skeleton_poison" ||
name == "skeleton_meadows" || name == "skeleton_meadows_noarcher" ||
name == "skeleton_swamps" || name == "skeleton_swamps_noarcher" ||
name == "skeleton_mountains" || name == "skeleton_mountains_noarcher" ||
name == "skeleton_deepnorth" ||
name == "skeleton_friendly" ||
name.StartsWith("draugr") ||
name == "ghost" ||