add new salv loot into the vgroid procgen (#31290)
add new loot into vgroid procgen
This commit is contained in:
21
Content.Shared/Procedural/DungeonLayers/EntityTableDunGen.cs
Normal file
21
Content.Shared/Procedural/DungeonLayers/EntityTableDunGen.cs
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user