chore(release): v1.5.3
Version bumped in manifest.json, the packaging manifest and PluginVersion. Valheim 1.0's new creatures for the Aswid and the Draugh (seal, moose, Elaking, Jotun, Barka, Deep North Goblin and every Dvergr), the Elaking Hair Bundle in the blood refinery, and the Skeleton choosing its look at the barber. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
c5ff57530d
commit
b9ac02fe50
15 changed files with 267 additions and 15 deletions
|
|
@ -68,6 +68,7 @@ namespace RacesOfValheim
|
|||
{ "AsksvinCarrionRibcage", 3 },
|
||||
{ "AsksvinCarrionSkull", 3 },
|
||||
{ "UndeadBjornRibcage", 3 }, // Deep North
|
||||
{ "ElakingHairBundle", 20 }, // Deep North, dropped by the Elaking
|
||||
};
|
||||
|
||||
// Vanilla grills. Anything they cook counts as raw flesh, which keeps modded meat working.
|
||||
|
|
|
|||
|
|
@ -44,7 +44,32 @@ namespace RacesOfValheim
|
|||
{ "Ulv", "TrophyUlv" },
|
||||
{ "Fenring_Cultist", "TrophyCultist" }, // the prefab is Fenring_Cultist, not "Cultist"
|
||||
{ "Asksvin", "TrophyAsksvin" },
|
||||
{ "Volture", "TrophyVolture" }
|
||||
{ "Volture", "TrophyVolture" },
|
||||
// Valheim 1.0's seals. The baby is Seal_Pup in the prefab list - "baby" is only its
|
||||
// display token ($enemy_seal_baby). Both wear the one TrophySeal icon.
|
||||
// The frozen Greydwarfs have no trophy of their own; they borrow the regular one's icon.
|
||||
{ "Greydwarf_Frozen", "TrophyGreydwarf" },
|
||||
{ "Greydwarf_Shaman_Frozen", "TrophyGreydwarfShaman" },
|
||||
{ "Elaking", "TrophyElaking" },
|
||||
{ "ElakingLantern", "TrophyElaking" },
|
||||
{ "Moose", "TrophyMoose" },
|
||||
{ "Moose_calf", "TrophyMoose" },
|
||||
{ "Barka", "TrophyBarka" },
|
||||
{ "JotunWarrior", "TrophyJotunWarrior" },
|
||||
{ "JotunWarriorDualWield", "TrophyJotunWarrior" },
|
||||
{ "JotunWitch", "TrophyJotunWitch" },
|
||||
{ "ElakingMole", "TrophyMole" },
|
||||
{ "GoblinDeepNorth", "TrophyGoblin" },
|
||||
{ "DvergerDeepNorth", "TrophyDvergr" },
|
||||
// The Dvergr from before the Deep North, all of them: 90 HP for 25 minutes.
|
||||
{ "Dverger", "TrophyDvergr" },
|
||||
{ "DvergerMage", "TrophyDvergr" },
|
||||
{ "DvergerMageFire", "TrophyDvergr" },
|
||||
{ "DvergerMageIce", "TrophyDvergr" },
|
||||
{ "DvergerMageSupport", "TrophyDvergr" },
|
||||
{ "DvergerAshlands", "TrophyDvergr" },
|
||||
{ "Seal", "TrophySeal" },
|
||||
{ "Seal_Pup", "TrophySeal" }
|
||||
};
|
||||
|
||||
private static Dictionary<string, string> mobToFoodMap = new Dictionary<string, string>
|
||||
|
|
@ -65,7 +90,18 @@ namespace RacesOfValheim
|
|||
{ "SeekerBrute", "CookedBugMeat" },
|
||||
{ "SeekerBrood", "CookedBugMeat" },
|
||||
{ "Surtling", "BloodPudding" },
|
||||
{ "Bear", "CookedBearMeat" }
|
||||
{ "Bear", "CookedBearMeat" },
|
||||
// Same meal as the Draugh's raw Seal Blubber: vanilla's Seal Meat Soup, so a seal is
|
||||
// worth exactly what the soup is, adult or pup.
|
||||
{ "Greydwarf_Frozen", "SealSoup" },
|
||||
{ "Greydwarf_Shaman_Frozen", "SealSoup" },
|
||||
// The Cooked Asksvin Tail (prefab CookedAsksvinMeat), the same meal the Asksvin gives.
|
||||
{ "Elaking", "CookedAsksvinMeat" },
|
||||
{ "ElakingLantern", "CookedAsksvinMeat" },
|
||||
{ "Moose", "CookedMooseMeat" },
|
||||
{ "Moose_calf", "CookedMooseMeat" },
|
||||
{ "Seal", "SealSoup" },
|
||||
{ "Seal_Pup", "SealSoup" }
|
||||
};
|
||||
|
||||
public static bool BypassAswidFoodCheck = false;
|
||||
|
|
@ -155,7 +191,9 @@ namespace RacesOfValheim
|
|||
if (c != null)
|
||||
{
|
||||
float foodHp = Mathf.Min(c.m_health / 2f, 150f);
|
||||
float burnTime = c.m_health * 2f;
|
||||
// Capped at 50 minutes: a tough creature like the Barka would otherwise
|
||||
// feed for over an hour.
|
||||
float burnTime = Mathf.Min(c.m_health * 2f, 3000f);
|
||||
// StartsWith("Fenring") already covers Fenring_Cultist. "Fuling" was
|
||||
// never a prefab prefix - the family is Goblin* - so that arm of the
|
||||
// test matched nothing until now.
|
||||
|
|
@ -163,6 +201,10 @@ namespace RacesOfValheim
|
|||
{
|
||||
burnTime = 1200f; // 20 minutes
|
||||
}
|
||||
else if (mobName == "JotunWitch") { foodHp = 120f; burnTime = 3600f; } // 60 minutes
|
||||
else if (mobName == "ElakingMole") { foodHp = 100f; burnTime = 1800f; } // 30 minutes
|
||||
else if (mobName.StartsWith("Dverger") && mobName != "DvergerDeepNorth") { foodHp = 90f; burnTime = 1500f; } // 25 minutes
|
||||
else if (mobName == "DvergerDeepNorth") { foodHp = 100f; burnTime = 1800f; } // 30 minutes
|
||||
else if (mobName == "Greyling") { foodHp = 20f; burnTime = 1200f; }
|
||||
else if (mobName == "Greydwarf") { foodHp = 25f; burnTime = 1200f; }
|
||||
else if (mobName == "Greydwarf_Shaman") { foodHp = 30f; burnTime = 1200f; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue