From 38cac8eead6616c0d8d4e82abdd885a39cd0d0a6 Mon Sep 17 00:00:00 2001 From: Ozzatron Date: Sun, 2 Jun 2024 17:26:09 -0400 Subject: [PATCH] Disable generation of Floral Paradise for the forseeable future --- Systems/WorldgenManagementSystem.cs | 3 ++- World/Minibiomes/FloralParadiseMinibiome.cs | 8 +++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Systems/WorldgenManagementSystem.cs b/Systems/WorldgenManagementSystem.cs index fb2098cb01..36a6baef26 100644 --- a/Systems/WorldgenManagementSystem.cs +++ b/Systems/WorldgenManagementSystem.cs @@ -62,7 +62,8 @@ namespace CalamityMod.Systems tasks.Insert(JungleTempleIndex + 1, new PassLegacy("FloralParadise", (progress, config) => { progress.Message = "Growing a floral paradise underground"; - FloralParadiseMinibiome.GenerateInstances(); + if (FloralParadiseMinibiome.SHOULD_GENERATE) + FloralParadiseMinibiome.GenerateInstances(); })); // Improved Golem arena diff --git a/World/Minibiomes/FloralParadiseMinibiome.cs b/World/Minibiomes/FloralParadiseMinibiome.cs index 0e2d4b970c..c28dbc348b 100644 --- a/World/Minibiomes/FloralParadiseMinibiome.cs +++ b/World/Minibiomes/FloralParadiseMinibiome.cs @@ -1,10 +1,9 @@ -using CalamityMod.Tiles; +using System.Collections.Generic; +using System.Linq; using CalamityMod.Tiles.DraedonStructures; using CalamityMod.Tiles.FloralParadise; using CalamityMod.Tiles.SunkenSea; using Microsoft.Xna.Framework; -using System.Collections.Generic; -using System.Linq; using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -16,6 +15,9 @@ namespace CalamityMod.World.Minibiomes { public class FloralParadiseMinibiome { + // 02JUN2024: Ozzatron: Disable generation of the Floral Paradise biome on the assumption that it will break horribly until tested. + internal static readonly bool SHOULD_GENERATE = false; + // Constants pertaining to the more important details of the world-gen, to allow for ease-of-change. // Certain numbers are hardcoded and not present here, but they tend to be in regards to things that either really shouldn't need changing or // are extremely subtle details.