-added gloom torches -added ambient objects in the sulphur depths -aerialite ore now gens with clouds around it -modified the sulphur depths island gen to be a bit better looking -voidstone breaking sound is now much quieter -increased eidolist spawnrate because it was obnoxiously low
50 lines
1.6 KiB
C#
50 lines
1.6 KiB
C#
using CalamityMod.Dusts;
|
|
using Microsoft.Xna.Framework;
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
using Terraria;
|
|
using Terraria.DataStructures;
|
|
using Terraria.Enums;
|
|
using Terraria.ModLoader;
|
|
using Terraria.ObjectData;
|
|
|
|
namespace CalamityMod.Tiles.Abyss.AbyssAmbient
|
|
{
|
|
public class ShalePile1 : ModTile
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
Main.tileLighted[Type] = true;
|
|
Main.tileFrameImportant[Type] = true;
|
|
TileObjectData.newTile.Width = 3;
|
|
TileObjectData.newTile.Height = 2;
|
|
TileObjectData.newTile.Origin = new Point16(1, 1);
|
|
TileObjectData.newTile.AnchorBottom = new AnchorData(AnchorType.SolidTile | AnchorType.SolidWithTop | AnchorType.Table | AnchorType.SolidSide, TileObjectData.newTile.Width, 0);
|
|
TileObjectData.newTile.UsesCustomCanPlace = true;
|
|
TileObjectData.newTile.CoordinateHeights = new int[] { 16, 16 };
|
|
TileObjectData.newTile.CoordinateWidth = 16;
|
|
TileObjectData.newTile.CoordinatePadding = 2;
|
|
TileObjectData.newTile.WaterDeath = false;
|
|
TileObjectData.newTile.LavaDeath = true;
|
|
TileObjectData.newTile.DrawYOffset = 2;
|
|
TileObjectData.addTile(Type);
|
|
AddMapEntry(new Color(47, 30, 63));
|
|
DustType = 33;
|
|
|
|
base.SetStaticDefaults();
|
|
}
|
|
|
|
public override void NumDust(int i, int j, bool fail, ref int num)
|
|
{
|
|
num = fail ? 1 : 2;
|
|
}
|
|
}
|
|
|
|
public class ShalePile2 : ShalePile1
|
|
{
|
|
}
|
|
|
|
public class ShalePile3 : ShalePile1
|
|
{
|
|
}
|
|
}
|