Alchemy instruments (#122)
* add beer barrel * add vet * add storage to vat * make bucket viable! * bandage vat item fix * Update vat.yml * add small vial * tiny vial * Update SharedStorageSystem.cs * Create biological.yml * spilable and bonfire climbing
This commit is contained in:
@@ -24,7 +24,8 @@ public sealed partial class InjectorDoAfterEvent : SimpleDoAfterEvent
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class InjectorComponent : Component
|
||||
{
|
||||
public const string SolutionName = "injector";
|
||||
[DataField]
|
||||
public string SolutionName = "injector";
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not the injector is able to draw from containers or if it's a single use
|
||||
|
||||
@@ -113,7 +113,7 @@ public abstract class SharedInjectorSystem : EntitySystem
|
||||
if (injector.Comp.InjectOnly)
|
||||
return;
|
||||
|
||||
if (!SolutionContainers.TryGetSolution(injector.Owner, InjectorComponent.SolutionName, out var solEnt, out var solution))
|
||||
if (!SolutionContainers.TryGetSolution(injector.Owner, injector.Comp.SolutionName, out var solEnt, out var solution))
|
||||
return;
|
||||
|
||||
string msg;
|
||||
|
||||
Reference in New Issue
Block a user