Rock Anomaly (#20635)

This commit is contained in:
brainfood1183
2023-10-05 20:53:53 +01:00
committed by GitHub
parent f38c754b20
commit d4ed37d266
22 changed files with 424 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
using Content.Shared.Maps;
using Content.Shared.Maps;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
@@ -14,6 +14,12 @@ public sealed partial class TileSpawnAnomalyComponent : Component
[DataField("spawnRange"), ViewVariables(VVAccess.ReadWrite)]
public float SpawnRange = 5f;
/// <summary>
/// The probability a tile will spawn.
/// </summary>
[DataField, ViewVariables(VVAccess.ReadWrite)]
public float SpawnChance = 0.33f;
/// <summary>
/// The tile that is spawned by the anomaly's effect
/// </summary>