- Fixes some walls having incorrect use time - Fixes some tiles having incorrect use time - Removes some random rarity/price from certain blocks - Calamity Living Fire Blocks are now crafted at a Crystal Ball
29 lines
766 B
C#
29 lines
766 B
C#
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Placeables
|
|
{
|
|
public class PinkPearlPile : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Placeables";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 100;
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.DefaultToPlaceableTile(ModContent.TileType<Tiles.SunkenSea.PinkPearlPile>());
|
|
Item.rare = ItemRarityID.Blue;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe(4).
|
|
AddIngredient(ItemID.PinkPearl).
|
|
AddTile(TileID.HeavyWorkBench).
|
|
Register();
|
|
}
|
|
}
|
|
}
|