59 return !ingredients[0].GetIsFrozen();
65 ItemBase ingredient = ingredients[0];
67 for (
int i=0; i < results.Count(); ++i)
70 MiscGameplayFunctions.TransferItemProperties(ingredient, results[i]);
71 results[i].SetQuantityNormalized(ingredient.GetQuantityNormalized());
79 ItemBase ingredient = ingredients[0];
82 lifespan.UpdateBloodyHandsVisibility(player,
true);
83 player.SetBloodyHandsPenaltyChancePerAgent(
eAgents.SALMONELLA, ingredient.GetSkinningBloodInfectionChance(
eAgents.SALMONELLA));
void SetBloodyHands(PlayerBase player, bool show)
PluginBase GetPlugin(typename plugin_type)
bool m_IngredientDestroy[MAX_NUMBER_OF_INGREDIENTS]
override bool CanDo(ItemBase ingredients[], PlayerBase player)
override void Do(ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
void SetBloodyHands(ItemBase ingredients[], PlayerBase player)
float m_IngredientAddHealth[MAX_NUMBER_OF_INGREDIENTS]
float m_IngredientSetHealth[MAX_NUMBER_OF_INGREDIENTS]
float m_MinQuantityIngredient[MAX_NUMBER_OF_INGREDIENTS]
float m_MaxQuantityIngredient[MAX_NUMBER_OF_INGREDIENTS]
float m_IngredientAddQuantity[MAX_NUMBER_OF_INGREDIENTS]
float m_MinDamageIngredient[MAX_NUMBER_OF_INGREDIENTS]
float m_MaxDamageIngredient[MAX_NUMBER_OF_INGREDIENTS]
void InsertIngredient(int index, string ingredient, DayZPlayerConstants uid=DayZPlayerConstants.CMD_ACTIONFB_CRAFTING)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
DayZPlayerConstants
defined in C++