New Abyss Lore implemented
This commit is contained in:
1 parent
f6494f5c76
commit
9ed9bdde62
6 files changed
+51
-46
No files matched your search
+1
-1
@@ -1366,7 +1366,7 @@ namespace CalamityMod
|
||||
ItemType<LoreAquaticScourge>(),
|
||||
ItemType<LoreLeviathanAnahita>(),
|
||||
ItemType<LoreSulphurSea>(),
|
||||
ItemType<KnowledgeOcean>(),
|
||||
ItemType<LoreAbyss>(),
|
||||
ItemType<LoreOldDuke>(),
|
||||
ItemType<PearlShard>(),
|
||||
ItemType<AeroStone>(),
|
||||
|
||||
@@ -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 KnowledgeOcean : LoreItem
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("The Ocean");
|
||||
Tooltip.SetDefault("Take care to not disturb the deep waters of this world.\n" +
|
||||
"You may awaken something more terrifying than death itself.");
|
||||
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) => false;
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<LeviathanTrophy>().
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<AnahitaTrophy>().
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.LoreItems
|
||||
{
|
||||
[LegacyName("KnowledgeOcean")]
|
||||
public class LoreAbyss : LoreItem
|
||||
{
|
||||
public override string Lore =>
|
||||
@"While there are many sightless crevasses in the deep sea, this one is a unique geological marvel.
|
||||
It is located unsettlingly close to the shoreline. Somehow, even eons of tectonics could not seal or crush it.
|
||||
The isolated Abyss is the debatably tranquil home of the naiad Anahita and some reclusive sea creatures.
|
||||
Here, I disposed of the burgeoning remains of Silva, the Goddess of Life itself. Obviously, she of all Gods refused to truly die.
|
||||
My wishes were that she would be forgotten, but her tenacity is remarkable.
|
||||
Diffused, her influence inundated that pit of crushing pressure with flora and fauna aplenty.
|
||||
Her great roots continue to thrash and tear at the impossibly dense stone, growing uncontrollably.
|
||||
She will soon remake it in her image. I can think of no worse fate for this accursed, benthic domain.";
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
base.SetStaticDefaults();
|
||||
DisplayName.SetDefault("The Abyss");
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 20;
|
||||
Item.height = 20;
|
||||
Item.rare = ItemRarityID.Lime;
|
||||
Item.consumable = false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<LeviathanTrophy>().
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
CreateRecipe().
|
||||
AddIngredient<AnahitaTrophy>().
|
||||
AddTile(TileID.Bookcases).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
File renamed without changes.
|
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 383 B |
@@ -223,7 +223,7 @@ namespace CalamityMod
|
||||
ItemRedirect(ModContent.ItemType<Thunderstorm>(), "Thunderstorm (weapon)");
|
||||
// Lore items
|
||||
ItemRedirect(ModContent.ItemType<KnowledgeAstralInfection>(), "Lore#Lore_Items");
|
||||
ItemRedirect(ModContent.ItemType<KnowledgeOcean>(), "Lore#Lore_Items");
|
||||
ItemRedirect(ModContent.ItemType<LoreAbyss>(), "Lore#Lore_Items");
|
||||
|
||||
ItemRedirect(ModContent.ItemType<LoreAquaticScourge>(), "Lore#Lore_Items");
|
||||
ItemRedirect(ModContent.ItemType<LoreArchmage>(), "Lore#Lore_Items");
|
||||
@@ -541,7 +541,7 @@ namespace CalamityMod
|
||||
{
|
||||
BossDifficulty.TryGetValue("Leviathan", out float order);
|
||||
List<int> bosses = new List<int>() { NPCType<Leviathan>(), NPCType<Anahita>() };
|
||||
List<int> collection = new List<int>() { ItemType<LeviathanTrophy>(), ItemType<AnahitaTrophy>(), ItemType<LeviathanMask>(), ItemType<AnahitaMask>(), ItemType<KnowledgeOcean>(), ItemType<LoreLeviathanAnahita>(), ItemType<ThankYouPainting>() };
|
||||
List<int> collection = new List<int>() { ItemType<LeviathanTrophy>(), ItemType<AnahitaTrophy>(), ItemType<LeviathanMask>(), ItemType<AnahitaMask>(), ItemType<LoreAbyss>(), ItemType<LoreLeviathanAnahita>(), ItemType<ThankYouPainting>() };
|
||||
string instructions = "By killing an unknown entity in the Ocean Biome";
|
||||
string despawn = CalamityUtils.ColorMessage("The aquatic entities sink back beneath the ocean depths.", new Color(0x7F, 0xFF, 0xD4));
|
||||
|
||||
|
||||
@@ -823,7 +823,7 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
|
||||
// Lore
|
||||
bool shouldDropLore(DropAttemptInfo info) => !DownedBossSystem.downedLeviathan && LastAnLStanding();
|
||||
npcLoot.AddConditionalPerPlayer(shouldDropLore, ModContent.ItemType<KnowledgeOcean>(), desc: DropHelper.FirstKillText);
|
||||
npcLoot.AddConditionalPerPlayer(shouldDropLore, ModContent.ItemType<LoreAbyss>(), desc: DropHelper.FirstKillText);
|
||||
npcLoot.AddConditionalPerPlayer(shouldDropLore, ModContent.ItemType<LoreLeviathanAnahita>(), desc: DropHelper.FirstKillText);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user