- 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
37 lines
1.1 KiB
C#
37 lines
1.1 KiB
C#
using CalamityMod.Items.Placeables.FurnitureAcidwood;
|
|
using CalamityMod.Items.Placeables.Walls;
|
|
using CalamityMod.Tiles.Abyss;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Placeables
|
|
{
|
|
public class Acidwood : ModItem, ILocalizedModType
|
|
{
|
|
public new string LocalizationCategory => "Items.Placeables";
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Item.ResearchUnlockCount = 100;
|
|
ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.Wood;
|
|
}
|
|
|
|
public override void SetDefaults() => Item.DefaultToPlaceableTile(ModContent.TileType<AcidwoodTile>());
|
|
|
|
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
|
|
{
|
|
itemGroup = ContentSamples.CreativeHelper.ItemGroup.Wood;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient<AcidwoodPlatform>(2).
|
|
Register();
|
|
CreateRecipe().
|
|
AddIngredient<AcidwoodWallItem>(4).
|
|
AddTile(TileID.WorkBenches).
|
|
Register();
|
|
}
|
|
}
|
|
}
|