9 InsertIngredient(0,
"DeadChicken_ColorBase");
10 m_IngredientAddHealth[0] = 0;
11 m_IngredientSetHealth[0] = -1;
12 m_IngredientAddQuantity[0] = 0;
13 m_IngredientDestroy[0] =
true;
17 m_ResultSetFullQuantity[0] =
false;
18 m_ResultSetQuantity[0] = 2;
19 m_ResultSetHealth[0] = -1;
20 m_ResultInheritsHealth[0] = 0;
21 m_ResultInheritsColor[0] = -1;
22 m_ResultToInventory[0] = -2;
23 m_ResultReplacesIngredient[0] = 0;
29 ItemBase deadChicken = ingredients[0];
30 Bone resultBones =
Bone.Cast(results[0]);
34 for (
int i=0; i < steakCount; ++i)
36 result =
ItemBase.Cast(player.SpawnEntityOnGroundRaycastDispersed(
"ChickenBreastMeat"));
37 MiscGameplayFunctions.TransferItemProperties(deadChicken, result);
41 result =
ItemBase.Cast(player.SpawnEntityOnGroundRaycastDispersed(
"ChickenFeather"));
42 MiscGameplayFunctions.TransferItemProperties(deadChicken, result);
47 MiscGameplayFunctions.TransferItemProperties(deadChicken, resultBones);
void SetBloodyHands(PlayerBase player, bool show)
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
override void Do(ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].