-added brimstone crag houses -added spine tree saplings finally -astral biome now stops any items from dropping from tiles when it generates -hopefully fixed astral biome randomly crashing when it generates -added plantera bulb tile (very WIP, has no animations right now) -added thermal vent tiles into the abyss -made aquatic scourge's skull clouds more transparent so they look better and more like gas clouds -scoria ore no longer burns you if you have immunity to fire blocks -scorched bone can now be crafted from 4 scorched bone walls -buffed a few more abyss enemy spawn rates
46 lines
1.3 KiB
C#
46 lines
1.3 KiB
C#
using CalamityMod.Items.Placeables;
|
|
using CalamityMod.Items.Placeables.Walls;
|
|
using CalamityMod.Tiles.Crags;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Items.Placeables
|
|
{
|
|
public class ScorchedBone : ModItem
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
SacrificeTotal = 100;
|
|
DisplayName.SetDefault("Scorched Bone");
|
|
}
|
|
|
|
public override void SetDefaults()
|
|
{
|
|
Item.width = 26;
|
|
Item.height = 22;
|
|
Item.maxStack = 999;
|
|
Item.useTurn = true;
|
|
Item.autoReuse = true;
|
|
Item.useAnimation = 15;
|
|
Item.useTime = 10;
|
|
Item.useStyle = ItemUseStyleID.Swing;
|
|
Item.consumable = true;
|
|
Item.rare = ItemRarityID.Orange;
|
|
Item.createTile = ModContent.TileType<Tiles.Crags.ScorchedBone>();
|
|
}
|
|
|
|
public override void ModifyResearchSorting(ref ContentSamples.CreativeHelper.ItemGroup itemGroup)
|
|
{
|
|
itemGroup = ContentSamples.CreativeHelper.ItemGroup.Wood;
|
|
}
|
|
|
|
public override void AddRecipes()
|
|
{
|
|
CreateRecipe().
|
|
AddIngredient(ModContent.ItemType<ScorchedBoneWall>(), 4).
|
|
AddTile(TileID.WorkBenches).
|
|
Register();
|
|
}
|
|
}
|
|
}
|