Files
CalamityModPublic/Items/Placeables/EutrophicSand.cs
T
tomat 67bceff6e7 Initial dotnet format pass.
This commit formats the entire codebase according to `dotnet format` and its limited understanding of our provided `.editorconfig`.
2024-02-28 21:49:50 -08:00

34 lines
984 B
C#

using CalamityMod.Items.Placeables.Walls;
using CalamityMod.Projectiles.Typeless;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
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();
}
}
}