5 m_Name =
"#STR_CraftSplint0";
6 m_IsInstaRecipe =
false;
12 m_MinDamageIngredient[0] = -1;
13 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] = 2;
23 m_MaxQuantityIngredient[1] = -1;
28 InsertIngredient(0,
"BandageDressing");
29 InsertIngredient(0,
"Rag");
30 InsertIngredient(0,
"DuctTape");
32 m_IngredientAddHealth[0] = 0;
33 m_IngredientSetHealth[0] = -1;
34 m_IngredientAddQuantity[0] = 0;
35 m_IngredientDestroy[0] =
false;
36 m_IngredientUseSoftSkills[0] =
false;
39 InsertIngredient(1,
"WoodenStick");
41 m_IngredientAddHealth[1] = 0;
42 m_IngredientSetHealth[1] = -1;
43 m_IngredientAddQuantity[1] = -2;
44 m_IngredientDestroy[1] =
false;
45 m_IngredientUseSoftSkills[1] =
false;
51 m_ResultSetFullQuantity[0] =
false;
52 m_ResultSetQuantity[0] = -1;
53 m_ResultSetHealth[0] = -1;
54 m_ResultInheritsHealth[0] = -2;
55 m_ResultInheritsColor[0] = -1;
56 m_ResultToInventory[0] = -2;
57 m_ResultUseSoftSkills[0] =
false;
58 m_ResultReplacesIngredient[0] = -1;
63 ItemBase ingredient1 = ingredients[0];
64 if (ingredient1.Type() == BandageDressing)
66 if (ingredient1.GetQuantity() == ingredient1.GetQuantityMax())
73 if (ingredient1.Type() == Rag)
75 if (ingredient1.GetQuantity() >= 4)
83 if (ingredient1.GetQuantity() >= (ingredient1.GetQuantityMax()/2))
94 Debug.Log(
"Recipe Do method called",
"recipes");
96 ItemBase ingredient1 = ingredients[0];
98 if (ingredients[0].
Type() == Rag)
101 ingredient1.AddQuantity(-4);
104 if (ingredients[0].
Type() == BandageDressing)
107 ingredient1.AddQuantity(-ingredient1.GetQuantityMax());
113 ingredient1.AddQuantity(-ingredient1.GetQuantityMax()/2);