1using System.Collections.Generic;
14 public List<IInspect>
targets =
new List<IInspect>();
16 public List<InspectGroup>
groups =
new List<InspectGroup>();
62 Dictionary<Thing, int> dictionary =
new Dictionary<Thing, int>();
65 if (ingredient.thing !=
null)
67 if (!dictionary.ContainsKey(ingredient.thing))
69 dictionary.Add(ingredient.thing, 0);
71 dictionary[ingredient.thing] += ingredient.req *
countValid;
74 foreach (KeyValuePair<Thing, int>
item in dictionary)
83 if (!ingredient2.optional)
85 if (ingredient2.thing ==
null)
89 if (ingredient2.thing.Num < ingredient2.req *
countValid)
129 Debug.LogError(
"no ing");
134 int num2 = ((thing.Num >= num) ? num : thing.
Num);
BaseTileSelector tileSelector
int GetCurrency(string id="money")
void ModCurrency(int a, string id="money")
void ModNum(int a, bool notify=true)
static BaseGameScreen screen
List< InspectGroup > groups
Dictionary< string, PropSet > cardMap
virtual bool RequireIngredients
virtual TileType tileType
List< Ingredient > ingredients
virtual bool CanInstaComplete
Dictionary< string, int > lastMats