2024-07-06 12:19:32 +03:00
|
|
|
/*
|
2024-08-29 20:23:33 +05:00
|
|
|
* This file is sublicensed under MIT License
|
|
|
|
|
* https://github.com/space-wizards/space-station-14/blob/master/LICENSE.TXT
|
2024-07-06 12:19:32 +03:00
|
|
|
*/
|
|
|
|
|
|
2024-07-29 19:16:55 +03:00
|
|
|
using Content.Server._CP14.BiomeSpawner.EntitySystems;
|
2024-06-05 19:59:39 +03:00
|
|
|
using Content.Shared.Parallax.Biomes;
|
2024-08-25 19:53:15 +05:00
|
|
|
using Content.Shared.Whitelist;
|
2024-06-05 19:59:39 +03:00
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
|
2024-07-29 19:16:55 +03:00
|
|
|
namespace Content.Server._CP14.BiomeSpawner.Components;
|
2024-06-05 19:59:39 +03:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// fills the tile in which it is located with the contents of the biome. Includes: tile, decals and entities
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent, Access(typeof(CP14BiomeSpawnerSystem))]
|
|
|
|
|
public sealed partial class CP14BiomeSpawnerComponent : Component
|
|
|
|
|
{
|
|
|
|
|
[DataField]
|
|
|
|
|
public ProtoId<BiomeTemplatePrototype> Biome = "Grasslands";
|
2024-08-25 19:53:15 +05:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// entities that we don't remove.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataField(required: true)]
|
|
|
|
|
public EntityWhitelist DeleteBlacklist = new();
|
2024-06-05 19:59:39 +03:00
|
|
|
}
|