1using System.Collections.Generic;
98 return "tool_carving";
100 return "factory_platform";
148 if (!components.IsEmpty() && components[0] !=
"-")
150 for (
int i = 0; i < components.Length; i++)
152 string[] array = components[i].Split(
'|');
153 string[] array2 = array[0].Split(
'/');
154 string[] array3 = array2[0].Split(
'@');
155 bool optional =
false;
159 switch (array3[0][0])
163 array3[0] = array3[0].Remove(0, 1);
167 array3[0] = array3[0].Remove(0, 1);
175 array3[0] = array3[0].Remove(0, 1);
180 tag = ((array3.Length > 1) ? array3[1] :
null),
181 req = ((array2.Length <= 1) ? 1 :
int.Parse(array2[1])),
185 if (array.Length > 1)
187 for (
int j = 1; j < array.Length; j++)
189 ingredient.
idOther.Add(array[j]);
192 list.Add(ingredient);
201 if (!components.IsEmpty() && components[0] !=
"-")
204 if (num < components.Length)
206 string[] array = components[num].Split(
'/')[0].Split(
'@');
207 char c = array[0][0];
208 if (c ==
'#' || c ==
'$' || c ==
'+')
210 array[0] = array[0].Remove(0, 1);
221 int num = row.Category.costSP + reqSkill.Value / 10;
223 if (num2 < reqSkill.
Value)
225 num += (reqSkill.Value - num2) * 2 / 3;
static SourceManager sources
static Element Create(int id, int v=0)
List< Recipe.Ingredient > GetIngredients()
int GetSPCost(Card factory)
static List< Recipe.Ingredient > DefaultIngredients
SourceCategory.Row Category
Dictionary< string, CardRow > map
TraitCrafter GetModelCrafter(string id)
static TraitSelfFactory SelfFactory