Files
CalamityModPublic/Items/Placeables/Navystone.cs
T
Altixal 0b3d4f93df Tile defaulting part 2
- 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
2024-09-18 02:48:45 +07:00

32 lines
1.0 KiB
C#

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