Files
tbd-station-14/Content.Server/Sericulture/SericultureComponent.cs
PixelTK f189b73fe5 Arachnid rework (#18631)
* 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
2023-08-13 01:38:05 -06:00

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;
}