5 m_Name =
"#STR_sawoffbarrel0";
53 ItemBase ingredient = ingredients[0];
54 string color = ingredient.ConfigGetString(
"color");
55 string classname =
"SawedoffMosin9130_" + color;
56 MiscGameplayFunctions.TurnItemIntoItemEx(player,
new TurnItemIntoItemLambda(ingredients[0], classname, player));
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
float m_IngredientAddHealth[MAX_NUMBER_OF_INGREDIENTS]
float m_IngredientSetHealth[MAX_NUMBER_OF_INGREDIENTS]
float m_MinDamageIngredient[MAX_NUMBER_OF_INGREDIENTS]
float m_MaxQuantityIngredient[MAX_NUMBER_OF_INGREDIENTS]
void InsertIngredient(int index, string ingredient, DayZPlayerConstants uid=BASE_CRAFT_ANIMATION_ID, bool showItem=false)
float m_MaxDamageIngredient[MAX_NUMBER_OF_INGREDIENTS]
float m_IngredientAddQuantity[MAX_NUMBER_OF_INGREDIENTS]
float m_MinQuantityIngredient[MAX_NUMBER_OF_INGREDIENTS]
bool m_IngredientDestroy[MAX_NUMBER_OF_INGREDIENTS]
bool CanDo(PlayerBase player, TStringVectorMap surfaceTypes)
void Do(PlayerBase player)