This commit is contained in:
mountaindrew10 committed 2023-01-22 23:01:12 -06:00
commit 9637174e69
164 files changed
+1909 -1615

No files matched your search

+4 -4
View File
@@ -1363,11 +1363,11 @@ namespace CalamityMod
ItemType<OldDukeTrophy>(),
ItemType<LeviathanTrophy>(),
ItemType<AquaticScourgeTrophy>(),
ItemType<KnowledgeAquaticScourge>(),
ItemType<KnowledgeLeviathanAnahita>(),
ItemType<KnowledgeSulphurSea>(),
ItemType<LoreAquaticScourge>(),
ItemType<LoreLeviathanAnahita>(),
ItemType<LoreSulphurSea>(),
ItemType<KnowledgeOcean>(),
ItemType<KnowledgeOldDuke>(),
ItemType<LoreOldDuke>(),
ItemType<PearlShard>(),
ItemType<AeroStone>(),
ItemType<TheCommunity>(),
@@ -1,80 +0,0 @@
using System.Collections.Generic;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
// Make sure to have these 2 directives for all Lore Items.
using Microsoft.Xna.Framework;
using static Microsoft.Xna.Framework.Input.Keys;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeAquaticScourge : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Aquatic Scourge");
Tooltip.SetDefault("[c/7FFFD4:Whispers echo in your ears...]\n" + "[c/BEBEBE:Press \"Left Shift\" to listen closer...]");
// The color of the text that will be shown when Left Shift is pressed and then BEBEBE is a gray color.
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 38;
Item.height = 26;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AquaticScourgeTrophy>().
AddTile(TileID.Bookcases).
Register();
}
public override void ModifyTooltips(List<TooltipLine> tooltips)
// For Lore Items, you copy whatever this line is and you input the text and color below.
{
if (Main.keyState.IsKeyDown(LeftShift))
{
int tooltipIndex = -1;
int tooltipCount = 0;
for (int i = 0; i < tooltips.Count; i++)
{
if (tooltips[i].Name.StartsWith("Tooltip"))
{
if (tooltipIndex == -1)
tooltipIndex = i;
tooltipCount++;
}
}
if (tooltipIndex != -1)
{
tooltips.RemoveRange(tooltipIndex, tooltipCount);
TooltipLine extendedLore = new TooltipLine(Mod, "CalamityMod:HiddenTooltip",
"Another once grand sea serpent, well-adapted to its harsh environs.\n" +
"Unlike the other Scourge, which was half starved and chasing scraps for its next meal, it lived comfortably.\n" +
"Microorganisms evolve rapidly, so it was able to maintain its filter feeding habits as the sea putrefied.\n" +
"What a stark contrast to the rest of the ecosystem. Nearly every other creature in the Sulphur Sea is hostile.\n" +
"A shame that its last bastion of tranquility has fallen.");
extendedLore.OverrideColor = new Color(127, 255, 212); // The color of the text shown when Left Shift is pressed.
tooltips.Insert(tooltipIndex, extendedLore);
}
}
}
}
}
-41
View File
@@ -1,41 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeAstrumAureus : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Astrum Aureus");
Tooltip.SetDefault("A titanic cyborg infected by a star-borne disease expelled from the belly of an ancient god.\n" +
"The destruction of this creature will not prevent the spread of the disease.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Lime;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AstrumAureusTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-41
View File
@@ -1,41 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeAstrumDeus : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Astrum Deus");
Tooltip.SetDefault("God of the stars and largest vessel for the Astral Infection.\n" +
"Though struck down from its place among the stars its remnants have gathered strength, aiming to take its rightful place in the cosmos once more.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Cyan;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AstrumDeusTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-41
View File
@@ -1,41 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeBrimstoneCrag : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Brimstone Crag");
Tooltip.SetDefault("Ah... this place.\n" +
"The scent of broken promises, pain, and eventual death is heavy in the air...");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<BrimstoneElementalTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
@@ -1,41 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeBrimstoneElemental : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Brimstone Elemental");
Tooltip.SetDefault("The most powerful of the elementals, bent on exacting revenge upon the bloody inferno that demolished her home.\n" +
"Finally put to rest, she will suffer no longer from the grief caused by the deaths of her people.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<BrimstoneElementalTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-43
View File
@@ -1,43 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeCalamitas : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Calamitas");
Tooltip.SetDefault("The witch unrivaled. Perhaps the only one amongst my cohorts to have ever given me cause for doubt.\n" +
"Now that you have defeated her your destiny is clear.\n" +
"Come now, face me.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<Violet>();
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<SupremeCalamitasTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-41
View File
@@ -1,41 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeCryogen : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Cryogen");
Tooltip.SetDefault("The archmage's prison.\n" +
"I am unsure if it has grown weaker over the decades of imprisonment.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<CryogenTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-42
View File
@@ -1,42 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeDesertScourge : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Desert Scourge");
Tooltip.SetDefault("The great sea worm appears to have survived the extreme heat and has even adapted to it.\n" +
"What used to be a majestic beast swimming through the water has now become a dried-up and\n" +
"gluttonous husk, constantly on a voracious search for its next meal.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Blue;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<DesertScourgeTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-40
View File
@@ -1,40 +0,0 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeDestroyer : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Destroyer");
Tooltip.SetDefault("A machine brought to life by the mighty souls of warriors, and built to excavate massive tunnels in planets to gather resources.\n" +
"Could have proven useful if Draedon didn't have an obsession with turning everything into a tool of destruction.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.DestroyerTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
@@ -1,42 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeDevourerofGods : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Devourer of Gods");
Tooltip.SetDefault("This serpent’s power to assimilate the abilities and energy of those it consumed is unique in almost all the known cosmos, save for its lesser brethren.\n" +
"I would have soon had to eliminate it as a threat had it been given more time and creatures to feast upon.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<PureGreen>();
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<DevourerofGodsTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-42
View File
@@ -1,42 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeBumblebirb")]
public class KnowledgeDragonfolly : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Dragonfolly");
Tooltip.SetDefault("A failure of twisted scientific ambition; it appears our faulted arrogance over life has shown once more in the results.\n" +
"Originally intended to be a clone of the Jungle Dragon, these were left to roam about the jungle, attacking anything in their path.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Purple;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<DragonfollyTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-52
View File
@@ -1,52 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeExoMechs : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Exo Mechanical Trio");
Tooltip.SetDefault("The fruits of masterful craftsmanship and optimization, created only with the objective to destroy.\n" +
"Yet in the end, they achieved little more than the original designs they were derived from.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<Violet>();
}
public override bool CanUseItem(Player player) => false;
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ArtemisTrophy>().
AddTile(TileID.Bookcases).
Register();
CreateRecipe().
AddIngredient<ApolloTrophy>().
AddTile(TileID.Bookcases).
Register();
CreateRecipe().
AddIngredient<ThanatosTrophy>().
AddTile(TileID.Bookcases).
Register();
CreateRecipe().
AddIngredient<AresTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-40
View File
@@ -1,40 +0,0 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeGolem : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Golem");
Tooltip.SetDefault("A primitive construct.\n" +
"I admire the lihzahrd race for their ingenuity, though finding faith in such a flawed idol would invariably lead to their downfall.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Yellow;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.GolemTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
@@ -1,41 +0,0 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeLunaticCultist : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Lunatic Cultist");
Tooltip.SetDefault("The gifted one that terminated my grand summoning so long ago with his uncanny powers over the arcane.\n" +
"Someone I once held in such contempt for his actions is now... deceased, his sealing ritual undone... prepare for the end.\n" +
"Your impending doom approaches...");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Cyan;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.AncientCultistTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
-41
View File
@@ -1,41 +0,0 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeMoonLord : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Moon Lord");
Tooltip.SetDefault("What a waste.\n" +
"Had it been fully restored it would have been a force to behold, but what you fought was an empty shell.\n" +
"However, that doesn't diminish the immense potential locked within it, released upon its death.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Red;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.MoonLordTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
-42
View File
@@ -1,42 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeOldDuke : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Old Duke");
Tooltip.SetDefault("Strange, to find out that the mutant terror of the seas was not alone in its unique biology.\n" +
"Perhaps I was mistaken to classify the creature from its relation to pigrons alone.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ModContent.RarityType<PureGreen>();
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<OldDukeTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-40
View File
@@ -1,40 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgePerforators : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Perforators and their Hive");
Tooltip.SetDefault("An abomination of comingled flesh, bone, and organ, infested primarily by blood-slurping worms.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Orange;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<PerforatorTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
@@ -1,41 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgePlaguebringerGoliath : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Plaguebringer Goliath");
Tooltip.SetDefault("A horrific amalgam of steel, flesh, and infection, capable of destroying an entire civilization in just one onslaught.\n" +
"Its plague nuke barrage can leave an entire area uninhabitable for months. A shame that it came to this but the plague must be contained.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Yellow;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<PlaguebringerGoliathTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-41
View File
@@ -1,41 +0,0 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgePlantera : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Plantera");
Tooltip.SetDefault("Well done, you killed a plant.\n" +
"It was used as a vessel to house the spirits of those unfortunate enough to find their way down here.\n" +
"I wish you luck in dealing with the fallout.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.LightPurple;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.PlanteraTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
-42
View File
@@ -1,42 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgePolterghast : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Polterghast");
Tooltip.SetDefault("A creature born of hatred and anger, formed by countless human souls with all of their energy entirely devoted to consuming others.\n" +
"It seems a waste to have had such a potent source of power ravage mindlessly through these empty halls.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<PureGreen>();
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<PolterghastTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
@@ -1,42 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeProfanedGuardians : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Profaned Guardians");
Tooltip.SetDefault("The ever-rejuvenating guardians of the profaned flame.\n" +
"Much like a phoenix from the ashes their deaths are simply a part of their life cycle.\n" +
"Many times my forces have had to destroy these beings in search of the Profaned Goddess.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Purple;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ProfanedGuardianTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-42
View File
@@ -1,42 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeProvidence : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Providence, the Profaned Goddess");
Tooltip.SetDefault("A core surrounded by stone and flame, a simple origin and a simple goal.\n" +
"What would have become of us had she not been defeated is a frightening concept to consider.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<Turquoise>();
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ProvidenceTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-41
View File
@@ -1,41 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeRavager : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Ravager");
Tooltip.SetDefault("The flesh golem constructed using twisted necromancy during the time of my conquest to counter my unstoppable forces.\n" +
"Its creators were slaughtered by it moments after its conception. It is for the best that it has been destroyed.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Yellow;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<RavagerTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-51
View File
@@ -1,51 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeSentinels : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("The Sentinels of the Devourer");
Tooltip.SetDefault("Signus. The Void. The Weaver.\n" +
"Each represent one of the Devourer’s largest spheres of influence.\n" +
"Dispatching them has most likely invoked its anger and marked you as a target for destruction.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<Turquoise>();
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<CeaselessVoidTrophy>().
AddTile(TileID.Bookcases).
Register();
CreateRecipe().
AddIngredient<WeaverTrophy>().
AddTile(TileID.Bookcases).
Register();
CreateRecipe().
AddIngredient<SignusTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
@@ -1,40 +0,0 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeSkeletronPrime : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Skeletron Prime");
Tooltip.SetDefault("What a silly and pointless contraption for something created with the essence of pure terror.\n" +
"Draedon obviously took several liberties with its design... I am not impressed.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.SkeletronPrimeTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
-38
View File
@@ -1,38 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeSulphurSea : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Sulphur Sea");
Tooltip.SetDefault("I remember the serene waves and the clear breeze.\n" +
"The bitterness of my youth has long since subsided, but it is far too late. I must never repeat a mistake like this again.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override bool CanUseItem(Player player) => false;
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AquaticScourgeTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
-41
View File
@@ -1,41 +0,0 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeWallofFlesh : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Wall of Flesh");
Tooltip.SetDefault("I see the deed is done.\n" +
"The unholy amalgamation of flesh and hatred has been defeated.\n" +
"Prepare to face the terrors that lurk in the light and dark parts of this world.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.LightRed;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.WallofFleshTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
-42
View File
@@ -1,42 +0,0 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeYharon : LoreItem
{
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Jungle Dragon, Yharon");
Tooltip.SetDefault("I would not be able to bear a world without my faithful companion by my side.\n" +
"Fortunately, fate will have it so that it is a world I shall never have to see, for better or for worse.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<DarkBlue>();
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<YharonTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
+40
View File
@@ -0,0 +1,40 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeAquaticScourge")]
public class LoreAquaticScourge : LoreItem
{
public override string Lore =>
@"Another once grand sea serpent, well-adapted to its harsh environs.
Unlike the other Scourge, which was half starved and chasing scraps for its next meal, it lived comfortably.
Microorganisms evolve rapidly, so it was able to maintain its filter feeding habits as the sea putrefied.
What a stark contrast to the rest of the ecosystem. Nearly every other creature in the Sulphur Sea is hostile.
A shame that its last bastion of tranquility has fallen.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Aquatic Scourge");
}
public override void SetDefaults()
{
Item.width = 38;
Item.height = 26;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AquaticScourgeTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 365 B

+41
View File
@@ -0,0 +1,41 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeCryogen")]
public class LoreArchmage : LoreItem
{
public override string Lore =>
@"He yet lives…?! I thought him slain by Calamitas. It appears she imprisoned the Archmage to spare his life.
I assumed that frigid mass was an old construct of his, running amok without its master to shepherd it.
Permafrost was an old ally of mine, wielding the prestigious title of Archmage and great renown.
His wisdom guided my original conquests, or rather, made much of them possible at all.
As my crusade evolved and my ambitions grew, he expressed vehement disapproval.
Where once he saw justice, there was now tyranny. He departed, and the Witch not long after.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Archmage");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<CryogenTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B

+41
View File
@@ -0,0 +1,41 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeAstrumAureus")]
public class LoreAstrumAureus : LoreItem
{
public override string Lore =>
@"Ever pragmatic, Draedon dispatched this machine to locate and analyze the source of the Astral Infection.
While nominally for reconnaissance, the Aureus model is heavily armed and can scale any terrain.
It performed admirably, at least until it was assimilated into the Infection.
Sapient minds have enough willpower to resist the Infection's call indefinitely.
However, even the finest silicon is not beyond its reach. Draedon prefers his creations to serve, after all.
With this experiment concluded, he will certainly be examining you next. Watch yourself.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Astrum Aureus");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Lime;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AstrumAureusTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 523 B

After

Width:  |  Height:  |  Size: 523 B

+41
View File
@@ -0,0 +1,41 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeAstrumDeus")]
public class LoreAstrumDeus : LoreItem
{
public override string Lore =>
@"On our world, this being is revered as the God of the night sky. It is said to devour dying stars and birth new ones in turn.
Unlike the many Gods you or I know, it is guiltless. An important distinction, for it was equally as diseased as they.
The infection that tainted its body is from beyond Terraria. Neither I nor Draedon recognize it fully.
With its will subsumed, it hurled a chunk of infested astral matter at our world, then came to guard it.
Thankfully, such a grandiose being that walks amongst the stars is likely not truly dead.
While the land has paid a terrible price, the price of a wrongful conviction is higher still.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Astrum Deus");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Cyan;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<AstrumDeusTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 384 B

+37
View File
@@ -0,0 +1,37 @@
using Terraria;
using Terraria.ID;
namespace CalamityMod.Items.LoreItems
{
public class LoreAwakening : LoreItem
{
public override string Lore =>
@"The tombs of the Dragons stir. My eyes lift to see ancient dust dancing from high ledges.
These grand wings… how long has it been since I was a hero worthy of their name?
It feels like centuries have passed, and all I've done is blink.
Look upon my works, as they are. Ruined. None would dare seek me out, tread my path.
Naught awaits them in this cruel world.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Awakening");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Blue;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.ArmorStatue).
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 415 B

After

Width:  |  Height:  |  Size: 415 B

+40
View File
@@ -0,0 +1,40 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeBrimstoneCrag")]
public class LoreAzafure : LoreItem
{
public override string Lore =>
@"Oft called the First City, its tumultuous history stretches back to the Draconic Era.
An odd jewel of civilization, the immense heat of the underworld provided it unlimited potential in defense and industry.
Such was the renown of the forgemasters that when I swayed them to my cause, I was never lacking for arms.
It pains me to say even in hindsight, but their artisanry paved the downfall of the entire city.
For the Witch and I, the air here will forever be laden with regret. There is nothing to be done.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Azafure");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<BrimstoneElementalTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 384 B

After

Width:  |  Height:  |  Size: 384 B

@@ -1,19 +1,22 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeBrainofCthulhu : LoreItem
[LegacyName("KnowledgeBrainofCthulhu")]
public class LoreBrainofCthulhu : LoreItem
{
public override string Lore =>
@"It is true that unspeakable abominations may now be commonplace, largely by my hand.
Though they have always been a product of the folly of the Gods, the same Gods would cull them in equal measure.
My decimation of the falsely divine left many old horrors unconstrained, with new ones birthed every year.
Now, they are your stepping stones.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Brain of Cthulhu");
Tooltip.SetDefault("An eye and now a brain.\n" +
"Most likely another abomination spawned from this inchoate mass of flesh.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -21,19 +24,9 @@ namespace CalamityMod.Items.LoreItems
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Green;
Item.autoReuse = false;
Item.useStyle = ItemUseStyleID.Swing;
Item.useAnimation = 20;
Item.useTime = 20;
Item.UseSound = SoundID.Item8;
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
File renamed without changes.

Before

Width:  |  Height:  |  Size: 421 B

After

Width:  |  Height:  |  Size: 421 B

+42
View File
@@ -0,0 +1,42 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeBrimstoneElemental")]
public class LoreBrimstoneElemental : LoreItem
{
public override string Lore =>
@"A peculiar being. Until recently, she had laid dormant for ages, posing as the city’s silent matron.
As its economy boomed, traces of brimstone found their way all across the known world.
It was never clear why her slumber ended. At first she stirred. The people were cautiously optimistic.
When she woke, it was horrific. Her inferno billowed through the streets. None were safe.
Fate had a sick sense of humor that day, for Calamitas was there to match her.
Perhaps the two were attuned somehow. They fought to a standstill, fire against fire.
Neither were victorious, and despite her intentions, the city was razed by her flames.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Brimstone Elemental");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<BrimstoneElementalTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 481 B

After

Width:  |  Height:  |  Size: 481 B

+48
View File
@@ -0,0 +1,48 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeCalamitas")]
public class LoreCalamitas : LoreItem
{
public override string Lore =>
@"None have borne the brunt of misfortune quite like the Brimstone Witch, Calamitas.
When first I saw her, she was still a girl. Prostrated in my court, garbed in charred rags, trembling.
I could not grasp the unfathomable, raw power of the fell magics that coursed through her.
She could scant control it herself. Permafrost recognized this immediately. With a pained face, he counseled me to look after her.
The Witch entered his tutelage, and soon after, my service. She was ablaze with desire to douse the Gods in her wicked wrath.
Indeed, the faithful already quaked in her presence. Her name was a moniker of theirs, one uttered quietly in fear.
In my campaigns, I counted on her sheer capacity for annihilation as my ace in the hole.
No man, no army, no city, and no God could stand against her unbridled fury.
Eventually, the girl’s horrific sin was too much for her to bear. She left my side along with her mentor.
The weight of her deeds haunts her to this day. She despises me, and I cannot blame her.
Please, if you would, show her respect where I did not.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Calamitas");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<Violet>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<SupremeCalamitasTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 492 B

@@ -1,20 +1,24 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeCalamitasClone : LoreItem
[LegacyName("KnowledgeCalamitasClone")]
public class LoreCalamitasClone : LoreItem
{
public override string Lore =>
@"I had seen this monster roaming the night in the past, and thought nothing of it.
With its technology, it was certainly one of Draedon’s creations.
But, to think it was housing a clone of the Witch… Irremissible.
Surely Calamitas would want nothing to do with such a project.
I know not how it wields her brimstone magic. Perhaps some day one of us may find answers.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Calamitas Clone");
Tooltip.SetDefault("You are indeed stronger than I thought.\n" +
"Though the bloody inferno still lingers, observing your progress.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -25,11 +29,6 @@ namespace CalamityMod.Items.LoreItems
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

+44
View File
@@ -0,0 +1,44 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeSentinels")]
public class LoreCeaselessVoid : LoreItem
{
public override string Lore =>
@"A contained, previously inert portal sealed in the Dungeon. The presiding cult kept it a closely guarded secret.
Upon sighting the Devourer of Gods, their leader hurriedly led me to its chamber to reveal its existence to me.
The portal led to the Devourer’s home. It was identical to his, only ancient and perfectly stable.
The serpent claimed it, too, was his creation. Its permanence was a mistake he later rectified.
But this rift was unquestionably far older than he. It dated back to the Golden Age of Dragons.
His lie was thin and forced. Something far more powerful than the Devourer was at hand.
Its eerie persistence gnawed at my mind. It did not just threaten me. It threatened everyone. Everything.
Even faced with such lies and eminent danger, I simply walked away, and did not return.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Ceaseless Void");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<Turquoise>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<CeaselessVoidTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 572 B

After

Width:  |  Height:  |  Size: 572 B

@@ -1,19 +1,21 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeCorruption : LoreItem
[LegacyName("KnowledgeCorruption")]
public class LoreCorruption : LoreItem
{
public override string Lore =>
@"To not properly dispose of the essence of a slain God is a fatal mistake. This wasteland stands as proof of such.
Having slain my first Gods, I turned a blind eye as corrupt essence gushed from their rent forms and burrowed into the bowels of Terraria.
The mere existence of this putrid place proves that the Gods of old were beyond redemption.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Corruption");
Tooltip.SetDefault("The rotten and forever-deteriorating landscape of infected life, brought upon by a deadly microbe long ago.\n" +
"It is rumored that the microbe was created through experimentation by a long-dead race, predating the Terrarians.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -24,11 +26,6 @@ namespace CalamityMod.Items.LoreItems
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
File renamed without changes.

Before

Width:  |  Height:  |  Size: 493 B

After

Width:  |  Height:  |  Size: 493 B

@@ -1,19 +1,22 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeCrabulon : LoreItem
[LegacyName("KnowledgeCrabulon")]
public class LoreCrabulon : LoreItem
{
public override string Lore =>
@"Fungus and a sea crab. One sought a host; the other, a new home.
These mushrooms possess a disturbing amount of tenacity. Nothing that lays down to die in their domain is left to rest.
It is this sort of ghastly, forceful exertion of control over the unwilling that led me down my path.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Crabulon");
Tooltip.SetDefault("A crab and its mushrooms, a love story.\n" +
"It's interesting how creatures can adapt given certain circumstances.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -24,11 +27,6 @@ namespace CalamityMod.Items.LoreItems
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
File renamed without changes.

Before

Width:  |  Height:  |  Size: 466 B

After

Width:  |  Height:  |  Size: 466 B

@@ -1,19 +1,21 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeCrimson : LoreItem
[LegacyName("KnowledgeCrimson")]
public class LoreCrimson : LoreItem
{
public override string Lore =>
@"The foul air, the morbid fauna, the disgusting terrain… Here lies my first mistake of my crusade.
The essence of a God does not simply vanish when the body dies. It must be properly disposed of or destroyed entirely.
Essence of a pious God could never fester into a mire as dreadful as this.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Crimson");
Tooltip.SetDefault("This bloody hell, spawned from a formless mass of flesh that fell from the stars eons ago.\n" +
"It is now home to many hideous creatures, spawned from the pumping blood and lurching organs deep within.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -24,11 +26,6 @@ namespace CalamityMod.Items.LoreItems
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
File renamed without changes.

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 451 B

+44
View File
@@ -0,0 +1,44 @@
using CalamityMod.Items.Materials;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class LoreCynosure : LoreItem
{
public override string Lore =>
@"You now stand at the brink of infinity. The power you have amassed is extraordinary.
Valor and deceit, truth and falsehood, loyalty and betrayal… you are beyond these notions.
All, you have rent asunder as they crossed your path. The very land now bends to your will.
Do you not see how the grass parts where you step, how the stars illuminate where you gaze?
Terraria itself kneels to you, whether it be out of fear or respect.
This is the strength the Dragons held. The primordial power they commanded.
Little stands between us now. If you did not seek battle with me, I doubt you would have come so far.
When you are prepared, seek the grave of the Light, at the summit of the Dragon Aerie.
I await your challenge.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Cynosure");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<Violet>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ShadowspecBar>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 443 B

After

Width:  |  Height:  |  Size: 443 B

+38
View File
@@ -0,0 +1,38 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeDesertScourge")]
public class LoreDesertScourge : LoreItem
{
public override string Lore =>
@"Once, it was a majestic sea serpent that threatened none but the microscopic creatures it consumed.
After its home was incinerated, it became familiar with the hunt. To survive, it quickly learned to seek greater prey.
Unfortunately for the scourge, it seems that it too was prey in the end. After all, there is always a bigger fish in the sea.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Desert Scourge");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Blue;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<DesertScourgeTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 463 B

After

Width:  |  Height:  |  Size: 463 B

+40
View File
@@ -0,0 +1,40 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeDestroyer")]
public class LoreDestroyer : LoreItem
{
public override string Lore =>
@"The Godseeker Knights of my company were far and away my finest soldiers.
They championed my cause, and I championed them in return.
I bestowed upon them hulking armor and colossal weaponry, so their Might would never falter.
Some days, I would take time to train by their side, inspiring them to new heights of righteous fury.
Draedon understood well, and granted them these massive forms, bristling with weaponry and interlocked armor forged of blessed metal.
While in truth it was repurposed mining equipment, their sheer presence on the battlefield was immense.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Destroyer");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Pink;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.DestroyerTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 431 B

After

Width:  |  Height:  |  Size: 431 B

+45
View File
@@ -0,0 +1,45 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeDevourerofGods")]
public class LoreDevourerofGods : LoreItem
{
public override string Lore =>
@"The infamous, otherworldly glutton, in the flesh. His imposing title was self-granted, but truth made it stick.
He is a formidable foe, capable of swallowing Gods whole, absorbing their essence in its entirety.
I ordered Draedon to armor his gargantuan form, so he could safely best even great Gods in single combat.
Fittingly, he had a serpent’s tongue. He manipulated me incessantly, driving me to awful acts.
I recruited him out of desperation. My war had dragged on for decades, and I would do anything to have it end.
It was then my negligence was born. My descent began the moment recruiting this scoundrel crossed my mind.
His dearth of loyalty was clear as day, even at the time. However, I suspect it goes beyond that.
The Devourer’s alien capabilities and domineering tactics hint that his allegiance lay elsewhere.
Is he but one soldier, of a malevolence far beyond…?";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Devourer of Gods");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<PureGreen>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<DevourerofGodsTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 436 B

After

Width:  |  Height:  |  Size: 436 B

+42
View File
@@ -0,0 +1,42 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeBumblebirb", "KnowledgeDragonfolly")]
public class LoreDragonfolly : LoreItem
{
public override string Lore =>
@"Near the close of the Draconic Era, there are records of the “impure” Dragon species.
Wyverns, basilisks, Pigrons and the like are documented, though none are sure how exactly they came to be.
To this day, scholars argue over the true names and lineages of these creatures.
Names aside, it is clear the first offshoots are pure enough to retain the great strength of their forebears.
Naturally, this led them to be targeted by cruel divine mandates, and most were hunted to extinction.
It is known that Fishrons, Follies, and the Abyssal Wyrms survived the purging hunts of the Deific Era.
Notably, they now are all reclusive or exceedingly violent. It is tragic how they evolved to be that way.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Dragonfolly");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Purple;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<DragonfollyTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 393 B

After

Width:  |  Height:  |  Size: 393 B

@@ -1,19 +1,23 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeDukeFishron : LoreItem
[LegacyName("KnowledgeDukeFishron")]
public class LoreDukeFishron : LoreItem
{
public override string Lore =>
@"Outlandish as they may seem, this species is the single mightiest of the seas.
They are relentless hunters and can easily spend significant time out of the water.
Folklore holds that the Fishrons claim heritage from the true Dragons, countless years back.
While there are many such tales of creatures of draconic descent, this case is factual.
Genetic heritage or not, though, the Fishrons lack Dragonblood, or Auric souls. I would well know.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Duke Fishron");
Tooltip.SetDefault("The mutant terror of the sea was once the trusted companion of an old king; he tamed it using its favorite treat.\n" +
"Long ago, the creature flew in desperation from the raging bloody inferno consuming its home, ultimately finding its way to the ocean.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -24,11 +28,6 @@ namespace CalamityMod.Items.LoreItems
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
File renamed without changes.

Before

Width:  |  Height:  |  Size: 336 B

After

Width:  |  Height:  |  Size: 336 B

@@ -1,19 +1,22 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeEaterofWorlds : LoreItem
[LegacyName("KnowledgeEaterofWorlds")]
public class LoreEaterofWorlds : LoreItem
{
public override string Lore =>
@"Any powerful being will call forth fable and legend, of both its grandeur and terror. That monstrous worm was no exception.
That measly thing, devouring a planet? Ridiculous. However, ridicule spreads quickly with even an ounce of truth behind it.
One will not need to search long for examples. We are all surrounded by rampant superstition and assumption.
I myself have been subjected to a litany of baseless boasts and accusations in my time.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Eater of Worlds");
Tooltip.SetDefault("Perhaps it was just a giant worm infected by the microbe, given centuries to feed and grow its festering body.\n" +
"Seems likely, given the origins of this place.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -24,11 +27,6 @@ namespace CalamityMod.Items.LoreItems
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
File renamed without changes.

Before

Width:  |  Height:  |  Size: 404 B

After

Width:  |  Height:  |  Size: 404 B

+38
View File
@@ -0,0 +1,38 @@
using Terraria;
using Terraria.ID;
namespace CalamityMod.Items.LoreItems
{
public class LoreEmpressofLight : LoreItem
{
public override string Lore =>
@"Though her title is lofty, she is more an emissary for the powers beyond and forces of nature.
In broad daylight, she can channel the Primordial Light itself, making her nigh untouchable.
Thankfully, left with only starlight to wield, she falls like any other graceless despot.
Her penchant for leeching the strength of other great beings is uniquely deplorable.
It made her obsequious. Dependent, but willingly so, as they enabled her to slake her base thirst.
I had deigned to slay her myself for her treachery, but she was a notoriously evasive mark.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Empress of Light");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Yellow;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.FairyQueenTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 454 B

After

Width:  |  Height:  |  Size: 454 B

+58
View File
@@ -0,0 +1,58 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeExoMechs")]
public class LoreExoMechs : LoreItem
{
public override string Lore =>
@"What a terrifying marvel of engineering. Draedon’s specialty always lay in the machines of war, but these are immaculate.
His bold claim that no God can match his work is, however, incorrect. He is not privy to the Traitor almighty.
Regardless, from steel and wit alone, he has forged engines of destruction that rival Calamitas.
It brings me little comfort to remark that even she, at least, has a heart to speak of.
Draedon is an amoral monster beyond compare. He is entirely devoid of humanity and compassion.
With technology this incomprehensibly advanced, he stands at the precipice of apotheosis.
He can fabricate such dreadful, synthetic nightmares at will. His resources must be nigh unlimited.
Were he to lose his temper, if he even has one, all of life’s hopes would be smothered in an instant, silenced by a torrent of silicon.
Though, perhaps you may leverage his unimaginable craft to your advantage, and seek insight from him.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Exo Mechanical Trio");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<Violet>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<ArtemisTrophy>().
AddTile(TileID.Bookcases).
Register();
CreateRecipe().
AddIngredient<ApolloTrophy>().
AddTile(TileID.Bookcases).
Register();
CreateRecipe().
AddIngredient<ThanatosTrophy>().
AddTile(TileID.Bookcases).
Register();
CreateRecipe().
AddIngredient<AresTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 329 B

@@ -1,19 +1,21 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeEyeofCthulhu : LoreItem
[LegacyName("KnowledgeEyeofCthulhu")]
public class LoreEyeofCthulhu : LoreItem
{
public override string Lore =>
@"In ages past, heroes made names for themselves facing such monsters.
Now they run rampant, spawning from vile influences left unchecked. They blend well with the horrific injustice of their forebears.
Slaying one merely paves the way for a dozen more. Surely this does not concern you, either.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Eye of Cthulhu");
Tooltip.SetDefault("That eye... how peculiar.\n" +
"I sensed it watching you more intensely as you grew stronger.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -24,11 +26,6 @@ namespace CalamityMod.Items.LoreItems
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
File renamed without changes.

Before

Width:  |  Height:  |  Size: 388 B

After

Width:  |  Height:  |  Size: 388 B

+40
View File
@@ -0,0 +1,40 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeGolem")]
public class LoreGolem : LoreItem
{
public override string Lore =>
@"What a sad, piteous thing. Truly, a mockery in every sense of the word.
The Lihzahrds were abandoned by their deity long ago. They set upon creating the idol as a replacement.
The result is an amalgamation of the concepts and themes of many Gods, most prominently the heat of the sun.
It is a far cry from a mechanical god… for the better. The alternative is too chilling to consider.
While I believe it barely deserves mention, the Lihzahrds revere it unflinchingly.
I see no need to intervene in affairs beneath me and my people.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Golem");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Yellow;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.GolemTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 341 B

@@ -1,20 +1,23 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeHiveMind : LoreItem
[LegacyName("KnowledgeHiveMind")]
public class LoreHiveMind : LoreItem
{
public override string Lore =>
@"Some semblance of a God’s mind may survive death, like the twitches of a crushed insect.
What little remains attempts to convene, to coalesce in worship, so that its power may yet be restored. How pitiful.
Fortunately for us, the futility of this effort is unmatched. The biomass obeys, but nothing is accomplished.
Far from all divine power flows from faith. A God is forged of its own strength; followers may choose to worship.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Hive Mind");
Tooltip.SetDefault("A hive of clustered microbial-infected flesh.\n" +
"I do not believe killing it will lessen the corruption here.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -25,11 +28,6 @@ namespace CalamityMod.Items.LoreItems
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
File renamed without changes.

Before

Width:  |  Height:  |  Size: 409 B

After

Width:  |  Height:  |  Size: 409 B

+67 -4
View File
@@ -1,4 +1,7 @@
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
@@ -6,11 +9,71 @@ namespace CalamityMod.Items.LoreItems
{
public abstract class LoreItem : ModItem
{
// This line is the short, generic lore tooltip which indicates there is more to be read.
// It can be overridden as desired for flavor.
public virtual string ShortTooltip => "Whispers from on high dance in your ears...";
public virtual Color ShortTooltipColor => new(227, 175, 64); // #E3AF40
// This line is what tells the player to hold Shift. There is essentially no reason to change it
public virtual string LeftShiftExpandTooltip => "Press \"Left Shift\" to listen closer";
public virtual Color LeftShiftExpandColor => new(190, 190, 190); // #BEBEBE
// 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 => null;
public override void SetStaticDefaults()
{
string basicLine = ShortTooltipColor.ColorMessage(ShortTooltip, true);
string leftShift = LeftShiftExpandColor.ColorMessage(LeftShiftExpandTooltip, false);
Tooltip.SetDefault(basicLine + leftShift);
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override bool CanUseItem(Player player) => false;
public override Color? GetAlpha(Color lightColor) => Color.White;
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
{
itemGroup = (ContentSamples.CreativeHelper.ItemGroup)CalamityResearchSorting.LoreItems;
}
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
{
itemGroup = (ContentSamples.CreativeHelper.ItemGroup)CalamityResearchSorting.LoreItems;
}
// All lore items use the same code for holding SHIFT to extend tooltips.
// Original code lifted from Iban's extended armor tooltips.
public override void ModifyTooltips(List<TooltipLine> tooltips)
{
// Only perform any changes while holding SHIFT.
if (Main.keyState.IsKeyDown(Keys.LeftShift))
{
// Count up all standard vanilla tooltip lines while holding SHIFT, so they may be removed.
int tooltipIndex = -1;
int tooltipCount = 0;
for (int i = 0; i < tooltips.Count; i++)
{
if (tooltips[i].Name.StartsWith("Tooltip"))
{
if (tooltipIndex == -1)
tooltipIndex = i;
tooltipCount++;
}
}
if (tooltipIndex != -1)
{
// Remove all standard tooltips.
tooltips.RemoveRange(tooltipIndex, tooltipCount);
// Replace them with the full lore.
TooltipLine fullLore = new(Mod, "CalamityMod:Lore", Lore);
if (LoreColor.HasValue)
fullLore.OverrideColor = LoreColor.Value;
tooltips.Insert(tooltipIndex, fullLore);
}
}
}
}
}
@@ -1,19 +1,21 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeKingSlime : LoreItem
[LegacyName("KnowledgeKingSlime")]
public class LoreKingSlime : LoreItem
{
public override string Lore =>
@"Given time, these gelatinous creatures absorb each other and slowly grow in both size and strength.
There is little need to worry about this. Naturally, slimes are nearly mindless and amass only by chance.
Though it appears they are capable of absorbing knowledge, if only in rudimentary form.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("King Slime");
Tooltip.SetDefault("Only a fool could be caught by this pitiful excuse for a hunter.\n" +
"Unfortunately, our world has no shortage of those.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -24,11 +26,6 @@ namespace CalamityMod.Items.LoreItems
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
File renamed without changes.

Before

Width:  |  Height:  |  Size: 345 B

After

Width:  |  Height:  |  Size: 345 B

@@ -1,21 +1,25 @@
using CalamityMod.Items.Materials;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeLeviathanandSiren")]
public class KnowledgeLeviathanAnahita : LoreItem
[LegacyName("KnowledgeLeviathanandSiren", "KnowledgeLeviathanAnahita")]
public class LoreLeviathanAnahita : LoreItem
{
public override string Lore =>
@"Although she claims dominion over all the world's oceans, in truth she is a recluse of the deep.
Elementals pose a grave threat to all those around them. Other Elementals are no exception.
Anahita was driven from her home in the Abyss by Silva's encroaching greenery.
Accounts vary as to the majestic beast at her side. Some claim Anahita summoned the Leviathan herself.
Regardless of what you believe, they are inseparable even in death.
Such stalwart loyalty! It reminds me of Yharon.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Leviathan and Anahita");
Tooltip.SetDefault("An odd pair of creatures; one seeking companionship and the other seeking sustenance.\n" +
"Perhaps two genetic misfits outcast from their homes that found comfort in assisting one another.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -26,11 +30,6 @@ namespace CalamityMod.Items.LoreItems
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
File renamed without changes.

Before

Width:  |  Height:  |  Size: 555 B

After

Width:  |  Height:  |  Size: 555 B

@@ -1,19 +1,24 @@
using CalamityMod.Items.Materials;
using Terraria;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
public class KnowledgeMechs : LoreItem
[LegacyName("KnowledgeMechs")]
public class LoreMechs : LoreItem
{
public override string Lore =>
@"These unwieldy beasts of steel were the experiments of Draedon, my former colleague and prodigious engineer.
His intent was to fuel a war machine with soul energy, allowing it to fight with purpose and zeal.
The creations were a success; so much so, that the souls continued to express their own free will.
Draedon was displeased. But these were my soldiers, and their loyalty was forged anew in iron.
I dismissed them from duty, and yet here they are, scouring the land for evidence of the divine.
Unfortunately for you, that puts you in their crosshairs. Give them a battle worth dying in.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Mechanical Trio");
Tooltip.SetDefault("I see you have awakened Draedon's old toys.\n" +
"Once useful tools turned into savage beasts when their AIs went rogue, a mistake that Draedon failed to rectify in time.");
SacrificeTotal = 1;
ItemID.Sets.ItemNoGravity[Item.type] = true;
}
public override void SetDefaults()
@@ -24,11 +29,6 @@ namespace CalamityMod.Items.LoreItems
Item.consumable = false;
}
public override bool CanUseItem(Player player)
{
return false;
}
public override void AddRecipes()
{
CreateRecipe().
File renamed without changes.

Before

Width:  |  Height:  |  Size: 465 B

After

Width:  |  Height:  |  Size: 465 B

+42
View File
@@ -0,0 +1,42 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeOldDuke")]
public class LoreOldDuke : LoreItem
{
public override string Lore =>
@"That was possibly one of the oldest mundane living beings on the face of the planet.
The first Fishrons were spotted in the middle of the Draconic Era. What exotic prestige…!
Fishrons were one of the original offshoots of pure-blooded Auric Dragons.
They are so old and venerated that many historians are convinced they are the original sea monsters of folklore.
This particular Duke’s guile is self-evident; it evaded centuries of hunting, and until now had survived a most thorough poisoning.
Above almost all others, this creature was a living fable. One most wonder what goes through the mind of a fading legend.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Old Duke");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ModContent.RarityType<PureGreen>();
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<OldDukeTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 861 B

After

Width:  |  Height:  |  Size: 861 B

+39
View File
@@ -0,0 +1,39 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgePerforators")]
public class LorePerforators : LoreItem
{
public override string Lore =>
@"These creatures were unique, for they wielded the slain Gods’ power as purely as possible, veins flowing with spilt ichor.
All that exists in the Crimson is truly the divine turned inside out; their gore now glistens with its perverse treachery, for all to bear witness.
The mire reeks of centuries of vile manipulation and callous domination of the hapless.
Judgment is long passed, and extinction is left waiting.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("The Perforators and Their Hive");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Orange;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<PerforatorTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 492 B

@@ -0,0 +1,42 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgePlaguebringerGoliath")]
public class LorePlaguebringerGoliath : LoreItem
{
public override string Lore =>
@"An innocent queen, forced to bear an agonizing existence. This is nothing short of a crime against nature.
Without consulting me, Draedon sought to weaponize the already well-organized Jungle bees.
When he revealed his finished project, I was enraged. Enslaving the bees was despicable.
Draedon cared little for my outrage and returned to his other work without further incident.
From that point on, I stopped making requests of Draedon. He had shown me his true colors.
In my later days I was far from virtuous. But I would not shackle a creature to fight in my name.
That would make me no better than the divine scoundrels I pursued.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Plaguebringer Goliath");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Yellow;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<PlaguebringerGoliathTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 381 B

After

Width:  |  Height:  |  Size: 381 B

+42
View File
@@ -0,0 +1,42 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgePlantera")]
public class LorePlantera : LoreItem
{
// Well done, you killed a plant.
public override string Lore =>
@"This floral aberration is another example of the volatile power of harnessed souls.
Taking their mastery of agriculture to new heights, the Jungle settlers bred a special sprout.
Through ritual blessing of the soil, it was fed legions of souls.
Elders of the village wished to bring forth a new age of botanical prosperity.
Indeed, the plant was awe inspiring. But it was wild and untamed, with a will of its own.
Now that you have slain it, still more disorderly spiritual energies are flooding the lands.
The village’s ignorance was shameful in its own right, but this is worse still.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Plantera");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.LightPurple;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.PlanteraTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 569 B

After

Width:  |  Height:  |  Size: 569 B

+44
View File
@@ -0,0 +1,44 @@
using CalamityMod.Items.Placeables.Furniture.Trophies;
using CalamityMod.Rarities;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgePolterghast")]
public class LorePolterghast : LoreItem
{
public override string Lore =>
@"The further my war dragged on, the further I sank into negligence. This specter is the crux of my failure.
I hid behind my excuses, calling them duties. Fighting the gods. Training. Ruling.
I had the time and resources to devote. I was simply paralyzed by apathy.
The scores of prisoners I kept in the dungeon I claimed perished alongside their jailors.
Within those hexed walls, none may know rest, and their souls coalesced into a formless monster.
Boiling with rage, wallowing in sorrow, screaming in madness. The amalgamation was uncontrollable.
The dragon cult was furious, their leader demanding I put the haunt down myself.
I did not answer. I had long since become deaf to the world outside my crusade. Do not fall as I have.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Polterghast");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.consumable = false;
Item.rare = ModContent.RarityType<PureGreen>();
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<PolterghastTrophy>().
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 473 B

After

Width:  |  Height:  |  Size: 473 B

+42
View File
@@ -0,0 +1,42 @@
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace CalamityMod.Items.LoreItems
{
[LegacyName("KnowledgeLunaticCultist")]
public class LorePrelude : LoreItem
{
public override string Lore =>
@"In ages past, now named the Draconic Era, the majestic Dragons protected Terraria from all threats.
Their famed might was put to the ultimate test by an aberrant behemoth from beyond the stars.
Fighting with all their strength, the Dragons could wound and weaken it, but not destroy it.
Lacking options, they tore the monster down to a shadow of its former self, and sealed it away.
What is left of it now lies imprisoned in the Moon, as far away as the Dragons could banish it.
Much of dragonkind was lost as casualties in that struggle, and they never recovered.
Zeratros himself was gravely injured. It seemed his power, along with his life, would be lost forever.
One mortal, sworn to the service of the Dragons, rose in determination to save their virtuous King.";
public override void SetStaticDefaults()
{
base.SetStaticDefaults();
DisplayName.SetDefault("Prelude");
}
public override void SetDefaults()
{
Item.width = 20;
Item.height = 20;
Item.rare = ItemRarityID.Cyan;
Item.consumable = false;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient(ItemID.AncientCultistTrophy).
AddTile(TileID.Bookcases).
Register();
}
}
}
File renamed without changes.

Before

Width:  |  Height:  |  Size: 467 B

After

Width:  |  Height:  |  Size: 467 B

Loaded 100 of 164 files, more files were not shown because too many files have changed in this diff. Show more