Гойда
This commit is contained in:
@@ -6,7 +6,7 @@ using Robust.Shared.Utility;
|
||||
namespace Content.Server.Worldgen.Components;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class BlueprintPlacerComponent : Component
|
||||
public sealed partial class BlueprintPlacerComponent : Component
|
||||
{
|
||||
[DataField("blueprint", required: true, customTypeSerializer: typeof(ResPathSerializer))]
|
||||
public ResPath Blueprint = default!;
|
||||
@@ -15,7 +15,7 @@ public sealed class BlueprintPlacerComponent : Component
|
||||
/// The components that get added to the target grid.
|
||||
/// </summary>
|
||||
[DataField("components", required: true)]
|
||||
public ComponentRegistry Components { get; } = default!;
|
||||
public ComponentRegistry Components { get; set; } = default!;
|
||||
|
||||
//TODO: Get someone to make this a method on componentregistry that does it Correctly.
|
||||
/// <summary>
|
||||
|
||||
@@ -2,7 +2,7 @@ namespace Content.Server.Worldgen;
|
||||
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed class StructurePlacementComponent : Component
|
||||
public sealed partial class StructurePlacementComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// The structures to place into the world.
|
||||
@@ -21,7 +21,7 @@ public sealed class StructurePlacementComponent : Component
|
||||
/// A single structure's placement config.
|
||||
/// </summary>
|
||||
[DataDefinition]
|
||||
public sealed class StructureConfig
|
||||
public sealed partial class StructureConfig
|
||||
{
|
||||
/// <summary>
|
||||
/// The entity to spawn into the world.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using Content.Server.Administration.Logs;
|
||||
using Content.Server.Worldgen.Components;
|
||||
using Content.Server.Worldgen.Tools;
|
||||
|
||||
Reference in New Issue
Block a user