2023-09-05 09:55:10 +12:00
|
|
|
using Content.Shared.Chemistry.Reagent;
|
|
|
|
|
using Content.Shared.FixedPoint;
|
|
|
|
|
|
2023-07-08 06:32:31 +03:00
|
|
|
namespace Content.Server.Power.Components;
|
|
|
|
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class RiggableComponent : Component
|
2023-07-08 06:32:31 +03:00
|
|
|
{
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("isRigged")]
|
|
|
|
|
public bool IsRigged;
|
2023-09-05 09:55:10 +12:00
|
|
|
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("solution")]
|
|
|
|
|
public string Solution = "battery";
|
|
|
|
|
|
|
|
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
|
|
|
[DataField("reagent")]
|
|
|
|
|
public ReagentQuantity RequiredQuantity = new("Plasma", FixedPoint2.New(5), null);
|
2023-07-08 06:32:31 +03:00
|
|
|
}
|