Add snow rocks to planets (#17692)

This commit is contained in:
metalgearsloth
2023-06-28 21:32:01 +10:00
committed by GitHub
parent 2f85b5ea3c
commit 4fefd8b8b7
12 changed files with 340 additions and 15 deletions

View File

@@ -1,5 +1,6 @@
using Content.Shared.Parallax.Biomes.Markers;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Dictionary;
namespace Content.Shared.Procedural.Loot;
@@ -8,6 +9,7 @@ namespace Content.Shared.Procedural.Loot;
/// </summary>
public sealed class BiomeMarkerLoot : IDungeonLoot
{
[DataField("proto", required: true, customTypeSerializer:typeof(PrototypeIdSerializer<BiomeMarkerLayerPrototype>))]
public string Prototype = string.Empty;
[DataField("proto", required: true,
customTypeSerializer: typeof(PrototypeIdValueDictionarySerializer<string, BiomeMarkerLayerPrototype>))]
public Dictionary<string, string> Prototype = new();
}