- 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
31 lines
813 B
C#
31 lines
813 B
C#
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Placeables
|
|
{
|
|
public class SeaPrism : 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.SeaPrism>());
|
|
Item.value = Item.sellPrice(silver: 5);
|
|
Item.rare = ItemRarityID.Green;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<PrismShard>(5).
|
|
AddTile(TileID.Anvils).
|
|
Register();
|
|
}
|
|
}
|
|
}
|