1 class DeCraftTruck01DoubleWheel
extends RecipeBase
5 m_Name =
"#STR_DeCraftTruck01DoubleWheel0";
6 m_IsInstaRecipe =
false;
7 m_AnimationLength = 0.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,
"Truck_01_WheelDouble");
29 m_IngredientAddHealth[0] = -1;
30 m_IngredientSetHealth[0] = -1;
31 m_IngredientAddQuantity[0] = 0;
32 m_IngredientDestroy[0] =
true;
33 m_IngredientUseSoftSkills[0] =
false;
36 InsertIngredient(1,
"Crowbar");
37 InsertIngredient(1,
"LugWrench");
39 m_IngredientAddHealth[1] = -20;
40 m_IngredientSetHealth[1] = -1;
41 m_IngredientAddQuantity[1] = 0;
42 m_IngredientDestroy[1] =
false;
43 m_IngredientUseSoftSkills[1] =
true;
48 AddResult(
"Truck_01_Wheel");
50 m_ResultSetFullQuantity[0] =
false;
51 m_ResultSetQuantity[0] = -1;
52 m_ResultSetHealth[0] = -1;
53 m_ResultInheritsHealth[0] = -2;
54 m_ResultInheritsColor[0] = -1;
55 m_ResultToInventory[0] = -2;
56 m_ResultUseSoftSkills[0] =
false;
57 m_ResultReplacesIngredient[0] = -1;
60 AddResult(
"Truck_01_Wheel");
62 m_ResultSetFullQuantity[1] =
false;
63 m_ResultSetQuantity[1] = -1;
64 m_ResultSetHealth[1] = -1;
65 m_ResultInheritsHealth[1] = -2;
66 m_ResultInheritsColor[1] = -1;
67 m_ResultToInventory[1] = -2;
68 m_ResultUseSoftSkills[1] =
false;
69 m_ResultReplacesIngredient[1] = -1;
76 ItemBase ingredient1 = ingredients[0];
78 if ( !ingredient1.GetHierarchyParent() )
86 ItemBase ingredient1 = ingredients[0];
90 result1.SetPosition(ingredient1.GetPosition()-
"0 0.16 0");
93 result2.SetPosition(ingredient1.GetPosition() +
"0 0.12 0.1");