37 lines
925 B
C#
37 lines
925 B
C#
|
|
using CalamityMod.Dusts;
|
|
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Tiles.Astral
|
|
{
|
|
public class AstralShortPlants : ModTile
|
|
{
|
|
public override void SetDefaults()
|
|
{
|
|
Main.tileCut[Type] = true;
|
|
Main.tileSolid[Type] = false;
|
|
Main.tileNoAttach[Type] = true;
|
|
Main.tileNoFail[Type] = true;
|
|
Main.tileLavaDeath[Type] = true;
|
|
Main.tileWaterDeath[Type] = true;
|
|
Main.tileFrameImportant[Type] = true;
|
|
|
|
dustType = ModContent.DustType<AstralBasic>();
|
|
|
|
soundStyle = 1;
|
|
soundType = 6;
|
|
|
|
AddMapEntry(new Color(127, 111, 144));
|
|
|
|
base.SetDefaults();
|
|
}
|
|
|
|
public override void SetDrawPositions(int i, int j, ref int width, ref int offsetY, ref int height)
|
|
{
|
|
offsetY = 2;
|
|
}
|
|
}
|
|
}
|