-sunken sea generation fixes and improvements done -draedon sunken sea lab changes to compensate for the sunken sea new positions -astral biome now automatically places on ebonstone wall to prevent falling in holes, and also ignores platforms when generating -also fixed some custom skies not deactivating on the main menu
13 lines
403 B
C#
13 lines
403 B
C#
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Backgrounds
|
|
{
|
|
public class SunkenSeaBGStyle : ModUndergroundBackgroundStyle
|
|
{
|
|
public override void FillTextureArray(int[] textureSlots)
|
|
{
|
|
for (int i = 0; i <= 3; i++)
|
|
textureSlots[i] = BackgroundTextureLoader.GetBackgroundSlot("CalamityMod/Backgrounds/SunkenSeaBG" + i.ToString());
|
|
}
|
|
}
|
|
} |