* Merge before I fuck up anything again * craft whitelist * Sericulture * Spider * gone * quickly fixed * and coders taketh away * And we take more away * sericulture improvements * arachnid * better webbed * OH WAIT * test fail
28 lines
776 B
C#
28 lines
776 B
C#
namespace Content.Server.Sericulture;
|
|
|
|
[RegisterComponent]
|
|
public sealed class SericultureComponent : Component
|
|
{
|
|
|
|
[DataField("popupText")]
|
|
public string PopupText = "sericulture-failure-hunger";
|
|
|
|
/// <summary>
|
|
/// What will be produced at the end of the action.
|
|
/// </summary>
|
|
[DataField("entityProduced", required: true)]
|
|
public string EntityProduced = "";
|
|
|
|
[DataField("actionProto", required: true)]
|
|
public string ActionProto = "";
|
|
|
|
/// <summary>
|
|
/// How long will it take to make.
|
|
/// </summary>
|
|
[DataField("productionLength", required: true), ViewVariables(VVAccess.ReadWrite)]
|
|
public float ProductionLength = 0;
|
|
|
|
[DataField("hungerCost"), ViewVariables(VVAccess.ReadWrite)]
|
|
public float HungerCost = 0f;
|
|
}
|