19 lines
541 B
C#
19 lines
541 B
C#
using Content.Shared.Storage;
|
|
|
|
namespace Content.Shared.Salvage.Expeditions;
|
|
|
|
[DataDefinition]
|
|
public record struct SalvageMobGroup()
|
|
{
|
|
// A mob may be cheap but rare or expensive but frequent.
|
|
|
|
/// <summary>
|
|
/// Probability to spawn this group. Summed with everything else for the faction.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("prob")]
|
|
public float Prob = 1f;
|
|
|
|
[ViewVariables(VVAccess.ReadWrite), DataField("entries", required: true)]
|
|
public List<EntitySpawnEntry> Entries = new();
|
|
}
|