Revert biome rework (#38724)
* Revert "Fix world generation (#38713)" This reverts commit10fa6ff4af. * Revert "Biome rework (#37735)" This reverts commitfe7b96147c.
This commit is contained in:
committed by
GitHub
parent
047a49a505
commit
e99fc501a6
22
Content.Shared/Parallax/Biomes/Layers/IBiomeLayer.cs
Normal file
22
Content.Shared/Parallax/Biomes/Layers/IBiomeLayer.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using Robust.Shared.Noise;
|
||||
|
||||
namespace Content.Shared.Parallax.Biomes.Layers;
|
||||
|
||||
[ImplicitDataDefinitionForInheritors]
|
||||
public partial interface IBiomeLayer
|
||||
{
|
||||
/// <summary>
|
||||
/// Seed is used an offset from the relevant BiomeComponent's seed.
|
||||
/// </summary>
|
||||
FastNoiseLite Noise { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Threshold for this layer to be present. If set to 0 forces it for every tile.
|
||||
/// </summary>
|
||||
float Threshold { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Is the thresold inverted so we need to be lower than it.
|
||||
/// </summary>
|
||||
public bool Invert { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user