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:
Ed
2024-04-30 16:48:08 +03:00
committed by GitHub
parent 743c732162
commit 0169cb55d8
33 changed files with 414 additions and 21 deletions

View File

@@ -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

View File

@@ -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;