Demiplan modifiers (#526)
* simple modifiers * modifier tag filtering * Update CP14DemiplanSystem.Generation.cs * Update rocks.yml * move loot to modifier * move enemies to modificators * fix filtering * modifier rariry * reward and difficulty limits * rebalance and optimize calculation * Update test.yml * wizden PR copy * move all alchemy reagents to modifiers
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Content.Shared.Maps;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Shared.Procedural.DungeonLayers;
|
||||
@@ -12,10 +13,16 @@ namespace Content.Shared.Procedural.DungeonLayers;
|
||||
public partial class OreDunGen : IDunGenLayer
|
||||
{
|
||||
/// <summary>
|
||||
/// If the vein generation should occur on top of existing entities what are we replacing.
|
||||
/// This vein can only be generated by replacing the specified entities.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public EntProtoId? Replacement;
|
||||
public HashSet<EntProtoId>? EntityMask;
|
||||
|
||||
/// <summary>
|
||||
/// This vein can only be generated on the specified tiles
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public HashSet<ProtoId<ContentTileDefinition>>? TileMask;
|
||||
|
||||
/// <summary>
|
||||
/// Entity to spawn.
|
||||
|
||||
Reference in New Issue
Block a user