add new salv loot into the vgroid procgen (#31290)

add new loot into vgroid procgen
This commit is contained in:
Nemanja
2024-08-23 22:06:37 -04:00
committed by GitHub
parent 8f4ee7ac96
commit c31ffff9ac
5 changed files with 304 additions and 171 deletions

View File

@@ -0,0 +1,21 @@
using Content.Shared.EntityTable.EntitySelectors;
namespace Content.Shared.Procedural.DungeonLayers;
/// <summary>
/// Spawns entities inside of the dungeon randomly.
/// </summary>
public sealed partial class EntityTableDunGen : IDunGenLayer
{
// Counts separate to config to avoid some duplication.
[DataField]
public int MinCount = 1;
[DataField]
public int MaxCount = 1;
[DataField(required: true)]
public EntityTableSelector Table;
}