Epinephrine + epipen (#5444)

* add sprite and basic entity, no reagent or testing

* actually implement epinephrine and add it to the box

* allow creating it

* add it to nanomed

* fig
This commit is contained in:
mirrorcult
2021-11-22 23:51:51 -07:00
committed by GitHub
parent 732baa56a9
commit e2205e418b
39 changed files with 311 additions and 32 deletions

View File

@@ -4,6 +4,7 @@ using Content.Shared.FixedPoint;
using Robust.Shared.GameObjects;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
using Robust.Shared.Serialization.Manager.Attributes;
namespace Content.Shared.Chemistry.Components
{
@@ -11,7 +12,9 @@ namespace Content.Shared.Chemistry.Components
public abstract class SharedHyposprayComponent : Component
{
public sealed override string Name => "Hypospray";
public const string SolutionName = "hypospray";
[DataField("solutionName")]
public string SolutionName = "hypospray";
[Serializable, NetSerializable]
protected sealed class HyposprayComponentState : ComponentState