Reorganize tile StackPrototypes and add inheritance (#39491)

* atomize from #38412

* fix curtains in G menu

* re-add marble

* commit

* re-add xenoborg tiles

* re-add new faux

* missed tiles

---------

Co-authored-by: iaada <iaada@users.noreply.github.com>
This commit is contained in:
āda
2025-10-11 18:21:07 -05:00
committed by GitHub
parent 84c0911951
commit a0f0f40526
21 changed files with 773 additions and 722 deletions

View File

@@ -1,15 +1,25 @@
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.Array;
using Robust.Shared.Utility;
namespace Content.Shared.Stacks;
[Prototype]
public sealed partial class StackPrototype : IPrototype
public sealed partial class StackPrototype : IPrototype, IInheritingPrototype
{
[ViewVariables]
/// <inheritdoc />
[IdDataField]
public string ID { get; private set; } = default!;
/// <inheritdoc />
[ParentDataField(typeof(AbstractPrototypeIdArraySerializer<StackPrototype>))]
public string[]? Parents { get; private set; }
/// <inheritdoc />
[NeverPushInheritance]
[AbstractDataField]
public bool Abstract { get; private set; }
/// <summary>
/// Human-readable name for this stack type e.g. "Steel"
/// </summary>