33 lines
1.1 KiB
C#
33 lines
1.1 KiB
C#
using CalamityMod.Items.Materials;
|
|
using CalamityMod.Items.Placeables;
|
|
using CalamityMod.Items.Potions;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
using Terraria.GameContent.Creative;
|
|
|
|
namespace CalamityMod.Items.SummonItems
|
|
{
|
|
public class Starcore : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
CreativeItemSacrificesCatalog.Instance.SacrificeCountNeededByItemId[Type] = 1;
|
|
DisplayName.SetDefault("Starcore");
|
|
Tooltip.SetDefault("May the stars guide your way\n" +
|
|
"Summons Astrum Deus at the Astral Beacon, but is not consumed");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 34;
|
|
Item.height = 40;
|
|
Item.rare = ItemRarityID.Cyan;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe(1).AddIngredient(ModContent.ItemType<Stardust>(), 25).AddIngredient(ModContent.ItemType<AstralJelly>(), 8).AddIngredient(ModContent.ItemType<AstralBar>(), 4).AddTile(TileID.LunarCraftingStation).Register();
|
|
}
|
|
}
|
|
}
|