feat(races): Skadi hollow chain, plus the pending Dvergar and Fenrir ones
Three per-race item chains had accumulated uncommitted. They land together because FactionMerchantCatalog.cs carries hunks from all three and cannot be split without interactive staging. Skadi (new this session): - SkadiNokkel - "Skadis Nokkel", a StaffSkeleton clone recoloured to ice, stripped of its eitr and health costs and of the skeleton summon, opening an ice-blue portal to a troll cave the player claims as their own. Crafted at the forge after Moder from a 1500-coin Greater Frost Heart, a DragonTear and a TrophySkeleton. - SkadiFrostHeart - the bought leg of that recipe, sold by the Cultist bench. - SkadiHollow / SkadiHollowPortal - claims one existing TrollCave02 in the Black Forest, half a world radius out and south of the equator, and opens a linked local portal pair to it. - RaceCaveBuilding - Skadi and Trol may build inside any troll cave. Two facts worth keeping, both paid for the hard way: - a troll cave counts as a DUNGEON, so the flag that refuses a piece there is the per-piece Piece.m_allowedInDungeons, not the per-location Location.m_noBuild. Player.m_placementStatus names the exact refusal reason and is now logged. - Object.DestroyImmediate is forbidden inside an animation event callback, and a staff cast runs in one - it fails silently there. Also carried in, from earlier sessions and unverified in game: - Dvergar contract bank and barrel (DvergarBanco*, DvergarBotte*) - Fenrir Ulvsblod trough (FenrirMangiatoia*) - the Wolf -> Ulv merchant bench move, so tameable wolves stop answering the E key with a shop window Status: compiles clean with no new warnings. The Skadi chain has NOT been confirmed working in game - the most recent fix to the troll cave detection is still untested. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
4976ef66aa
commit
5c5b8c34d2
20 changed files with 3784 additions and 17 deletions
|
|
@ -141,9 +141,24 @@ namespace RacesOfValheim
|
|||
}
|
||||
};
|
||||
|
||||
private static readonly ShopDefinition WolfShop = new ShopDefinition
|
||||
/// <summary>
|
||||
/// The mountain's animal bench. It used to be the WOLF, and moving it was not a preference:
|
||||
/// a bench is a Trader, a Trader is Interactable, and it wins the E key. The wolf is the ONLY
|
||||
/// creature vanilla lets you tame that this catalogue ever made a merchant, so every wolf in
|
||||
/// the world - including the two in your own pen - answered a click with a shop window
|
||||
/// instead of being pettable, nameable or commandable. Taming an animal you cannot handle is
|
||||
/// not taming.
|
||||
///
|
||||
/// The Ulv carries the whole line now, wolf goods included. It is a mountain creature of the
|
||||
/// same faction, it is not tameable, and nothing about it is spent by being a shopkeeper.
|
||||
///
|
||||
/// Checked while fixing this: Boar, Lox, Hen and Asksvin - the rest of what vanilla lets you
|
||||
/// tame - are not benches and never were. This was the only one, so the whole class of bug
|
||||
/// closes here rather than needing a rule.
|
||||
/// </summary>
|
||||
private static readonly ShopDefinition UlvShop = new ShopDefinition
|
||||
{
|
||||
DisplayName = "Wolf",
|
||||
DisplayName = "Ulv",
|
||||
JokeCategory = JokeLupoLicantropo,
|
||||
Items = new List<CatalogEntry>
|
||||
{
|
||||
|
|
@ -154,18 +169,8 @@ namespace RacesOfValheim
|
|||
new CatalogEntry("FreezeGland", 5), // Drake, folded in here: no talk-capable rig
|
||||
new CatalogEntry("OnionSeeds", 20),
|
||||
new CatalogEntry("TrophyWolf", 350),
|
||||
new CatalogEntry("TrophyHatchling", 350), // Drake (internal id "Hatchling")
|
||||
}
|
||||
};
|
||||
|
||||
private static readonly ShopDefinition UlvShop = new ShopDefinition
|
||||
{
|
||||
DisplayName = "Ulv",
|
||||
JokeCategory = JokeLupoLicantropo,
|
||||
Items = new List<CatalogEntry>
|
||||
{
|
||||
new CatalogEntry("WolfFang", 5),
|
||||
new CatalogEntry("TrophyUlv", 350),
|
||||
new CatalogEntry("TrophyHatchling", 350), // Drake (internal id "Hatchling")
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -176,6 +181,8 @@ namespace RacesOfValheim
|
|||
Items = new List<CatalogEntry>
|
||||
{
|
||||
new CatalogEntry("WolfFang", 5),
|
||||
new CatalogEntry("Ulvsblod", 500), // gates the Fenrir pack trough
|
||||
new CatalogEntry("GreaterUlvsblod", 1500), // upgrades it: the fenrir themselves
|
||||
new CatalogEntry("TrophyFenring", 350),
|
||||
}
|
||||
};
|
||||
|
|
@ -187,6 +194,7 @@ namespace RacesOfValheim
|
|||
Items = new List<CatalogEntry>
|
||||
{
|
||||
new CatalogEntry("JuteRed", 2),
|
||||
new CatalogEntry("GreaterFrostHeart", 1500), // gates the Skadi's hidden hollow
|
||||
new CatalogEntry("TrophyCultist", 1500),
|
||||
}
|
||||
};
|
||||
|
|
@ -284,7 +292,10 @@ namespace RacesOfValheim
|
|||
{ "GoblinBrute", FulingShop },
|
||||
{ "GoblinShaman", GoblinShamanShop }, // the only bench carrying the crop line
|
||||
|
||||
{ "Wolf", WolfShop },
|
||||
// NO "Wolf" ENTRY, and it must stay that way: a bench is a Trader and a Trader takes the
|
||||
// E key, which would make every tameable wolf in the world a shop instead of an animal.
|
||||
// Its goods live on the Ulv now. (The wolf stays in FactionHostilityPatch's mountain
|
||||
// roster - that list is about who attacks whom and is a different question entirely.)
|
||||
{ "Ulv", UlvShop },
|
||||
{ "Fenring", FenringShop },
|
||||
{ "Fenring_Cultist", CultistShop },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue