makes prototypeinheritance opt in
This commit is contained in:
@@ -20,10 +20,6 @@ namespace Content.Shared.Prototypes.Cargo
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Product name.
|
||||
/// </summary>
|
||||
|
||||
@@ -13,10 +13,6 @@ namespace Content.Shared.Prototypes
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
|
||||
[field: DataField("values")] public IReadOnlyList<string> Values { get; } = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,10 +17,6 @@ namespace Content.Shared.Prototypes.Kitchen
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
|
||||
[DataField("name")]
|
||||
private string _name = string.Empty;
|
||||
|
||||
|
||||
@@ -13,10 +13,6 @@ namespace Content.Shared.Prototypes.PDA
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
|
||||
[field: DataField("itemId")]
|
||||
public string ItemId { get; } = string.Empty;
|
||||
|
||||
|
||||
@@ -16,9 +16,5 @@ namespace Content.Shared.Prototypes.Tag
|
||||
[ViewVariables]
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
[ViewVariables]
|
||||
[field: DataField("parent")]
|
||||
public string? Parent { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user