Refactor "output" to "result" for recipes/prototypes.
Remove a debug recipe from meal_recipes.yml Add food.yml for food related reagents: sugar, flour, etc.
This commit is contained in:
@@ -105,7 +105,7 @@ namespace Content.Server.GameObjects.Components.Kitchen
|
||||
{
|
||||
if (CanSatisfyRecipe(r))
|
||||
{
|
||||
var outputFromRecipe = r.OutPutPrototype;
|
||||
var outputFromRecipe = r.Result;
|
||||
_entityManager.SpawnEntity(outputFromRecipe, Owner.Transform.GridPosition);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user