1 class CraftImprovisedExplosive
extends RecipeBase
5 m_Name =
"#STR_CraftImprovisedExplosive";
7 m_IsInstaRecipe =
false;
13 m_MinDamageIngredient[0] = -1;
14 m_MaxDamageIngredient[0] = 3;
16 m_MinQuantityIngredient[0] = 1;
17 m_MaxQuantityIngredient[0] = -1;
19 m_MinDamageIngredient[1] = -1;
20 m_MaxDamageIngredient[1] = 3;
22 m_MinQuantityIngredient[1] = -1;
23 m_MaxQuantityIngredient[1] = -1;
28 InsertIngredientEx(0,
"SmallProtectorCase" ,
"ImprovisedExplosive");
30 m_IngredientAddHealth[0] = 0;
31 m_IngredientSetHealth[0] = -1;
32 m_IngredientAddQuantity[0] = -3;
33 m_IngredientDestroy[0] =
true;
34 m_IngredientUseSoftSkills[0] =
false;
37 InsertIngredient(1,
"ElectronicRepairKit");
39 m_IngredientAddHealth[1] = 0;
40 m_IngredientSetHealth[1] = -1;
41 m_IngredientAddQuantity[1] = 0;
42 m_IngredientDestroy[1] =
true;
43 m_IngredientUseSoftSkills[1] =
false;
47 AddResult(
"ImprovisedExplosive");
49 m_ResultSetFullQuantity[0] =
false;
50 m_ResultSetQuantity[0] = -1;
51 m_ResultSetHealth[0] = -1;
52 m_ResultInheritsHealth[0] = -2;
53 m_ResultInheritsColor[0] = -1;
54 m_ResultToInventory[0] = -2;
55 m_ResultUseSoftSkills[0] =
false;
56 m_ResultReplacesIngredient[0] = -1;
61 return ingredients[0].IsEmpty();
66 Debug.Log(
"Recipe Do method called",
"recipes");