1using System.Collections.Generic;
96 return "tool_carving";
98 return "factory_platform";
134 if (!components.IsEmpty() && components[0] !=
"-")
136 for (
int i = 0; i < components.Length; i++)
138 string[] array = components[i].Split(
'|');
139 string[] array2 = array[0].Split(
'/');
140 string[] array3 = array2[0].Split(
'@');
141 bool optional =
false;
145 switch (array3[0][0])
149 array3[0] = array3[0].Remove(0, 1);
153 array3[0] = array3[0].Remove(0, 1);
161 array3[0] = array3[0].Remove(0, 1);
166 tag = ((array3.Length > 1) ? array3[1] :
null),
167 req = ((array2.Length <= 1) ? 1 :
int.Parse(array2[1])),
171 if (array.Length > 1)
173 for (
int j = 1; j < array.Length; j++)
175 ingredient.
idOther.Add(array[j]);
178 list.Add(ingredient);
187 if (!components.IsEmpty() && components[0] !=
"-")
190 if (num < components.Length)
192 string[] array = components[num].Split(
'/')[0].Split(
'@');
193 char c = array[0][0];
194 if (c ==
'#' || c ==
'$' || c ==
'+')
196 array[0] = array[0].Remove(0, 1);
207 int num = row.Category.costSP + reqSkill.Value / 10;
209 if (num2 < reqSkill.
Value)
211 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