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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user