mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-18 06:31:14 +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>
39 lines
1.4 KiB
C#
39 lines
1.4 KiB
C#
using Content.Shared.Chemistry.EntitySystems;
|
|
using Robust.Shared.Containers;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Chemistry.Components.SolutionManager;
|
|
|
|
/// <remarks>
|
|
/// Exists for simple backwards compatibility.
|
|
/// On <see cref="ComponentInit"/> this component will transfer all its data where it can to a <see cref="SolutionManagerComponent"/>
|
|
/// Then it will delete itself.
|
|
/// This component will be deleted in the indeterminate future.
|
|
/// </remarks>
|
|
[Obsolete]
|
|
[RegisterComponent]
|
|
[Access(typeof(SharedSolutionContainerSystem))]
|
|
public sealed partial class SolutionContainerManagerComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The default amount of space that will be allocated for solutions in solution containers.
|
|
/// Most solution containers will only contain 1-2 solutions.
|
|
/// </summary>
|
|
public const int DefaultCapacity = 2;
|
|
|
|
/// <summary>
|
|
/// The names of each solution container attached to this entity.
|
|
/// Actually accessing them must be done via <see cref="ContainerManagerComponent"/>.
|
|
/// </summary>
|
|
[DataField]
|
|
public HashSet<string> Containers = new(DefaultCapacity);
|
|
|
|
/// <summary>
|
|
/// The set of solutions to load onto this entity during mapinit.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Should be null after mapinit.
|
|
/// </remarks>
|
|
[DataField]
|
|
public Dictionary<string, Solution>? Solutions;
|
|
}
|