5 m_Name =
"#STR_DrainLiquid0";
6 m_IsInstaRecipe =
false;
7 m_AnimationLength = 1.5;
12 m_MinDamageIngredient[0] = -1;
13 m_MaxDamageIngredient[0] = 3;
15 m_MinQuantityIngredient[0] = 0;
16 m_MaxQuantityIngredient[0] = -1;
18 m_MinDamageIngredient[1] = -1;
19 m_MaxDamageIngredient[1] = 3;
21 m_MinQuantityIngredient[1] = 0;
22 m_MaxQuantityIngredient[1] = -1;
27 InsertIngredient(0,
"Pot");
28 InsertIngredient(0,
"CanisterGasoline");
29 InsertIngredient(0,
"Canteen");
30 InsertIngredient(0,
"WaterBottle");
31 InsertIngredient(0,
"Vodka");
32 InsertIngredient(0,
"WaterPouch_ColorBase");
33 InsertIngredient(0,
"Barrel_ColorBase");
35 m_IngredientAddHealth[0] = 0;
36 m_IngredientSetHealth[0] = -1;
37 m_IngredientAddQuantity[0] = 0;
38 m_IngredientDestroy[0] =
false;
39 m_IngredientUseSoftSkills[0] =
false;
42 InsertIngredient(1,
"Pot");
43 InsertIngredient(1,
"CanisterGasoline");
44 InsertIngredient(1,
"Canteen");
45 InsertIngredient(1,
"WaterBottle");
46 InsertIngredient(1,
"Vodka");
47 InsertIngredient(1,
"WaterPouch_ColorBase");
48 InsertIngredient(1,
"Barrel_ColorBase");
50 m_IngredientAddHealth[1] = 0;
51 m_IngredientSetHealth[1] = -1;
52 m_IngredientAddQuantity[1] = 0;
53 m_IngredientDestroy[1] =
false;
54 m_IngredientUseSoftSkills[1] =
false;
60 m_ResultSetFullQuantity[0] =
false;
61 m_ResultSetQuantity[0] = -1;
62 m_ResultSetHealth[0] = -1;
63 m_ResultInheritsHealth[0] = -1;
64 m_ResultInheritsColor[0] = -1;
65 m_ResultToInventory[0] = -2;
66 m_ResultUseSoftSkills[0] =
false;
67 m_ResultReplacesIngredient[0] = -1;
73 Class.CastTo(ingredient1, ingredients[0]);
75 Class.CastTo(ingredient2, ingredients[1]);
80 ItemBase entity_in_hands =
ItemBase.Cast(player.GetHumanInventory().GetEntityInHands());
83 if( entity_in_hands == ingredient1 )
85 return Liquid.CanTransfer(ingredient2,ingredient1);
89 return Liquid.CanTransfer(ingredient1,ingredient2);
95 ItemBase ingredient1 = ingredients[0];
96 ItemBase ingredient2 = ingredients[1];
98 ItemBase entity_in_hands =
ItemBase.Cast(player.GetHumanInventory().GetEntityInHands());
100 if( entity_in_hands == ingredient1 )
102 Liquid.Transfer(ingredient2,ingredient1);
106 Liquid.Transfer(ingredient1,ingredient2);