39 ItemBase deadRabbit = ingredients[0];
43 for (
int i=0; i < legCount; ++i)
45 ItemBase result =
ItemBase.Cast(player.SpawnEntityOnGroundRaycastDispersed(
"RabbitLegMeat"));
46 MiscGameplayFunctions.TransferItemProperties(deadRabbit, result);
50 MiscGameplayFunctions.TransferItemProperties(deadRabbit, resultBones);
void SetBloodyHands(PlayerBase player, bool show)
int m_ResultReplacesIngredient[MAXIMUM_RESULTS]
int m_ResultToInventory[MAXIMUM_RESULTS]
float m_IngredientAddHealth[MAX_NUMBER_OF_INGREDIENTS]
float m_IngredientSetHealth[MAX_NUMBER_OF_INGREDIENTS]
int m_ResultInheritsHealth[MAXIMUM_RESULTS]
void AddResult(string item)
int m_ResultInheritsColor[MAXIMUM_RESULTS]
float m_ResultSetQuantity[MAXIMUM_RESULTS]
bool m_ResultSetFullQuantity[MAXIMUM_RESULTS]
void InsertIngredient(int index, string ingredient, DayZPlayerConstants uid=BASE_CRAFT_ANIMATION_ID, bool showItem=false)
float m_ResultSetHealth[MAXIMUM_RESULTS]
float m_IngredientAddQuantity[MAX_NUMBER_OF_INGREDIENTS]
bool m_IngredientDestroy[MAX_NUMBER_OF_INGREDIENTS]
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].