- Consistent cage map colors to vanilla - Consistent map entry with Thank You painting - Removed map entry names from vines - Removed map entry names from some common decorative blocks - Cleaned up the other furnitures and item drops
38 lines
1.3 KiB
C#
38 lines
1.3 KiB
C#
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.Audio;
|
|
using Terraria.ModLoader;
|
|
using Terraria.ID;
|
|
|
|
namespace CalamityMod.Tiles.DraedonStructures
|
|
{
|
|
public class HazardChevronPanels : ModTile
|
|
{
|
|
public static readonly SoundStyle MinePlatingSound = new("CalamityMod/Sounds/Custom/PlatingMine", 3);
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Main.tileSolid[Type] = true;
|
|
Main.tileBlockLight[Type] = true;
|
|
|
|
CalamityUtils.MergeWithGeneral(Type);
|
|
CalamityUtils.SetMerge(Type, ModContent.TileType<LaboratoryDoorOpen>());
|
|
CalamityUtils.SetMerge(Type, ModContent.TileType<LaboratoryDoorClosed>());
|
|
CalamityUtils.SetMerge(Type, ModContent.TileType<AgedLaboratoryDoorOpen>());
|
|
CalamityUtils.SetMerge(Type, ModContent.TileType<AgedLaboratoryDoorClosed>());
|
|
CalamityUtils.SetMerge(Type, ModContent.TileType<LaboratoryPanels>());
|
|
|
|
HitSound = MinePlatingSound;
|
|
DustType = 19;
|
|
MinPick = 30;
|
|
AddMapEntry(new Color(163, 150, 73));
|
|
}
|
|
|
|
public override bool CanExplode(int i, int j) => false;
|
|
|
|
public override bool TileFrame(int i, int j, ref bool resetFrame, ref bool noBreak)
|
|
{
|
|
return TileFraming.BetterGemsparkFraming(i, j, resetFrame);
|
|
}
|
|
}
|
|
}
|