Add (not working) basis for allowing solids (entities) in recipes.
This commit is contained in:
@@ -33,12 +33,12 @@ namespace Content.Shared.Kitchen
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (x._ingredients.Count < y._ingredients.Count)
|
||||
if (x._ingReagents.Count < y._ingReagents.Count)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (x._ingredients.Count > y._ingredients.Count)
|
||||
if (x._ingReagents.Count > y._ingReagents.Count)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
using Robust.Shared.Serialization;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Content.Shared.Kitchen
|
||||
{
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum MicrowaveVisualState
|
||||
{
|
||||
Idle,
|
||||
Cooking
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -37,10 +37,12 @@ namespace Content.Shared.Kitchen
|
||||
[NetSerializable, Serializable]
|
||||
public class MicrowaveUserInterfaceState : BoundUserInterfaceState
|
||||
{
|
||||
public readonly List<Solution.ReagentQuantity> ContainedReagents;
|
||||
public MicrowaveUserInterfaceState(List<Solution.ReagentQuantity> contained)
|
||||
public readonly List<Solution.ReagentQuantity> ReagentsReagents;
|
||||
public readonly Dictionary<string, int> ContainedSolids;
|
||||
public MicrowaveUserInterfaceState(List<Solution.ReagentQuantity> reagents, Dictionary<string,int> solids)
|
||||
{
|
||||
ContainedReagents = contained;
|
||||
ReagentsReagents = reagents;
|
||||
ContainedSolids = solids;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user