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] = -1;
19 m_MaxDamageIngredient[1] = 3;
21 m_MinQuantityIngredient[1] = 1;
22 m_MaxQuantityIngredient[1] = -1;
27 InsertIngredient(0,
"HeadCover_Improvised");
28 InsertIngredient(0,
"HandsCover_Improvised");
29 InsertIngredient(0,
"LegsCover_Improvised");
30 InsertIngredient(0,
"FeetCover_Improvised");
31 InsertIngredient(0,
"FaceCover_Improvised");
32 InsertIngredient(0,
"TorsoCover_Improvised");
34 m_IngredientAddHealth[0] = 0;
35 m_IngredientSetHealth[0] = -1;
36 m_IngredientAddQuantity[0] = 0;
37 m_IngredientDestroy[0] =
false;
38 m_IngredientUseSoftSkills[0] =
false;
41 InsertIngredient(1,
"Rag");
43 m_IngredientAddHealth[1] = 0;
44 m_IngredientSetHealth[1] = -1;
45 m_IngredientAddQuantity[1] = -1;
46 m_IngredientDestroy[1] =
false;
47 m_IngredientUseSoftSkills[1] =
false;
54 m_ResultSetFullQuantity[0] =
false;
55 m_ResultSetQuantity[0] = -1;
56 m_ResultSetHealth[0] = -1;
57 m_ResultInheritsHealth[0] = -1;
58 m_ResultInheritsColor[0] = -1;
59 m_ResultToInventory[0] = -2;
60 m_ResultUseSoftSkills[0] =
false;
61 m_ResultReplacesIngredient[0] = -1;
73 ItemBase item_ingredient = ingredients[0];
74 float mHealth = item_ingredient.GetMaxHealth();
75 float percent = mHealth*0.2;
76 item_ingredient.AddHealth(percent);