Implemented Yharon's lore

This commit is contained in:
Ozzatron authored and Cameron Ewell committed 2023-01-22 20:34:41 -05:00
1 parent 8022904539
commit fe0066f189
2 files changed
+19 -6

No files matched your search

+4 -5
View File
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.LoreItems
// This string contains the actual lore of the lore item
public virtual string Lore => "";
// By default, lore text appears in white, but this can be changed.
public virtual Color LoreColor => Color.White;
public virtual Color? LoreColor => null;
public override void SetStaticDefaults()
{
@@ -68,10 +68,9 @@ namespace CalamityMod.Items.LoreItems
tooltips.RemoveRange(tooltipIndex, tooltipCount);
// Replace them with the full lore.
TooltipLine fullLore = new(Mod, "CalamityMod:Lore", Lore)
{
OverrideColor = LoreColor
};
TooltipLine fullLore = new(Mod, "CalamityMod:Lore", Lore);
if (LoreColor.HasValue)
fullLore.OverrideColor = LoreColor.Value;
tooltips.Insert(tooltipIndex, fullLore);
}
}
+15 -1
View File
@@ -9,7 +9,21 @@ namespace CalamityMod.Items.LoreItems
[LegacyName("KnowledgeYharon")]
public class LoreYharon : LoreItem
{
public override string Lore => "This lore item isn't finished yet.";
public override string Lore =>
@"The return of the Age of Dragons, dashed. Just like that, it is but ashes in the wind…
Yharon was the last of the Auric Dragons. As a phoenix, his domain of power includes rebirth.
The Gods thought him culled with the rest of his kind, but he returned as an egg, hidden on the Aerie.
I was destined to consume his Auric soul when he hatched, and rule forever as God-King.
[c/FCA92B:Destiny is for the weak.]
I rejected their whims, and upended their scheme. I was sentenced to execution for treason.
Their meek, ingratiated swine cast both Yharon’s egg and I into the magma of Hell.
The intense heat hideously scarred me, but birthed Yharon anew. He rose, wreathed in fire, and saved my life.
From that day, our souls were one. He shared with me the tale of Zeratros, and the genocide of his kind.
I promised him I would have justice. So the war began, Yharon rallying all as a beacon of hope.
Now, that hope is long withered. I am but a husk of the hero I once was, and this is the ultimate proof.
Yharon may yet return, as he does, but he… he has bade me farewell.";
public override void SetStaticDefaults()
{