1using System.Collections.Generic;
96 return "tool_carving";
98 return "factory_platform";
143 if (!components.IsEmpty() && components[0] !=
"-")
145 for (
int i = 0; i < components.Length; i++)
147 string[] array = components[i].Split(
'|');
148 string[] array2 = array[0].Split(
'/');
149 string[] array3 = array2[0].Split(
'@');
150 bool optional =
false;
154 switch (array3[0][0])
158 array3[0] = array3[0].Remove(0, 1);
162 array3[0] = array3[0].Remove(0, 1);
170 array3[0] = array3[0].Remove(0, 1);
175 tag = ((array3.Length > 1) ? array3[1] :
null),
176 req = ((array2.Length <= 1) ? 1 :
int.Parse(array2[1])),
180 if (array.Length > 1)
182 for (
int j = 1; j < array.Length; j++)
184 ingredient.
idOther.Add(array[j]);
187 list.Add(ingredient);
196 if (!components.IsEmpty() && components[0] !=
"-")
199 if (num < components.Length)
201 string[] array = components[num].Split(
'/')[0].Split(
'@');
202 char c = array[0][0];
203 if (c ==
'#' || c ==
'$' || c ==
'+')
205 array[0] = array[0].Remove(0, 1);
216 int num = row.Category.costSP + reqSkill.Value / 10;
218 if (num2 < reqSkill.
Value)
220 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