2using System.Collections.Generic;
32 public override string GetDetail(
bool onJournal =
false)
48 text += Environment.NewLine;
55 if (thing ==
null ||
item.Num > thing.Num)
60 int num = thing?.Num ?? 0;
61 if (num >= ingredient.req)
63 text +=
"trackCraft_met".lang().TagColor(
FontColor.Good);
65 text = text + (ingredient.optional ?
"+" :
"") + ingredient.GetName() +
" " + num +
" / " + ingredient.req;
ThingStack ListThingStack(Recipe.Ingredient ing, StockSearchMode searchMode)
override string GetDetail(bool onJournal=false)
override string GetTitle()
List< Recipe.Ingredient > ingredients
static RecipeSource Get(string id)
List< Recipe.Ingredient > GetIngredients()