2using System.Collections.Generic;
28 public override string GetDetail(
bool onJournal =
false)
40 text += Environment.NewLine;
47 if (thing ==
null ||
item.Num > thing.Num)
52 int num = thing?.Num ?? 0;
53 if (num >= ingredient.req)
55 text +=
"trackCraft_met".lang().TagColor(
FontColor.Good);
57 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()