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,
"Pumpkin");
29 m_IngredientAddHealth[0] = 0;
30 m_IngredientSetHealth[0] = -1;
31 m_IngredientAddQuantity[0] = 0;
32 m_IngredientDestroy[0] =
true;
33 m_IngredientUseSoftSkills[0] =
false;
36 InsertIngredient(1,
"Sickle");
37 InsertIngredient(1,
"KukriKnife");
38 InsertIngredient(1,
"FangeKnife");
39 InsertIngredient(1,
"Hacksaw");
40 InsertIngredient(1,
"KitchenKnife");
41 InsertIngredient(1,
"SteakKnife");
42 InsertIngredient(1,
"StoneKnife");
43 InsertIngredient(1,
"Cleaver");
44 InsertIngredient(1,
"CombatKnife");
45 InsertIngredient(1,
"HuntingKnife");
46 InsertIngredient(1,
"Machete");
47 InsertIngredient(1,
"CrudeMachete");
48 InsertIngredient(1,
"OrientalMachete");
49 InsertIngredient(1,
"AK_Bayonet");
50 InsertIngredient(1,
"M9A1_Bayonet");
51 InsertIngredient(1,
"Mosin_Bayonet");
52 InsertIngredient(1,
"SKS_Bayonet");
53 InsertIngredient(1,
"FarmingHoe");
54 InsertIngredient(1,
"Shovel");
55 InsertIngredient(1,
"Crowbar");
56 InsertIngredient(1,
"Hammer");
57 InsertIngredient(1,
"Mace");
58 InsertIngredient(1,
"Wrench");
59 InsertIngredient(1,
"LugWrench");
60 InsertIngredient(1,
"Screwdriver");
61 InsertIngredient(1,
"SledgeHammer");
62 InsertIngredient(1,
"BaseballBat");
63 InsertIngredient(1,
"Pickaxe");
64 InsertIngredient(1,
"Sword");
65 InsertIngredient(1,
"WoodAxe");
66 InsertIngredient(1,
"FirefighterAxe");
67 InsertIngredient(1,
"Hatchet");
68 InsertIngredient(1,
"HandSaw");
69 InsertIngredient(1,
"BoneKnife");
71 m_IngredientAddHealth[1] = -0.5;
72 m_IngredientSetHealth[1] = -1;
73 m_IngredientAddQuantity[1] = 0;
74 m_IngredientDestroy[1] =
false;
75 m_IngredientUseSoftSkills[1] =
true;
79 AddResult(
"PumpkinSeeds");
81 m_ResultSetFullQuantity[0] =
false;
82 m_ResultSetQuantity[0] = 12;
83 m_ResultSetHealth[0] = -1;
84 m_ResultInheritsHealth[0] = 0;
85 m_ResultInheritsColor[0] = -1;
86 m_ResultToInventory[0] = -2;
87 m_ResultUseSoftSkills[0] =
true;
88 m_ResultReplacesIngredient[0] = -1;
92 AddResult(
"SlicedPumpkin");
94 m_ResultSetFullQuantity[1] =
true;
95 m_ResultSetQuantity[1] = -1;
96 m_ResultSetHealth[1] = -1;
97 m_ResultInheritsHealth[1] = 0;
98 m_ResultInheritsColor[1] = -1;
99 m_ResultToInventory[1] = 1;
100 m_ResultUseSoftSkills[1] =
true;
101 m_ResultReplacesIngredient[1] = -1;
103 AddResult(
"SlicedPumpkin");
105 m_ResultSetFullQuantity[2] =
true;
106 m_ResultSetQuantity[2] = -1;
107 m_ResultSetHealth[2] = -1;
108 m_ResultInheritsHealth[2] = 0;
109 m_ResultInheritsColor[2] = -1;
110 m_ResultToInventory[2] = 1;
111 m_ResultUseSoftSkills[2] =
true;
112 m_ResultReplacesIngredient[2] = -1;
117 if ( player.IsPlacingLocal() )
130 float quantityMultiplier = pumpkin.GetHealth01(
"",
"");
131 float quantityNorm = pumpkin.GetQuantity()/pumpkin.GetQuantityMax();
133 quantityMultiplier *= quantityNorm;
139 slice1.SetQuantityNormalized(quantityMultiplier);
140 MiscGameplayFunctions.TransferItemProperties(pumpkin, slice1);
145 slice2.SetQuantityNormalized(quantityMultiplier);
146 MiscGameplayFunctions.TransferItemProperties(pumpkin, slice2);