6 m_IsInstaRecipe =
false;
7 m_AnimationLength = 1.5;
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,
"WeaponCleaningKit");
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,
"DefaultWeapon");
37 InsertIngredient(1,
"DefaultMagazine");
38 InsertIngredient(1,
"ItemSuppressor");
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;
51 m_ResultSetFullQuantity[0] =
false;
52 m_ResultSetQuantity[0] = -1;
53 m_ResultSetHealth[0] = -1;
54 m_ResultInheritsHealth[0] = -1;
55 m_ResultInheritsColor[0] = -1;
56 m_ResultToInventory[0] = -2;
57 m_ResultUseSoftSkills[0] =
false;
58 m_ResultReplacesIngredient[0] = -1;
65 PluginRepairing module_repairing;
68 Class.CastTo(ingredient1, ingredients[0]);
70 Class.CastTo(ingredient2, ingredients[1]);
71 return module_repairing.CanRepair(ingredient1,ingredient2);
76 PluginRepairing module_repairing;
79 Class.CastTo(playerPB, player);
81 Class.CastTo(ingredient1, ingredients[0]);
83 Class.CastTo(ingredient2, ingredients[1]);
84 module_repairing.Repair(playerPB, ingredient1,ingredient2,m_Specialty);