28 lines
784 B
C#
28 lines
784 B
C#
|
|
using Microsoft.Xna.Framework;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
namespace CalamityMod.Walls
|
|
{
|
|
public class AstralStoneWall : ModWall
|
|
{
|
|
/*public override bool Autoload(ref string name, ref string texture)
|
|
{
|
|
mod.AddWall("AstralStoneWallUnsafe", this, texture);
|
|
return base.Autoload(ref name, ref texture);
|
|
}*/
|
|
|
|
public override void SetStaticDefaults()
|
|
{
|
|
// TODO -- Change this dust to be one more befitting Astral Stone.
|
|
DustType = DustID.Shadowflame;
|
|
|
|
WallID.Sets.Conversion.Stone[Type] = true;
|
|
|
|
AddMapEntry(new Color(15, 26, 31));
|
|
}
|
|
|
|
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
|
|
}
|
|
}
|