mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* Everything except the YAML slop... * She solution on my manager till I sajfslkahfsjakfhaskjfshajksafhfsakhfasjfas * another 1000 lines * fix chem dispenser size * go my shnelf * Implicit ass * rider is being mean for some reason * dasdas * borger * better formatting go! * clothes/bloodstream * Cartons * cups and bottles * mmm soder * bar drinks * Spray bottles and some size tweaks with hindsight * 99 bottles of beer on the wall I hate YAML * push that shit * mmm burger * Sneed * sheets * condiments * mmm yummy * fridge yummyfood * meat... * sub 300 * burger... * bready * let them eat cake * does she know how to make a grilled cheese? * pizza pie! * misc shit * soup or salad * Food and drinks, vanquished * the cubes!!! * Almost free from YAML... * fix test fails and some yaml issues * fix prediction, almost done * fix all test fails * remove master merge artifacts and undo autonetworking * review and compatibility * graaah * unfuck master merge I hate github * merg conflicts * sfsa * ehoop * sadas * afsafsaasf * merge conflicts * fucked up the merge conflicts * merge conflict is fucked I might need to completely redo this branch * test fail * no calcium???? --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
47 lines
1.6 KiB
C#
47 lines
1.6 KiB
C#
using Content.Shared.FixedPoint;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Chemistry.Components;
|
|
|
|
/// <summary>
|
|
/// Gives click behavior for transferring to/from other reagent containers.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class SolutionTransferComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The amount of solution to be transferred from this solution when clicking on other solutions with it.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public FixedPoint2 TransferAmount = FixedPoint2.New(5);
|
|
|
|
/// <summary>
|
|
/// The minimum amount of solution that can be transferred at once from this solution.
|
|
/// </summary>
|
|
[DataField("minTransferAmount"), AutoNetworkedField]
|
|
public FixedPoint2 MinimumTransferAmount = FixedPoint2.New(5);
|
|
|
|
/// <summary>
|
|
/// The maximum amount of solution that can be transferred at once from this solution.
|
|
/// </summary>
|
|
[DataField("maxTransferAmount"), AutoNetworkedField]
|
|
public FixedPoint2 MaximumTransferAmount = FixedPoint2.New(120);
|
|
|
|
/// <summary>
|
|
/// Can this entity take reagent from reagent tanks?
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public bool CanReceive = true;
|
|
|
|
/// <summary>
|
|
/// Can this entity give reagent to other reagent containers?
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public bool CanSend = true;
|
|
|
|
/// <summary>
|
|
/// Whether you're allowed to change the transfer amount.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public bool CanChangeTransferAmount = false;
|
|
}
|