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,
"DisinfectantSpray");
28 InsertIngredient(0,
"DisinfectantAlcohol");
29 InsertIngredient(0,
"IodineTincture");
31 m_IngredientAddHealth[0] = 0;
32 m_IngredientSetHealth[0] = -1;
33 m_IngredientAddQuantity[0] = 0;
34 m_IngredientDestroy[0] =
false;
35 m_IngredientUseSoftSkills[0] =
false;
38 InsertIngredient(1,
"Inventory_Base");
40 m_IngredientAddHealth[1] = 0;
41 m_IngredientSetHealth[1] = -1;
42 m_IngredientAddQuantity[1] = 0;
43 m_IngredientDestroy[1] =
false;
44 m_IngredientUseSoftSkills[1] =
false;
50 m_ResultSetFullQuantity[0] =
false;
51 m_ResultSetQuantity[0] = -1;
52 m_ResultSetHealth[0] = -1;
53 m_ResultInheritsHealth[0] = -1;
54 m_ResultInheritsColor[0] = -1;
55 m_ResultToInventory[0] = -2;
56 m_ResultUseSoftSkills[0] =
false;
57 m_ResultReplacesIngredient[0] = -1;
62 ItemBase ingredient1 = ingredients[0];
63 ItemBase ingredient2 = ingredients[1];
66 if ( !ingredient2.CanBeDisinfected() )
69 if ( ingredient1.GetQuantity() < ingredient1.GetDisinfectQuantity() )
75 int liquid_type = ingredient1.GetLiquidType();
82 Class.CastTo(ingredient1, ingredients[0]);
85 ingredient1.AddQuantity(-ingredient1.GetDisinfectQuantity());
87 Class.CastTo(ingredient2, ingredients[1]);
89 ingredient2.SetCleanness(1);