Abyss Changes: -sulphur depths islands now start at the top of the abyss hole -abyss layer 2 islands are smaller, and more dense. chests no longer spawn in houses and there are more of them in layer 2 -layer 3 has a new block, also no longer has chests -chaotic puffer, devilfish, and giant squid now only spawn in layer 3 -toxicatfish now spawns in the sulphur depths -raised sulflounder spawn rate a bit -reaper sharks and eidolon wyrms now have much lower spawnrates in layer 3 -toxic minnows cannot spawn in layer 3 -sulphur depths water now uses a toned down version of the sulphur sea waters light color -added better bestiary names for each abyss layer -sulphur poisoning UI now shows up in the sulphur depths Other Changes: -a few crags generation polishings -added flipped versions of each giant crag lily for variety -fixed sulphur and viper vines not dying if no tiles were above them -probably a few other small things ive forgotten about
32 lines
888 B
C#
32 lines
888 B
C#
using Microsoft.Xna.Framework;
|
|
using Terraria;
|
|
using Terraria.ID;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Walls
|
|
{
|
|
public class PyreMantleWall : ModWall
|
|
{
|
|
public override void SetStaticDefaults()
|
|
{
|
|
DustType = 33;
|
|
AddMapEntry(new Color(6, 10, 54));
|
|
}
|
|
|
|
public override void RandomUpdate(int i, int j)
|
|
{
|
|
if (Main.tile[i, j].LiquidAmount <= 0 && j < Main.maxTilesY - 205)
|
|
{
|
|
Main.tile[i, j].LiquidAmount = 255;
|
|
Main.tile[i, j].Get<LiquidData>().LiquidType = LiquidID.Water;
|
|
}
|
|
}
|
|
|
|
public override void KillWall(int i, int j, ref bool fail) => fail = true;
|
|
|
|
public override bool CanExplode(int i, int j) => false;
|
|
|
|
public override void NumDust(int i, int j, bool fail, ref int num) => num = fail ? 1 : 3;
|
|
}
|
|
}
|