Salvage dungeons (#14520)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Robust.Shared.GameStates;
|
||||
using Robust.Shared.Noise;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Shared.Parallax.Biomes;
|
||||
@@ -6,6 +7,8 @@ namespace Content.Shared.Parallax.Biomes;
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public sealed class BiomeComponent : Component
|
||||
{
|
||||
public FastNoiseLite Noise = new();
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("seed")]
|
||||
public int Seed;
|
||||
|
||||
@@ -36,4 +39,10 @@ public sealed class BiomeComponent : Component
|
||||
/// </summary>
|
||||
[DataField("loadedChunks")]
|
||||
public readonly HashSet<Vector2i> LoadedChunks = new();
|
||||
|
||||
/// <summary>
|
||||
/// Are we currently in the process of generating?
|
||||
/// Used to flag modified tiles without callers having to deal with it.
|
||||
/// </summary>
|
||||
public bool Generating = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user