Files
CalamityModPublic/Items/Placeables/EutrophicSand.cs
T
CongratsIsTrash 11418ad548 Eutrophic Sand and Navystone Walls now shimmer into the unsafe variants instead of crafting them
If someone more knowledgeable than me knows how to add the little skull icon in the bottom right, please do so 🙏
2023-09-05 12:49:44 -04:00

34 lines
984 B
C#

using CalamityMod.Items.Placeables.Walls;
using CalamityMod.Projectiles.Typeless;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityMod.Items.Placeables
{
public class EutrophicSand : ModItem, ILocalizedModType
{
public new string LocalizationCategory => "Items.Placeables";
public override void SetStaticDefaults()
{
Item.ResearchUnlockCount = 100;
ItemID.Sets.ShimmerTransformToItem[Type] = ModContent.ItemType<Navystone>();
}
public override void SetDefaults()
{
Item.DefaultToPlaceableTile(ModContent.TileType<Tiles.SunkenSea.EutrophicSand>());
Item.ammo = AmmoID.Sand;
Item.notAmmo = true;
}
public override void AddRecipes()
{
CreateRecipe().
AddIngredient<EutrophicSandWallSafe>(4).
AddTile(TileID.WorkBenches).
Register();
}
}
}