Files
CalamityModPublic/Tiles/Ores/AerialiteOre.cs
T
Andrew Marheine bdbfa05877 1 - All the changelog stuff on main.
2 - Certain ores can no longer be bombed because they had old bomb resist code that makes no sense anymore.
3 - Bumbledoge mount nerf.
4 - Terra Arrows have had their aistyle removed so they no longer behave like normal arrows.
2020-10-28 20:36:52 -05:00

35 lines
970 B
C#

using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ModLoader;
using Terraria.ID;
namespace CalamityMod.Tiles.Ores
{
public class AerialiteOre : ModTile
{
public override void SetDefaults()
{
Main.tileValue[Type] = 450;
Main.tileSolid[Type] = true;
Main.tileMergeDirt[Type] = true;
Main.tileBlockLight[Type] = true;
CalamityUtils.MergeWithGeneral(Type);
drop = ModContent.ItemType<Items.Placeables.Ores.AerialiteOre>();
ModTranslation name = CreateMapEntryName();
name.SetDefault("Aerialite Ore");
AddMapEntry(new Color(0, 255, 255), name);
mineResist = 2f;
minPick = 65;
soundType = SoundID.Tink;
Main.tileSpelunker[Type] = true;
}
public override void NumDust(int i, int j, bool fail, ref int num)
{
num = fail ? 1 : 3;
}
}
}