5 m_Name =
"#STR_sawoffbarrel0";
6 m_IsInstaRecipe =
false;
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,
"Mosin9130_Black");
28 InsertIngredient(0,
"Mosin9130_Green");
29 InsertIngredient(0,
"Mosin9130_Camo");
31 m_IngredientAddHealth[0] = 0;
32 m_IngredientSetHealth[0] = -1;
33 m_IngredientAddQuantity[0] = 0;
34 m_IngredientDestroy[0] =
false;
35 m_IngredientUseSoftSkills[0] =
false;
38 InsertIngredient(1,
"Hacksaw");
40 m_IngredientAddHealth[1] = -20;
41 m_IngredientSetHealth[1] = -1;
42 m_IngredientAddQuantity[1] = 0;
43 m_IngredientDestroy[1] =
false;
44 m_IngredientUseSoftSkills[1] =
true;
72 ItemBase ingredient = ingredients[0];
73 string color = ingredient.ConfigGetString(
"color");
74 string classname =
"SawedoffMosin9130_" + color;
75 MiscGameplayFunctions.TurnItemIntoItemEx(player,
new TurnItemIntoItemLambda(ingredients[0], classname, player));