6 m_IsInstaRecipe =
false;
12 m_MinDamageIngredient[0] = -1;
13 m_MaxDamageIngredient[0] = 3;
15 m_MinQuantityIngredient[0] = 2;
16 m_MaxQuantityIngredient[0] = -1;
18 m_MinDamageIngredient[1] = 2;
19 m_MaxDamageIngredient[1] = 3;
21 m_MinQuantityIngredient[1] = -1;
22 m_MaxQuantityIngredient[1] = -1;
27 InsertIngredient(0,
"WoodenPlank");
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,
"WoodenCrate");
37 InsertIngredient(1,
"SeaChest");
39 m_IngredientAddHealth[1] = 0;
40 m_IngredientSetHealth[1] = -1;
41 m_IngredientAddQuantity[1] = 0;
42 m_IngredientDestroy[1] =
false;
43 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;
64 ItemBase ingredient1 = ingredients[0];
66 if (ingredient1.Type() == WoodenPlank)
68 if (ingredient1.GetQuantity() >= 2)
79 ItemBase ingredient1 = ingredients[0];
80 if (ingredients[0].
Type() == WoodenPlank)
82 ingredient1.AddQuantity(-2);
85 ItemBase ingredient2 = ingredients[1];
86 float mHealth = ingredient2.GetMaxHealth();
87 float percent = mHealth*0.2;
88 ingredient2.AddHealth(percent);