6 m_IsInstaRecipe =
false;
12 m_MinDamageIngredient[0] = -1;
13 m_MaxDamageIngredient[0] = 3;
15 m_MinQuantityIngredient[0] = -1;
16 m_MaxQuantityIngredient[0] = -1;
18 m_MinDamageIngredient[1] = 2;
19 m_MaxDamageIngredient[1] = 3;
21 m_MinQuantityIngredient[1] = -1;
22 m_MaxQuantityIngredient[1] = -1;
27 InsertIngredient(0,
"Pliers");
29 m_IngredientAddHealth[0] = 0;
30 m_IngredientSetHealth[0] = -1;
31 m_IngredientAddQuantity[0] = 0;
32 m_IngredientDestroy[0] =
false;
33 m_IngredientUseSoftSkills[0] =
true;
36 InsertIngredient(1,
"Chainmail");
37 InsertIngredient(1,
"Chainmail_Coif");
38 InsertIngredient(1,
"Chainmail_Leggings");
39 InsertIngredient(1,
"WitchHoodCoif_ColorBase");
41 m_IngredientAddHealth[1] = 0;
42 m_IngredientSetHealth[1] = -1;
43 m_IngredientAddQuantity[1] = 0;
44 m_IngredientDestroy[1] =
false;
45 m_IngredientUseSoftSkills[1] =
false;
52 m_ResultSetFullQuantity[0] =
false;
53 m_ResultSetQuantity[0] = -1;
54 m_ResultSetHealth[0] = -1;
55 m_ResultInheritsHealth[0] = -1;
56 m_ResultInheritsColor[0] = -1;
57 m_ResultToInventory[0] = -2;
58 m_ResultUseSoftSkills[0] =
false;
59 m_ResultReplacesIngredient[0] = -1;
71 ItemBase item_ingredient = ingredients[0];
72 float mHealth = item_ingredient.GetMaxHealth();
73 float percent = mHealth*0.2;
74 item_ingredient.DecreaseHealth(percent);
76 ItemBase item_ingredient1 = ingredients[1];
77 float mHealth1 = item_ingredient1.GetMaxHealth();
78 float percent1 = mHealth1*0.2;
79 item_ingredient1.AddHealth(percent1);