Merge branch 'war-vulture' into main
Brings in the Sverm race, the War Vulture flying mount, and Skadi's Crystal Golem (replacing the Hidden Hollow). Resolved conflicts: AswidVisuals.cs took war-vulture's skeleton-eye-light rewrite with main's attach/attack/sleep timing guard re-applied on top, and RaceCompendium.cs kept main's rewritten race entries while folding in war-vulture's Sverm/War Vulture pages and the new Claws paragraphs for Aswid and Fenrir.
This commit is contained in:
commit
58f70f1a4c
57 changed files with 11362 additions and 1102 deletions
|
|
@ -33,7 +33,6 @@ namespace RacesOfValheim
|
|||
// rebuild - see CONFIGURATION-MANAGER-HOWTO.md.
|
||||
public const string SPELL_COOLDOWN_SE = "SE_SkadiSpellCooldown";
|
||||
public const string ATTACK_COOLDOWN_SE = "SE_SkadiAttackCooldown";
|
||||
public const string HOLLOW_COOLDOWN_SE = "SE_SkadiHollowCooldown";
|
||||
|
||||
private static float SPELL_STAMINA_COST => SkadiConfig.SpellStaminaCost.Value;
|
||||
private static float SPELL_COOLDOWN => SkadiConfig.SpellCooldown.Value;
|
||||
|
|
@ -53,9 +52,9 @@ namespace RacesOfValheim
|
|||
{
|
||||
// The reagent goes first: the faction merchant catalogue resolves its entries by prefab
|
||||
// name, so Greater Frost Heart has to exist before a Fenring_Cultist is ever set up as a
|
||||
// bench - and the staff's recipe references it by name too.
|
||||
// bench.
|
||||
SkadiFrostHeart.Register();
|
||||
SkadiNokkel.Register();
|
||||
SkadiGolem.Register();
|
||||
|
||||
var se = ScriptableObject.CreateInstance<SE_SkadiStats>();
|
||||
se.name = "SE_SkadiStats";
|
||||
|
|
@ -108,13 +107,6 @@ namespace RacesOfValheim
|
|||
attackCd.m_tooltip = "Your dragon shape must ready itself to strike again.";
|
||||
attackCd.m_icon = GetItemIcon("TrophyHatchling") ?? dragonIcon;
|
||||
ItemManager.Instance.AddStatusEffect(new CustomStatusEffect(attackCd, fixReference: false));
|
||||
|
||||
var hollowCd = ScriptableObject.CreateInstance<SE_SkadiAbilityCooldown>();
|
||||
hollowCd.name = HOLLOW_COOLDOWN_SE;
|
||||
hollowCd.m_name = "Skadis Nokkel";
|
||||
hollowCd.m_tooltip = "The way to your hollow must freeze over again before it will open.";
|
||||
hollowCd.m_icon = GetItemIcon("StaffIceShards") ?? dragonIcon;
|
||||
ItemManager.Instance.AddStatusEffect(new CustomStatusEffect(hollowCd, fixReference: false));
|
||||
}
|
||||
|
||||
// Drives the HUD countdown: Valheim prints the remaining time on any status effect whose
|
||||
|
|
@ -151,8 +143,8 @@ namespace RacesOfValheim
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// The same check, reachable without an Instance - which the Nokkel's Harmony patch and the
|
||||
/// hollow both need, since they run from static context.
|
||||
/// The same check, reachable without an Instance - which the golem and the cave-building
|
||||
/// watcher both need, since they run from static context.
|
||||
/// </summary>
|
||||
public static bool IsLocalSkadi()
|
||||
{
|
||||
|
|
@ -254,8 +246,7 @@ namespace RacesOfValheim
|
|||
DumpPrefabDebugInfo("Dragon");
|
||||
DumpPrefabDebugInfo("Hatchling");
|
||||
DumpPrefabDebugInfo("Fader");
|
||||
SkadiNokkel.DumpSource();
|
||||
if (Player.m_localPlayer != null) Player.m_localPlayer.Message(MessageHud.MessageType.Center, "Dumped Dragon/Drake/Fader + Nokkel debug info to console!");
|
||||
if (Player.m_localPlayer != null) Player.m_localPlayer.Message(MessageHud.MessageType.Center, "Dumped Dragon/Drake/Fader debug info to console!");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue