1using System.Collections.Generic;
98 return "tool_carving";
100 return "factory_platform";
152 if (!components.IsEmpty() && components[0] !=
"-")
154 for (
int i = 0; i < components.Length; i++)
156 string[] array = components[i].Split(
'|');
157 string[] array2 = array[0].Split(
'/');
158 string[] array3 = array2[0].Split(
'@');
159 bool optional =
false;
163 switch (array3[0][0])
167 array3[0] = array3[0].Remove(0, 1);
171 array3[0] = array3[0].Remove(0, 1);
179 array3[0] = array3[0].Remove(0, 1);
184 tag = ((array3.Length > 1) ? array3[1] :
null),
185 req = ((array2.Length <= 1) ? 1 :
int.Parse(array2[1])),
189 if (array.Length > 1)
191 for (
int j = 1; j < array.Length; j++)
193 ingredient.
idOther.Add(array[j]);
196 list.Add(ingredient);
205 if (!components.IsEmpty() && components[0] !=
"-")
208 if (num < components.Length)
210 string[] array = components[num].Split(
'/')[0].Split(
'@');
211 char c = array[0][0];
212 if (c ==
'#' || c ==
'$' || c ==
'+')
214 array[0] = array[0].Remove(0, 1);
225 int num = row.Category.costSP + reqSkill.Value / 10;
227 if (num2 < reqSkill.
Value)
229 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