- 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
26 lines
739 B
C#
26 lines
739 B
C#
using Terraria.ModLoader;
|
|
using WallTiles = CalamityMod.Walls;
|
|
using Terraria.ID;
|
|
|
|
namespace CalamityMod.Items.Placeables.Walls
|
|
{
|
|
public class ShellstoneSlabWall : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Placeables";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 400;
|
|
}
|
|
|
|
public override void SetDefaults() => Item.DefaultToPlaceableWall(ModContent.WallType<WallTiles.ShellstoneSlabWall>());
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe(4).
|
|
AddIngredient<ShellstoneSlab>().
|
|
AddTile(TileID.WorkBenches).
|
|
Register();
|
|
}
|
|
}
|
|
}
|