DungeonData rework (#37172)
* DungeonData rework Back to fields, serializes better, just make new layers dumby. * wawawewa * Fix this * Fixes * review * thanks fork * fix
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Content.Shared.Parallax.Biomes;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
||||
|
||||
namespace Content.Shared.Procedural.Loot;
|
||||
@@ -8,6 +9,6 @@ namespace Content.Shared.Procedural.Loot;
|
||||
/// </summary>
|
||||
public sealed partial class BiomeTemplateLoot : IDungeonLoot
|
||||
{
|
||||
[DataField("proto", required: true, customTypeSerializer:typeof(PrototypeIdSerializer<BiomeTemplatePrototype>))]
|
||||
public string Prototype = string.Empty;
|
||||
[DataField("proto", required: true)]
|
||||
public ProtoId<BiomeTemplatePrototype> Prototype = string.Empty;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user