Fix sericulture (#20673)
This commit is contained in:
@@ -23,18 +23,18 @@ public sealed partial class SericultureComponent : Component
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// What will be produced at the end of the action.
|
/// What will be produced at the end of the action.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataField("entityProduced", required: true, customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
[DataField(required: true)]
|
||||||
[ViewVariables(VVAccess.ReadWrite)]
|
[ViewVariables(VVAccess.ReadWrite)]
|
||||||
[AutoNetworkedField]
|
[AutoNetworkedField]
|
||||||
public string EntityProduced = string.Empty;
|
public EntProtoId EntityProduced;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The entity needed to actually preform sericulture. This will be granted (and removed) upon the entity's creation.
|
/// The entity needed to actually preform sericulture. This will be granted (and removed) upon the entity's creation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataField("action", required: true, customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
|
[DataField(required: true)]
|
||||||
[ViewVariables(VVAccess.ReadWrite)]
|
[ViewVariables(VVAccess.ReadWrite)]
|
||||||
[AutoNetworkedField]
|
[AutoNetworkedField]
|
||||||
public string Action = string.Empty;
|
public EntProtoId Action;
|
||||||
|
|
||||||
[AutoNetworkedField]
|
[AutoNetworkedField]
|
||||||
[DataField("actionEntity")]
|
[DataField("actionEntity")]
|
||||||
|
|||||||
Reference in New Issue
Block a user