Note: Does not include item rarities, and appears to shown nonexistant using directive movement in the commit. This does not really affect anything, however.
58 lines
1.9 KiB
C#
58 lines
1.9 KiB
C#
using CalamityMod.Items.Materials;
|
||
using CalamityMod.Items.Placeables.Furniture.Trophies;
|
||
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.");
|
||
}
|
||
|
||
public override void SetDefaults()
|
||
{
|
||
item.width = 20;
|
||
item.height = 20;
|
||
item.rare = 10;
|
||
item.consumable = false;
|
||
item.Calamity().customRarity = CalamityRarity.PureGreen;
|
||
}
|
||
|
||
public override bool CanUseItem(Player player)
|
||
{
|
||
return false;
|
||
}
|
||
|
||
public override void AddRecipes()
|
||
{
|
||
ModRecipe r = new ModRecipe(mod);
|
||
r.SetResult(this);
|
||
r.AddTile(TileID.Bookcases);
|
||
r.AddIngredient(ModContent.ItemType<CeaselessVoidTrophy>());
|
||
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
|
||
r.AddRecipe();
|
||
|
||
r = new ModRecipe(mod);
|
||
r.SetResult(this);
|
||
r.AddTile(TileID.Bookcases);
|
||
r.AddIngredient(ModContent.ItemType<WeaverTrophy>());
|
||
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
|
||
r.AddRecipe();
|
||
|
||
r = new ModRecipe(mod);
|
||
r.SetResult(this);
|
||
r.AddTile(TileID.Bookcases);
|
||
r.AddIngredient(ModContent.ItemType<SignusTrophy>());
|
||
r.AddIngredient(ModContent.ItemType<VictoryShard>(), 10);
|
||
r.AddRecipe();
|
||
}
|
||
}
|
||
}
|