namespace Content.Server.Sericulture; [RegisterComponent] public sealed class SericultureComponent : Component { [DataField("popupText")] public string PopupText = "sericulture-failure-hunger"; /// /// What will be produced at the end of the action. /// [DataField("entityProduced", required: true)] public string EntityProduced = ""; [DataField("actionProto", required: true)] public string ActionProto = ""; /// /// How long will it take to make. /// [DataField("productionLength", required: true), ViewVariables(VVAccess.ReadWrite)] public float ProductionLength = 0; [DataField("hungerCost"), ViewVariables(VVAccess.ReadWrite)] public float HungerCost = 0f; }