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:
FL-OZ
2020-04-29 21:04:08 -05:00
parent d0f18b2f66
commit 8e0185f892
4 changed files with 14 additions and 16 deletions

View File

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