grindable/juiceable stacks (#4391)
* grindable/juiceable stacks reagent grinder now takes stacks into account added ScaleSolution that allows easy scaling of solution contents * grindable/juiceable stacks revision grinder/juicer stack fix now ECS added JuiceableScalingEvent * Update Content.Server/Kitchen/EntitySystems/ReagentGrinderSystem.cs Co-authored-by: mirrorcult <lunarautomaton6@gmail.com> * Update Content.Server/Kitchen/EntitySystems/ReagentGrinderSystem.cs Co-authored-by: mirrorcult <lunarautomaton6@gmail.com> Co-authored-by: Vera Aguilera Puerto <6766154+Zumorica@users.noreply.github.com>
This commit is contained in:
23
Content.Server/Kitchen/Events/JuiceableScalingEvent.cs
Normal file
23
Content.Server/Kitchen/Events/JuiceableScalingEvent.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.Server.Kitchen.Events
|
||||
{
|
||||
/// <summary>
|
||||
/// Used in scaling amount of solution to extract in juicing
|
||||
/// </summary>
|
||||
public class JuiceableScalingEvent : EntityEventArgs
|
||||
{
|
||||
|
||||
public JuiceableScalingEvent()
|
||||
{
|
||||
Scalar = 1f;
|
||||
}
|
||||
|
||||
public float Scalar
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user