DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Класс RecipeBase
+ Граф наследования:RecipeBase:

Закрытые члены

void RecipeBase ()
 
void Init ()
 
float GetLengthInSecs ()
 
float GetSpecialty ()
 
bool IsRecipeAnywhere ()
 
bool CheckIngredientMatch (ItemBase item1, ItemBase item2)
 
void InsertIngredient (int index, string ingredient)
 
void InsertIngredientEx (int index, string ingredient, string soundCategory)
 
void RemoveIngredient (int index, string ingredient)
 
void AddResult (string item)
 
string GetName ()
 
bool IsInstaRecipe ()
 
void SpawnItems (ItemBase ingredients[], PlayerBase player, array< ItemBase > spawned_objects)
 
void ApplyModificationsResults (ItemBase sorted[], array< ItemBase > results, ItemBase result, PlayerBase player)
 
void DeleleIngredientsPass ()
 
void ApplyModificationsIngredients (ItemBase sorted[], PlayerBase player)
 
bool CheckConditions (ItemBase sorted[])
 
bool CheckRecipe (ItemBase item1, ItemBase item2, PlayerBase player)
 
void OnSelectedRecipe (ItemBase item1, ItemBase item2, PlayerBase player)
 
void OnSelected (ItemBase item1, ItemBase item2, PlayerBase player)
 
void PerformRecipe (ItemBase item1, ItemBase item2, PlayerBase player)
 
void ApplySoftSkillsSpecialty (PlayerBase player)
 
bool CanDo (ItemBase ingredients[], PlayerBase player)
 
void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
int GetID ()
 
void SetID (int id)
 
void GetAllItems (array< string > items)
 
string GetSoundCategory (int ingredientIndex, ItemBase item)
 
bool IsItemInRecipe (string item)
 
int GetIngredientMaskForItem (string item)
 returns a mask which marks ingredient positions for a given item in this recipe(for example mask of value 3 [....000011] means this item is both ingredient 1 and 2 in this recipe[from right to left])
 
int GetAnimationCommandUID ()
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override void OnSelected (ItemBase item1, ItemBase item2, PlayerBase player)
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
void TransferItemsToNew (PlayerBase player, ItemBase barrel_old, ItemBase barrel_new)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 
override void Init ()
 
override bool CanDo (ItemBase ingredients[], PlayerBase player)
 
override void Do (ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
 

Закрытые данные

string m_ItemsToCreate [MAXIMUM_RESULTS]
 
ref array< stringm_Ingredients [MAX_NUMBER_OF_INGREDIENTS]
 
ref array< stringm_SoundCategories [MAX_NUMBER_OF_INGREDIENTS]
 
ItemBase m_Items [MAX_NUMBER_OF_INGREDIENTS]
 
ItemBase m_IngredientsSorted [MAX_NUMBER_OF_INGREDIENTS]
 
ref array< ItemBasem_IngredientsToBeDeleted = new array<ItemBase>
 
string m_Name
 
int m_ID
 
int m_NumberOfResults
 
int m_RecipeUID
 
float m_AnimationLength = 1
 
float m_Specialty = 0
 
bool m_IsInstaRecipe
 
bool m_AnywhereInInventory
 
float m_MinQuantityIngredient [MAX_NUMBER_OF_INGREDIENTS]
 
float m_MaxQuantityIngredient [MAX_NUMBER_OF_INGREDIENTS]
 
float m_MinDamageIngredient [MAX_NUMBER_OF_INGREDIENTS]
 
float m_MaxDamageIngredient [MAX_NUMBER_OF_INGREDIENTS]
 
bool m_IngredientUseSoftSkills [MAX_NUMBER_OF_INGREDIENTS]
 
float m_IngredientAddHealth [MAX_NUMBER_OF_INGREDIENTS]
 
float m_IngredientAddQuantity [MAX_NUMBER_OF_INGREDIENTS]
 
float m_IngredientSetHealth [MAX_NUMBER_OF_INGREDIENTS]
 
bool m_IngredientDestroy [MAX_NUMBER_OF_INGREDIENTS]
 
bool m_ResultSetFullQuantity [MAXIMUM_RESULTS]
 
float m_ResultSetQuantity [MAXIMUM_RESULTS]
 
float m_ResultSetHealth [MAXIMUM_RESULTS]
 
float m_ResultSpawnDistance [MAXIMUM_RESULTS]
 
int m_ResultToInventory [MAXIMUM_RESULTS]
 
int m_ResultInheritsHealth [MAXIMUM_RESULTS]
 
int m_ResultInheritsColor [MAXIMUM_RESULTS]
 
int m_ResultReplacesIngredient [MAXIMUM_RESULTS]
 
bool m_ResultUseSoftSkills [MAXIMUM_RESULTS]
 
float m_PercentageUsed = 0.05
 

Подробное описание

Конструктор(ы)

◆ RecipeBase()

void RecipeBase ( )
inlineprivate
55 {
56
57 for(int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
58 {
62 }
63
64 for(i = 0; i < MAXIMUM_RESULTS; i++)
65 {
67 }
68
70 //m_IsActionType = false;
71
72 m_Name = "RecipeBase default name";
73 m_RecipeUID = DayZPlayerConstants.CMD_ACTIONFB_CRAFTING;
74 Init();
75 }
const float DEFAULT_SPAWN_DISTANCE
Definition RecipeBase.c:3
const int MAXIMUM_RESULTS
Definition RecipeBase.c:2
const int MAX_NUMBER_OF_INGREDIENTS
Definition RecipeBase.c:1
Definition EntityAI.c:95
void Init()
string m_Name
Definition RecipeBase.c:18
ref array< string > m_SoundCategories[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:8
ref array< string > m_Ingredients[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:7
int m_NumberOfResults
Definition RecipeBase.c:21
float m_ResultSpawnDistance[MAXIMUM_RESULTS]
Definition RecipeBase.c:45
int m_RecipeUID
Definition RecipeBase.c:22
ItemBase m_IngredientsSorted[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:12
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:602

Перекрестные ссылки DEFAULT_SPAWN_DISTANCE, Init(), m_Ingredients, m_IngredientsSorted, m_Name, m_NumberOfResults, m_RecipeUID, m_ResultSpawnDistance, m_SoundCategories, MAX_NUMBER_OF_INGREDIENTS и MAXIMUM_RESULTS.

Методы

◆ AddResult()

void AddResult ( string item)
inlineprivate
165 {
168 }
string m_ItemsToCreate[MAXIMUM_RESULTS]
Definition RecipeBase.c:6

Перекрестные ссылки m_ItemsToCreate и m_NumberOfResults.

Используется в CraftDrysackBag::Init(), CraftTorch::Init() и CraftWitchHoodCoif::Init().

◆ ApplyModificationsIngredients()

void ApplyModificationsIngredients ( ItemBase sorted[],
PlayerBase player )
inlineprivate
353 {
354 //---------------------- ingredients ----------------------
355 for(int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
356 {
357 ItemBase ingredient = sorted[i];
358
359 if( m_IngredientDestroy[i] == 1 )//<------m_IngredientDestroy
360 {
362 //ingredient.Delete();
363 //sorted[i] = NULL;
364 }
365 else
366 {
367 if( m_IngredientAddHealth[i] != 0 )//<------m_IngredientAddHealth
368 {
370 ingredient.AddHealth("","",health_delta);
371 }
372 else if(m_IngredientSetHealth[i] != -1)//<------m_IngredientSetHealth
373 {
375 ingredient.SetHealth("","",new_health);
376 }
377 if( m_IngredientAddQuantity[i] != 0 )//<------m_IngredientAddQuantity
378 {
380
381 if( !ingredient.IsMagazine() )
382 {
383 ItemBase obj = ingredient;
384 bool isDestroyed = obj.AddQuantity(quantity_delta, true);
385 if( isDestroyed )
386 {
387 //if (obj) m_IngredientsToBeDeleted.Insert(obj);
388 continue;
389 }
390 }
391 else
392 {
394 int newQuantity = mag.GetAmmoCount() + quantity_delta;
395 if( newQuantity <= 0 )
396 {
397 if(mag) m_IngredientsToBeDeleted.Insert(mag);
398 continue;
399 }
400 else
401 {
402 mag.ServerSetAmmoCount( newQuantity );
403 }
404 }
405 }
406 }
407 }
408 }
Definition InventoryItem.c:731
float m_IngredientAddHealth[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:36
float m_IngredientSetHealth[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:38
ref array< ItemBase > m_IngredientsToBeDeleted
Definition RecipeBase.c:17
float m_IngredientAddQuantity[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:37
bool m_IngredientDestroy[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:39

Перекрестные ссылки m_IngredientAddHealth, m_IngredientAddQuantity, m_IngredientDestroy, m_IngredientSetHealth, m_IngredientsToBeDeleted и MAX_NUMBER_OF_INGREDIENTS.

Используется в PerformRecipe().

◆ ApplyModificationsResults()

void ApplyModificationsResults ( ItemBase sorted[],
array< ItemBase > results,
ItemBase result,
PlayerBase player )
inlineprivate
246 {
247 float all_ingredients_health = 0;//this is used later in results
248 float all_ingredients_health01 = 0;//combined damage % of ingredients
249 int value_delta;
250 for(int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
251 {
252 ItemBase ingrd = ItemBase.Cast(sorted[i]);
253 all_ingredients_health += ingrd.GetHealth("", "");//accumulate health of all ingredients, used in results
254 all_ingredients_health01 += ingrd.GetHealth01("", "");
255 }
256 //------------------- results ----------------------
257 for(i = 0; i < m_NumberOfResults; i++)
258 {
259 ItemBase res = results.Get(i);
260 if(!res)
261 {
262 continue;
263 }
264
265 if( res.IsItemBase() )
266 {
268
269 ItemBase resIb = ItemBase.Cast(res);
270
271 if( !resIb.IsMagazine() )//is not a magazine
272 {
273 if( m_ResultSetFullQuantity[i] == 1 )//<------m_ResultSetFullQuantity
274 {
275 resIb.SetQuantityMax();
276 }
277 else if( value_delta != -1 )//<------m_ResultSetQuantity
278 {
279 resIb.SetQuantity( value_delta );
280 }
281 }
282 else//is magazine
283 {
284 Magazine mgzn = Magazine.Cast(resIb);
285 if( m_ResultSetFullQuantity[i] == 1 )//<------m_ResultSetFullQuantity
286 {
287 mgzn.ServerSetAmmoMax();
288 }
289 else if( value_delta != -1 )//<------m_ResultSetQuantity
290 {
291 mgzn.ServerSetAmmoCount( value_delta );
292 }
293 }
294 }
295 if( m_ResultSetHealth[i] != -1 )//<------m_ResultSetHealth
296 {
298 res.SetHealth("","",value_delta);
299 }
300 if( m_ResultInheritsHealth[i] != -1 )//<------m_ResultInheritsHealth
301 {
302 if( m_ResultInheritsHealth[i] >= 0 )
303 {
305 ItemBase ing = sorted[ing_number];
306
307 if( ing )
308 {
309 //float ing_health = ing.GetHealth("","");
310 float ing_health01 = ing.GetHealth01("","");
311 res.SetHealth("", "", ing_health01 * res.GetMaxHealth("",""));
312 Debug.Log("Inheriting health from ingredient:"+m_ResultInheritsHealth[i].ToString(),"recipes");
313 }
314 }
315 else if( m_ResultInheritsHealth[i] == -2 )
316 {
317 //float average_health = all_ingredients_health / MAX_NUMBER_OF_INGREDIENTS;
319 res.SetHealth("", "", average_health01 * res.GetMaxHealth("",""));
320 }
321 }
322
323 if( m_ResultReplacesIngredient[i] != -1 )//<------ResultReplacesIngredient
324 {
325 if( m_ResultReplacesIngredient[i] > -1 )
326 {
328 ItemBase ingr = sorted[ing_num];
329
330 if( ingr )
331 {
332 MiscGameplayFunctions.TransferItemProperties(ingr, res);
333 MiscGameplayFunctions.TransferInventory(ingr, res, player);
334 }
335 }
336 }
337 }
338 }
proto string ToString()
Definition Debug.c:14
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
Definition Debug.c:136
int m_ResultReplacesIngredient[MAXIMUM_RESULTS]
Definition RecipeBase.c:49
int m_ResultInheritsHealth[MAXIMUM_RESULTS]
Definition RecipeBase.c:47
float m_ResultSetQuantity[MAXIMUM_RESULTS]
Definition RecipeBase.c:43
bool m_ResultSetFullQuantity[MAXIMUM_RESULTS]
Definition RecipeBase.c:42
float m_ResultSetHealth[MAXIMUM_RESULTS]
Definition RecipeBase.c:44

Перекрестные ссылки Debug::Log(), m_NumberOfResults, m_ResultInheritsHealth, m_ResultReplacesIngredient, m_ResultSetFullQuantity, m_ResultSetHealth, m_ResultSetQuantity, MAX_NUMBER_OF_INGREDIENTS и ToString().

Используется в PerformRecipe().

◆ ApplySoftSkillsSpecialty()

void ApplySoftSkillsSpecialty ( PlayerBase player)
inlineprivate
539 {
540 }

◆ CanDo() [1/199]

bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
543 {
544 //Debug.Log("Called Can Do on a recipe id:" + m_ID.ToString(),"recipes");
545 for ( int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
546 {
547 if (ingredients[i].GetInventory() && ingredients[i].GetInventory().AttachmentCount() > 0)
548 return false;
549 }
550
551 return true;
552 }

Перекрестные ссылки MAX_NUMBER_OF_INGREDIENTS.

Используется в CheckRecipe().

◆ CanDo() [2/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
62
63 if( ingredient1.IsEmpty() && ingredient2.IsEmpty() )
64 {
65 return true;
66 }
67 else
68 {
69 return false;
70 }
71 }

◆ CanDo() [3/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
62
63 if( ingredient1.IsEmpty() && ingredient2.IsEmpty() )
64 {
65 return true;
66 }
67 else
68 {
69 return false;
70 }
71 }

◆ CanDo() [4/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
62
63 if( ingredient1.IsEmpty() && ingredient2.IsEmpty() )
64 {
65 return true;
66 }
67 else
68 {
69 return false;
70 }
71 }

◆ CanDo() [5/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
62
63 if( ingredient1.IsEmpty() && ingredient2.IsEmpty() )
64 {
65 return true;
66 }
67 else
68 {
69 return false;
70 }
71 }

◆ CanDo() [6/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [7/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
68 {
69 return ingredients[1].GetQuantity() > 0;
70 }

◆ CanDo() [8/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
66 {
71
72 if ( (container.GetLiquidType() & LIQUID_WATER) && container.GetQuantity() > 0 && rags.GetHealthLevel() > 1)
73 {
74 return true;
75 }
76 else
77 {
78 return false;
79 }
80 }
Super root of all classes in Enforce script.
Definition EnScript.c:11
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
const int LIQUID_WATER
Definition constants.c:518

Перекрестные ссылки Class::CastTo() и LIQUID_WATER.

◆ CanDo() [9/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
64 {
72 }
PluginBase GetPlugin(typename plugin_type)
Definition PluginManager.c:316

Перекрестные ссылки Class::CastTo() и GetPlugin().

◆ CanDo() [10/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
37 {
39 return brfcs.IsOpen();
40 }
Definition ScientificBriefcase.c:2

◆ CanDo() [11/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
100 {
101 return ingredients[0].IsEmpty();
102 }

◆ CanDo() [12/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
54 {
55 return true;
56 }

◆ CanDo() [13/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
124 {
125 return ingredients[0].IsEmpty();
126 }

◆ CanDo() [14/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
58 {
59 return true;
60 }

◆ CanDo() [15/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [16/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [17/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
56 {
57 return true;
58 }

◆ CanDo() [18/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [19/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [20/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
86 {
87 return true;
88 }

◆ CanDo() [21/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
61 return true;
62 }

◆ CanDo() [22/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
62
63 if( ingredient2.IsEmpty() )
64 {
65 return true;
66 }
67 else
68 {
69 return false;
70 }
71 }

◆ CanDo() [23/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
81 {
82 return true;
83 }

◆ CanDo() [24/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
61
62 if( ingredient2.IsEmpty() )
63 {
64 return true;
65 }
66 else
67 {
68 return false;
69 }
70 }

◆ CanDo() [25/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 if(ingredients[1].IsEmpty())
63 {
64 return true;
65 }
66
67 return false;
68 }
override bool IsEmpty()
Definition FireplaceBase.c:2433

Перекрестные ссылки IsEmpty().

◆ CanDo() [26/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
61 return true;
62 }

◆ CanDo() [27/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
85 {
87 if( ingredient2.ConfigGetFloat("featherQuantity") > 0 && ingredient2.IsEmpty())
88 {
89 return true;
90 }
91 else
92 {
93 return false;
94 }
95 }

◆ CanDo() [28/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
55 {
56 if ( ingredients[0].GetInventory().IsAttachment() )
57 return false;
58 if ( ingredients[1].GetInventory().IsAttachment() )
59 return false;
60 return true;
61 }

◆ CanDo() [29/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
75 {
78
79 if ( ingredient1.Type() == ingredient2.Type() || ingredient1.GetInventory().GetSlotId(0) == ingredient2.GetInventory().GetSlotId(0) )
80 {
81 return false;
82 }
83
84 return true;
85 }

◆ CanDo() [30/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63
64 if( ingredient2.IsEmpty() )
65 {
66 return true;
67 }
68 else
69 {
70 return false;
71 }
72 }

◆ CanDo() [31/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [32/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [33/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [34/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [35/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [36/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [37/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [38/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [39/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
81 {
82 return true;
83 }

◆ CanDo() [40/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [41/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 if (ingredients[1].IsEmpty())
61 {
62 return true;
63 }
64 return false;
65 }

Перекрестные ссылки IsEmpty().

◆ CanDo() [42/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
61 return ingredients[0].IsEmpty();
62 }

◆ CanDo() [43/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 if (ingredients[1].IsEmpty())
61 {
62 return true;
63 }
64 return false;
65 }

Перекрестные ссылки IsEmpty().

◆ CanDo() [44/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
61 return true;
62 }

◆ CanDo() [45/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
57 {
58 return true;
59 }

◆ CanDo() [46/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
61 return super.CanDo(ingredients, player);
62 }

◆ CanDo() [47/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
61 //turned off for beta
62 return true;
63 }

◆ CanDo() [48/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
85 {
87 if( ingredient2.ConfigGetFloat("ragQuantity") > 0 && ingredient2.IsEmpty())
88 {
89 return true;
90 }
91 else
92 {
93 return false;
94 }
95 }

◆ CanDo() [49/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [50/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [51/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
61 if ( ingredients[0].GetInventory().IsAttachment() )
62 return false;
63 if ( ingredients[1].GetInventory().IsAttachment() )
64 return false;
65 return true;
66 }

◆ CanDo() [52/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
82 {
83 return true;
84 }

◆ CanDo() [53/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
62
63 if(stick.GetInventory().AttachmentCount() == 0)
64 {
65 return true;
66 }
67 return false;
68 }

◆ CanDo() [54/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
62
63 if(stick.GetInventory().AttachmentCount() == 0)
64 {
65 return true;
66 }
67 return false;
68 }

◆ CanDo() [55/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
64 {
66 if (ingredient1.Type() == BandageDressing)
67 {
68 if (ingredient1.GetQuantity() == ingredient1.GetQuantityMax())
69 {
70 return true;
71 }
72 return false;
73 }
74
75 if (ingredient1.Type() == Rag)
76 {
77 if (ingredient1.GetQuantity() >= 4)
78 return true;
79
80 return false;
81 }
82
83 if (ingredient1.Type() == DuctTape)
84 {
85 if (ingredient1.GetQuantity() >= (ingredient1.GetQuantityMax()/2))
86 return true;
87
88 return false;
89 }
90
91 return true;
92 }
Definition consumables.c:142

◆ CanDo() [56/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
62 {
63 return true;
64 }

◆ CanDo() [57/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [58/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
50 {
51
52 //return true;
53 Pelt_Base ingredient1 = Pelt_Base.Cast(ingredients[0]);
54 ItemBase ingredient2 = ingredients[1]; //The garden lime
55
56 //Evaluate the amount of Lime required to craft leather from Pelt (percentage based)
57 float yieldQuantity = ingredient1.ConfigGetFloat("leatherYield");
58 float qtyModifier = (4 - ingredient1.GetHealthLevel(""))/4; // Normalize the health level so Pristine is 1 and Ruined is 0. Necessary like this on CLIENT
60
61 float m_NeededQuantity = (ingredient2.GetQuantityMax() * m_PercentageUsed) * yieldQuantity;
62 if( ingredient1.ConfigGetFloat("leatherYield") >= 0 && ingredient2.GetQuantity() >= m_NeededQuantity)
63 {
64 return true;
65 }
66 else
67 {
68 return false;
69 }
70
71 }
const int MAX
Definition EnConvert.c:27
Definition EnMath.c:7
float m_PercentageUsed
Definition CraftTannedLeather.c:3
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.

Перекрестные ссылки Math::Clamp() и MAX.

◆ CanDo() [59/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
61 /*int slot_id_junk;
62 string slot_string;
63 if ( ingredients[0].GetInventory().GetCurrentAttachmentSlotInfo(slot_id_junk,slot_string) )
64 {
65 return false;
66 }
67 if ( ingredients[1].GetInventory().GetCurrentAttachmentSlotInfo(slot_id_junk,slot_string) )
68 {
69 return false;
70 }*/
71 if ( ingredients[0].GetInventory().IsAttachment() )
72 return false;
73 if ( ingredients[1].GetInventory().IsAttachment() )
74 return false;
75
76 return true;
77 }

◆ CanDo() [60/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [61/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
62
63 if (!ingredient1 || !ingredient2)
64 return false;
65
66 if ( !ingredient1.GetHierarchyParent() || ingredient1.GetHierarchyParent() == ingredient1.GetHierarchyRootPlayer() )
67 {
68 if ( !ingredient2.GetHierarchyParent() || ingredient2.GetHierarchyParent() == ingredient2.GetHierarchyRootPlayer() )
69 return true;
70 else
71 return false;
72 }
73 else
74 {
75 return false;
76 }
77 }

◆ CanDo() [62/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
61 if ( ingredients[0].GetInventory().IsAttachment() )
62 return false;
63 if ( ingredients[1].GetInventory().IsAttachment() )
64 return false;
65 return true;
66 }

◆ CanDo() [63/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [64/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
91 {
92 return true;
93 }

◆ CanDo() [65/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
55 {
56 return true;
57 }

◆ CanDo() [66/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
9 {
10 return true;
11 }

◆ CanDo() [67/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
81 {
82 return true;
83 }

◆ CanDo() [68/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
88 {
89 return true;
90 }

◆ CanDo() [69/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
100 {
101 return true;
102 }

◆ CanDo() [70/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
108 {
110
111 if( ingredient1.IsEmpty())
112 {
113 return true;
114 }
115 else
116 {
117 return false;
118 }
119 }

◆ CanDo() [71/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
96 {
98
99 if( ingredient1.IsEmpty())
100 {
101 return true;
102 }
103 else
104 {
105 return false;
106 }
107 }

◆ CanDo() [72/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
96 {
98
99 if( ingredient1.IsEmpty())
100 {
101 return true;
102 }
103 else
104 {
105 return false;
106 }
107 }

◆ CanDo() [73/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
88 {
89 return true;
90 }

◆ CanDo() [74/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
99 {
100 return ingredients[0].IsEmpty();
101 }

◆ CanDo() [75/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [76/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
98 {
99 return ingredients[0].IsEmpty();
100 }

◆ CanDo() [77/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
97 {
98 // We don't allow dismantling if there is an item attached
99 return ingredients[0].GetInventory().AttachmentCount() == 0;
100 }

◆ CanDo() [78/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
99 {
100 return true;
101 }

◆ CanDo() [79/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
100 {
101 return true;
102 }

◆ CanDo() [80/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
100 {
101 return true;
102 }

◆ CanDo() [81/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
99 {
100 return true;
101 }

◆ CanDo() [82/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
100 {
101 return true;
102 }

◆ CanDo() [83/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
88 {
89 return true;
90 }

◆ CanDo() [84/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
99 {
100 return ingredients[0].IsEmpty();
101 }

◆ CanDo() [85/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
99 {
100 return ingredients[0].IsEmpty();
101 }

◆ CanDo() [86/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
99 {
100 return ingredients[0].IsEmpty();
101 }

◆ CanDo() [87/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
84 {
85 return ingredients[0].IsEmpty();
86 }

◆ CanDo() [88/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
88 {
89 return ingredients[0].GetInventory().AttachmentCount() == 0;
90 }

◆ CanDo() [89/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
88 {
89 return true;
90 }

◆ CanDo() [90/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
88 {
89 return true;
90 }

◆ CanDo() [91/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
88 {
89 // We don't allow dismantling if there is an item attached
90 return ingredients[0].GetInventory().AttachmentCount() == 0;
91 }

◆ CanDo() [92/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
75 {
77
78 if ( !ingredient1.GetHierarchyParent() )
79 return true;
80 else
81 return false;
82 }

◆ CanDo() [93/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
75 {
78
79 if ( crate.GetInventory().CountInventory() > 1 )
80 return false;
81
82 return true;
83 }

Перекрестные ссылки Class::CastTo().

◆ CanDo() [94/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
64
65
66 if ( !ingredient2.CanBeDisinfected() )
67 return false;
68
69 if ( ingredient1.GetQuantity() < ingredient1.GetDisinfectQuantity() )
70 {
71 return false;
72 }
73
74
75 int liquid_type = ingredient1.GetLiquidType();
77 }
const int LIQUID_DISINFECTANT
Definition constants.c:524

Перекрестные ссылки LIQUID_DISINFECTANT.

◆ CanDo() [95/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
73 {
78
81
82 ItemBase entity_in_hands = ItemBase.Cast(player.GetHumanInventory().GetEntityInHands());
83
84 //condition always true for any bottle, another recipe needed for pouring TO handheld bottle
86 {
87 return Liquid.CanTransfer(ingredient2,ingredient1);
88 }
89 else
90 {
91 return Liquid.CanTransfer(ingredient1,ingredient2);
92 }
93 }

Перекрестные ссылки Class::CastTo().

◆ CanDo() [96/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
68 {
72
73 if ( container.GetLiquidType() & (GROUP_LIQUID_BLOOD | LIQUID_WATER | LIQUID_BEER) )
74 {
75 return target.IsIgnited();
76 }
77 return false;
78 }
Definition Torch.c:2
const int GROUP_LIQUID_BLOOD
Definition constants.c:537
const int LIQUID_BEER
Definition constants.c:521

Перекрестные ссылки Class::CastTo(), GROUP_LIQUID_BLOOD, LIQUID_BEER и LIQUID_WATER.

◆ CanDo() [97/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63
64 //Do not fill alread full filters
65 if(filter.GetQuantity() >= filter.GetQuantityMax())
66 {
67 return false;
68 }
69
70 // Check if not attached to a gas mask
72 filter.GetInventory().GetCurrentInventoryLocation(il);
73 EntityAI inv = il.GetParent();
74
75 if(inv != null)
76 {
77 if (inv.GetType() == "GP5GasMask" || inv.GetType() == "AirborneMask")
78 {
79 return false;
80 }
81 }
82
83 return true;
84 }
Definition Building.c:6
InventoryLocation.
Definition InventoryLocation.c:29

◆ CanDo() [98/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [99/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
67 {
70 int liquid_type = container.GetLiquidType();
72 }
const int LIQUID_GASOLINE
Definition constants.c:522

Перекрестные ссылки Class::CastTo() и LIQUID_GASOLINE.

◆ CanDo() [100/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
82 {
83 if( ingredients[0].IsKindOf("Ammunition_Base") && ingredients[1].IsKindOf("Ammunition_Base") )
84 {
85 return false;
86 }
87 else return true;
88
89 }

◆ CanDo() [101/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
109 {
110 if ( player.IsPlacingLocal() )
111 return false;
112
113 return true;
114 }

◆ CanDo() [102/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
37 {
39 return !brfcs.IsOpen();
40 }

◆ CanDo() [103/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
62 }
Definition PaintItem.c:2
static bool CanPaintItem(ItemBase item_tool, ItemBase item_target)
Definition PaintItem.c:13

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [104/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [105/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
61 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [106/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [107/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [108/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [109/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [110/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [111/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [112/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [113/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [114/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [115/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [116/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [117/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [118/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [119/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [120/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [121/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [122/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [123/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [124/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [125/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [126/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [127/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [128/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [129/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [130/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [131/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [132/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [133/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [134/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [135/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [136/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [137/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [138/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [139/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [140/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [141/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [142/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [143/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [144/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [145/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [146/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [147/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [148/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [149/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [150/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [151/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [152/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [153/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [154/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [155/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
64 {
66 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [156/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [157/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [158/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [159/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [160/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [161/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [162/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 return true;
63 }

◆ CanDo() [163/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [164/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
63 }

Перекрестные ссылки PaintItem::CanPaintItem().

◆ CanDo() [165/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate

◆ CanDo() [166/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
82 {
83 return true;
84 }

◆ CanDo() [167/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
78 {
79 //HACK: until server-> client syncing of "LocalDropEntity" gets sortet out
80 ItemBase parent = ingredients[0];
81 if (parent.IsEmpty())
82 return true;
83 return false;
84 //return true;
85 }

◆ CanDo() [168/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
73 {
78
81
82 ItemBase entity_in_hands = ItemBase.Cast(player.GetHumanInventory().GetEntityInHands());
83
84 //condition always true for any bottle, another recipe needed for pouring TO handheld bottle
86 {
87 return Liquid.CanTransfer(ingredient1,ingredient2);
88 }
89 else
90 {
91 return Liquid.CanTransfer(ingredient2,ingredient1);
92 }
93 }

Перекрестные ссылки Class::CastTo().

◆ CanDo() [169/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
58 {
59 return true;
60 }

◆ CanDo() [170/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
57 {
58 return true;
59 }

◆ CanDo() [171/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
68 {
69 return ingredients[1].GetQuantity() > 0;
70 }

◆ CanDo() [172/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
61 {
62 Rag rag = Rag.Cast(ingredients[0]);
63 Torch torch = Torch.Cast(ingredients[1]);
64
65 if (!rag || !torch)
66 return false;
67
68 Rag rag_on_torch = Rag.Cast( torch.GetInventory().FindAttachment( rag.GetInventory().GetSlotId(0) ) );
69
70 if (rag_on_torch) // Check if torch already has rag with 100% quantity
71 {
72 if (rag_on_torch.GetQuantity() == rag_on_torch.GetQuantityMax() )
73 {
74 return false;
75 }
76 }
77
78 return true;
79 }

◆ CanDo() [173/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate

◆ CanDo() [174/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate

◆ CanDo() [175/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
62 {
65
66 if(ingrRag.GetHealthLevel() >= ingrEP.GetHealthLevel())
67 return false;
68
69 return true;
70 }

◆ CanDo() [176/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
65 {
66 return true;
67 }

◆ CanDo() [177/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
67 {
68 return true;
69 }

◆ CanDo() [178/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate

◆ CanDo() [179/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
44 {
45 return true;
46 }

◆ CanDo() [180/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
44 {
45 return true;
46 }

◆ CanDo() [181/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
42 {
43 //check may seem redundandt, but recipe works on "SawedoffIzh18" without it (it should not)
46 if ( ingredient1.GetType() == "SawedoffIzh18" )
47 {
48 return false;
49 }
50 else if ( ingredient1.GetType() == "Izh18" )
51 {
52 return true;
53 }
54 else
55 {
56 return false;
57 }
58 }

Перекрестные ссылки Class::CastTo().

◆ CanDo() [182/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
44 {
45 //check may seem redundandt, but recipe works on "SawedoffIzh18" without it (it should not)
48 if ( ingredient1.GetType() == "SawedoffIzh18Shotgun" )
49 {
50 return false;
51 }
52 else if ( ingredient1.GetType() == "Izh18Shotgun" )
53 {
54 return true;
55 }
56 else
57 {
58 return false;
59 }
60 }

Перекрестные ссылки Class::CastTo().

◆ CanDo() [183/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
45 {
46 return true;
47 }

◆ CanDo() [184/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
44 {
45 return true;
46 }

◆ CanDo() [185/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
46 {
47 return true;
48 }

◆ CanDo() [186/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
45 {
46 return true;
47 }

◆ CanDo() [187/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
80 {
81 return true;
82 }

◆ CanDo() [188/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
94 {
96
97 if (broom.GetCompEM().IsWorking())
98 {
99 return false;
100 }
101 return true;
102 }

◆ CanDo() [189/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
82 {
83 return true;
84 }

◆ CanDo() [190/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate

◆ CanDo() [191/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
79 {
80 return true;
81 }

◆ CanDo() [192/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
100 {
102
103
104 if (broom.GetCompEM().IsWorking())
105 {
106 return false;
107 }
108
109 if ( broom.IsEmpty() )
110 {
111 return true;
112 }
113 return false;
114
115 }

◆ CanDo() [193/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 return true;
61 }

◆ CanDo() [194/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
88 {
90
91 if ( ingredient1.IsEmpty() )
92 {
93 return true;
94 }
95 else
96 {
97 return false;
98 }
99 }

◆ CanDo() [195/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
86 {
87 return true;
88 }

◆ CanDo() [196/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
76 {
77 return true;
78 }

◆ CanDo() [197/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
59 {
60 FlammableBase item = Torch.Cast(ingredients[1]);
61 if (item)
62 {
63 return item.CanReceiveUpgrade();
64 }
65 return false;
66 }

◆ CanDo() [198/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
60 {
62 FlammableBase item = Torch.Cast(ingredients[1]);
63
64 if (item && vessel && vessel.GetQuantity() > 0 && vessel.IsLiquidContainer()) // Check if torch already has rag and if vessel has liquid in it
65 {
66 if (vessel.GetLiquidType() == LIQUID_GASOLINE || vessel.GetLiquidType() == LIQUID_DIESEL)
67 {
68 return item.CanReceiveUpgrade();
69 }
70 }
71
72 return false;
73 }
const int LIQUID_DIESEL
Definition constants.c:523

Перекрестные ссылки LIQUID_DIESEL и LIQUID_GASOLINE.

◆ CanDo() [199/199]

override bool CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprivate
62 {
63 //probably should be limited by number/length of strings already present, or worsening condition of the paper in question?
64 return true;
65 }

◆ CheckConditions()

bool CheckConditions ( ItemBase sorted[])
inlineprivate
412 {
413 for(int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
414 {
415 ItemBase ingredient = sorted[i];
416 if( !ingredient.IsMagazine() )
417 {
418 if( ingredient.GetQuantityMax() !=0 && m_MinQuantityIngredient[i] >= 0 && ingredient.GetQuantity() < m_MinQuantityIngredient[i] )
419 {
420 //Debug.Log("Recipe condition check failing1: m_MinQuantityIngredient","recipes");
421 return false;
422 }
423 if( m_MaxQuantityIngredient[i] >= 0 && ingredient.GetQuantity() > m_MaxQuantityIngredient[i] )
424 {
425 //Debug.Log("Recipe condition check failing1: m_MaxQuantityIngredient","recipes");
426 return false;
427 }
428 }
429 else
430 {
432 if( m_MinQuantityIngredient[i] >= 0 && mag1.GetAmmoCount() < m_MinQuantityIngredient[i] )
433 {
434 //Debug.Log("Recipe condition check failing1: m_MinQuantityIngredient[0]","recipes");
435 return false;
436 }
437 if( m_MaxQuantityIngredient[i] >= 0 && mag1.GetAmmoCount() > m_MaxQuantityIngredient[i] )
438 {
439 //Debug.Log("Recipe condition check failing1: m_MaxQuantityIngredient[0]","recipes");
440 return false;
441 }
442 }
443 int dmg3 = ingredient.GetHealthLevel();
444 if( m_MinDamageIngredient[i] >= 0 && ingredient.GetHealthLevel() < m_MinDamageIngredient[i] )
445 {
446 int dmg = ingredient.GetHealthLevel();
447 //Debug.Log("Recipe condition check failing1: m_MinDamageIngredient[0]","recipes");
448 return false;
449 }
450 if( m_MaxDamageIngredient[i] >= 0 && ingredient.GetHealthLevel() > m_MaxDamageIngredient[i] )
451 {
452 int dmg2 = ingredient.GetHealthLevel();
453 //Debug.Log("Recipe condition check failing1: m_MaxDamageIngredient[0]","recipes");
454 return false;
455 }
456 }
457 return true;
458 }
float m_MinDamageIngredient[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:32
float m_MaxQuantityIngredient[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:31
float m_MaxDamageIngredient[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:33
float m_MinQuantityIngredient[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:30

Перекрестные ссылки m_MaxDamageIngredient, m_MaxQuantityIngredient, m_MinDamageIngredient, m_MinQuantityIngredient и MAX_NUMBER_OF_INGREDIENTS.

Используется в CheckRecipe().

◆ CheckIngredientMatch()

bool CheckIngredientMatch ( ItemBase item1,
ItemBase item2 )
inlineprivate
95 {
96 if( item1 == NULL || item2 == NULL ) return false;
97
98 m_Items[0] = item1;
99 m_Items[1] = item2;
100
101 bool found = false;
102 for(int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)//all ingredients
103 {
104 found = false;
106 for(int x = 0; x < tempArray.Count(); x++)//particular ingredient array
107 {
108 for(int z = 0; z < MAX_NUMBER_OF_INGREDIENTS; z++)
109 {
110 if( m_Items[z] != NULL )
111 {
112 ItemBase item = m_Items[z];
113 if( tempArray.Get(x) == item.GetType() || GetGame().IsKindOf(item.GetType(),tempArray.Get(x)))
114 {
115 found = true;//we found a match
116 //m_IngredientsSorted.Insert(item);
118 m_Items[z] = NULL;
119 }
120 }
121 if(found) break;//we found a match, no need to check the remaining ingredients
122 }
123 if(found) break;//we found a match, no need to check this m_Ingredient array
124 }
125 if(!found) return false;// no match within an m_Ingredient array, no reason to continue the search, recipe is invalid
126 }
127 if(found)
128 {
129 return true;
130 }
131 else
132 {
133 return false;
134 }
135 }
Icon x
ItemBase m_Items[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:10
proto native CGame GetGame()

Перекрестные ссылки GetGame(), m_Ingredients, m_IngredientsSorted, m_Items, MAX_NUMBER_OF_INGREDIENTS и x.

◆ CheckRecipe()

bool CheckRecipe ( ItemBase item1,
ItemBase item2,
PlayerBase player )
inlineprivate
462 {
463 if( item1 == NULL || item2 == NULL )
464 {
465 Error("recipe invalid, at least one of the ingredients is NULL");
466 return false;
467 }
468
469 ItemBase item_in_hand = player.GetItemInHands();
470
472 {
473 return false;
474 }
475
478
480 {
481 return true;
482 }
483 return false;
484 }
bool CanDo(ItemBase ingredients[], PlayerBase player)
Definition RecipeBase.c:542
bool IsRecipeAnywhere()
Definition RecipeBase.c:89
bool CheckConditions(ItemBase sorted[])
Definition RecipeBase.c:411
void Error(string err)
Messagebox with error message.
Definition EnDebug.c:90

Перекрестные ссылки CanDo(), CheckConditions(), Error(), IsRecipeAnywhere() и m_IngredientsSorted.

Используется в PerformRecipe().

◆ DeleleIngredientsPass()

void DeleleIngredientsPass ( )
inlineprivate
342 {
343 for(int i = 0; i < m_IngredientsToBeDeleted.Count(); i++)
344 {
346 ingredient.Delete();
347 }
349 }

Перекрестные ссылки m_IngredientsToBeDeleted.

Используется в PerformRecipe().

◆ Do() [1/201]

void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
555 {
556 //Debug.Log("Called Do on a recipe id:" + m_ID.ToString(),"recipes");
557 }

Используется в PerformRecipe().

◆ Do() [2/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
74 {
75 Debug.Log("Recipe Do method called","recipes");
76 }

Перекрестные ссылки Debug::Log().

◆ Do() [3/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
74 {
75 Debug.Log("Recipe Do method called","recipes");
76 }

Перекрестные ссылки Debug::Log().

◆ Do() [4/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
74 {
75 Debug.Log("Recipe Do method called","recipes");
76 }

Перекрестные ссылки Debug::Log().

◆ Do() [5/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
74 {
75 Debug.Log("Recipe Do method called","recipes");
76 }

Перекрестные ссылки Debug::Log().

◆ Do() [6/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
69 string type;
70 bool positive
71 string blood_type_name = BloodTypes.GetBloodTypeName(ingredient2.GetLiquidType(), type, positive);
72 string message = "#blood_type_result " + blood_type_name;
76 blood_container.SetBloodTypeVisible( true );
77 }
Definition BloodBagEmpty.c:2
Definition BloodType.c:2
static string GetBloodTypeName(int bloodtype, out string type, out bool positive)
Definition BloodType.c:89
Definition PlayerBaseClient.c:2

Перекрестные ссылки Class::CastTo() и BloodTypes::GetBloodTypeName().

◆ Do() [7/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
73 {
75 ingredient2.RemoveAllAgents();
76 }

◆ Do() [8/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
83 {
84 /*
85 this function will clean the rags and consume the appropriate amount of cleaning liquid,
86 if there is insufficient liquid to cover the "repair", the rags will only repair proportionally
87 */
88 //TODO implement SS 2.0 to amount of liquid used
93
94 float rags_health = rags.GetHealth("","");
95 int rags_quantity = rags.GetQuantity();
96
98
99 int liquid_quantity = container.GetQuantity();
101
102 float used_ratio = 0;
103 float heal = 0;
104
106 {
107 container.AddQuantity(-liquid_required);
109 }
110 else
111 {
112 container.SetQuantity(0);
115
116 }
117 heal = Math.Clamp(heal, 0, (70 - rags_health));
118 rags.AddHealth("", "",heal);
119 /*
120 Debug.Log("liquid_quantity: "+ToString(liquid_quantity),"recipes");
121 Debug.Log("used_ratio: "+ToString(used_ratio),"recipes");
122 Debug.Log("rags_combined_damage: "+ToString(rags_combined_damage),"recipes");
123 Debug.Log("liquid_required: "+ToString(liquid_required),"recipes");
124 Debug.Log("healing applied: "+ToString(heal),"recipes");
125 */
126
127 /*
128 PluginTransmissionAgents mta = GetPlugin(PluginTransmissionAgents);
129 mta.RemoveAllAgents(rags);
130 */
131 }

Перекрестные ссылки Class::CastTo() и Math::Clamp().

◆ Do() [9/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate

◆ Do() [10/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
43 {
45 brfcs.Close();
46 }

◆ Do() [11/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
106 {
107
108 }

◆ Do() [12/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
60 {
61 Debug.Log("Recipe Do method called","recipes");
62 }

Перекрестные ссылки Debug::Log().

◆ Do() [13/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
130 {
131
132 }

◆ Do() [14/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
63 {
64 Debug.Log("Recipe Do method called","recipes");
65 }

Перекрестные ссылки Debug::Log().

◆ Do() [15/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [16/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [17/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
57 {
58 ItemBase gloves = ItemBase.Cast(player.FindAttachmentBySlotName("Gloves"));
59 if ( gloves && !gloves.IsDamageDestroyed() )
60 return;
61
62 int rand = Math.RandomIntInclusive(0,9);
63 if ( rand == 0 )
64 {
66 if ( rand == 0 && !player.GetBleedingManagerServer().AttemptAddBleedingSourceBySelection("LeftForeArmRoll") )
67 {
68 player.GetBleedingManagerServer().AttemptAddBleedingSourceBySelection("RightForeArmRoll");
69 }
70 else if ( rand == 1 && !player.GetBleedingManagerServer().AttemptAddBleedingSourceBySelection("RightForeArmRoll") )
71 {
72 player.GetBleedingManagerServer().AttemptAddBleedingSourceBySelection("LeftForeArmRoll");
73 }
74 }
75 }
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].
Definition EnMath.c:54

Перекрестные ссылки Math::RandomIntInclusive().

◆ Do() [18/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
68 Class.CastTo(result, results.Get(0));
69
71
73 {
74 if ( bloodBag.GetBloodTypeVisible() )
75 BloodContainerBase.Cast(result).SetBloodTypeVisible( true );
76 }
77
78 if( result)
79 MiscGameplayFunctions.TransferItemProperties(ingredient2,result, true, true, false, true);
80 }

Перекрестные ссылки Class::CastTo().

◆ Do() [19/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [20/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
91 {
92 Debug.Log("Recipe Do method called","recipes");
93 }

Перекрестные ссылки Debug::Log().

◆ Do() [21/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
65 {
69 Class.CastTo(result, results.Get(0));
70 MiscGameplayFunctions.TransferItemProperties(ingredient0,result, false, true, true, true);
71 }

Перекрестные ссылки Class::CastTo().

◆ Do() [22/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
74 {
75 Debug.Log("Recipe Do method called","recipes");
76 }

Перекрестные ссылки Debug::Log().

◆ Do() [23/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
87 {
88 Debug.Log("Recipe Do method called","recipes");
89 }

Перекрестные ссылки Debug::Log().

◆ Do() [24/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
73 {
74 Debug.Log("Recipe Do method called","recipes");
75 }

Перекрестные ссылки Debug::Log().

◆ Do() [25/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
71 {
72 Debug.Log("Recipe Do method called","recipes");
73 }

Перекрестные ссылки Debug::Log().

◆ Do() [26/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
65 {
66 Debug.Log("Recipe Do method called","recipes");
67 }

Перекрестные ссылки Debug::Log().

◆ Do() [27/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
99 {
101 Class.CastTo(result, results.Get(0));
103 int quantity = ingredient2.ConfigGetFloat("featherQuantity");
104
105 result.SetQuantity(quantity);
106 }

Перекрестные ссылки Class::CastTo().

◆ Do() [28/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
65 {
66 Debug.Log("Recipe Do method called","recipes");
67 }

Перекрестные ссылки Debug::Log().

◆ Do() [29/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
88 {
89 ItemBase result = ItemBase.Cast( results.Get( 0 ) );
92
93 //clear inventory reservation
94 if ( !GetGame().IsMultiplayer() )
95 {
97 ingredient1.GetInventory().GetCurrentInventoryLocation( loc );
98 player.GetInventory().ClearInventoryReservationEx( ingredient1, loc );
99 ingredient2.GetInventory().GetCurrentInventoryLocation( loc );
100 player.GetInventory().ClearInventoryReservationEx( ingredient2, loc );
101 }
102
103 //Ingredient 1
104 if ( ingredient1.GetQuantity() <= 0 )
105 {
106 if ( GetGame().IsServer() && GetGame().IsMultiplayer() )
107 {
108 player.ServerTakeEntityToTargetAttachment( result, ingredient1 ); // multiplayer server side
109 }
110 else
111 {
112 player.LocalTakeEntityToTargetAttachment( result, ingredient1 ); // single player or multiplayer client side
113 }
114 }
115 else
116 {
117 string ingredient1_classname = ingredient1.GetType();
118 ItemBase attachment1 = ItemBase.Cast( result.GetInventory().CreateAttachment( ingredient1_classname ) );
119 MiscGameplayFunctions.TransferItemProperties( ingredient1, attachment1 );
120 attachment1.SetQuantity( 1 );
121 attachment1.SetCleanness(0);
122
123 //set quantity to ingredient
124 ingredient1.AddQuantity( -1 );
125 }
126
127 //Ingredient 2
128 if ( ingredient2.GetQuantity() <= 0 )
129 {
130 if ( GetGame().IsServer() && GetGame().IsMultiplayer() )
131 {
132 player.ServerTakeEntityToTargetAttachment( result, ingredient2 ); // multiplayer server side
133 }
134 else
135 {
136 player.LocalTakeEntityToTargetAttachment( result, ingredient2 ); // single player or multiplayer client side
137 }
138 }
139 else
140 {
141 string ingredient2_classname = ingredient2.GetType();
142 ItemBase attachment2 = ItemBase.Cast( result.GetInventory().CreateAttachment( ingredient2_classname ) );
143 MiscGameplayFunctions.TransferItemProperties( ingredient2, attachment2 );
144 attachment2.SetQuantity( 1 );
145 attachment2.SetCleanness(0);
146 //set quantity to ingredient
147 ingredient2.AddQuantity( -1 );
148 }
149 }

Перекрестные ссылки GetGame().

◆ Do() [30/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
75 {
76 Debug.Log("Recipe Do method called","recipes");
77 }

Перекрестные ссылки Debug::Log().

◆ Do() [31/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [32/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [33/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [34/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [35/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [36/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [37/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [38/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 }

◆ Do() [39/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
86 {
87 Debug.Log("Recipe Do method called","recipes");
88 }

Перекрестные ссылки Debug::Log().

◆ Do() [40/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 Debug.Log("Recipe Do method called","recipes");
68 }

Перекрестные ссылки Debug::Log().

◆ Do() [41/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
68 {
69 Debug.Log("Recipe Do method called","recipes");
70 }

Перекрестные ссылки Debug::Log().

◆ Do() [42/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
65 {
66 Debug.Log("Recipe Do method called","recipes");
67 }

Перекрестные ссылки Debug::Log().

◆ Do() [43/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
68 {
69 Debug.Log("Recipe Do method called","recipes");
70 }

Перекрестные ссылки Debug::Log().

◆ Do() [44/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
65 {
66 Debug.Log("Recipe Do method called","recipes");
67 }

Перекрестные ссылки Debug::Log().

◆ Do() [45/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
62 {
63 Debug.Log("Recipe Do method called","recipes");
64 }

Перекрестные ссылки Debug::Log().

◆ Do() [46/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
65 {
66 Debug.Log("Recipe Do method called","recipes");
67
69 rag.SetCleanness(0);
70 Torch torch = Torch.Cast(results[0]);
71 torch.SetTorchDecraftResult(ingredients[1].GetType());
72
73 if ( GetGame().IsMultiplayer() && GetGame().IsServer() )
74 {
75 player.ServerTakeEntityToTargetAttachment(torch, rag);
76
77 }
78 else if ( !GetGame().IsMultiplayer() )
79 {
80 player.LocalTakeEntityToTargetAttachment(torch, rag);
81 }
82
83 torch.StandUp();
84 torch.CraftingInit(rag.GetQuantity());
85 }
eBleedingSourceType GetType()
Definition BleedingSource.c:63

Перекрестные ссылки GetGame(), GetType() и Debug::Log().

◆ Do() [47/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
61 {
62 // We will save the wire type for decrafting
63 MetalWire wire = MetalWire.Cast( results[0] );
64 if ( wire )
65 {
66 int health = wire.GetHealthLevel();
67 health++;
68 wire.SetHealth01("","", 1 - 0.3*health);
69 }
70 }

◆ Do() [48/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 Debug.Log("Recipe Do method called","recipes");
68 }

Перекрестные ссылки Debug::Log().

◆ Do() [49/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
99 {
101 Class.CastTo(result, results.Get(0));
103 int quantity = ingredient2.ConfigGetFloat("ragQuantity");
104
105 result.SetQuantity(quantity);
106 }

Перекрестные ссылки Class::CastTo().

◆ Do() [50/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [51/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
68 Class.CastTo(result, results.Get(0));
69
70 if( result )
71 MiscGameplayFunctions.TransferItemProperties(ingredient2,result, true, true, false, true);
72 Debug.Log("Recipe Do method called","recipes");
73 }

Перекрестные ссылки Class::CastTo() и Debug::Log().

◆ Do() [52/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
69 {
70 }

◆ Do() [53/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
88 {
89 Debug.Log("Recipe Do method called","recipes");
90 }

Перекрестные ссылки Debug::Log().

◆ Do() [54/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
71 {
72 Debug.Log("Recipe Do method called","recipes");
73 }

Перекрестные ссылки Debug::Log().

◆ Do() [55/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
71 {
72 Debug.Log("Recipe Do method called","recipes");
73 }

Перекрестные ссылки Debug::Log().

◆ Do() [56/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
95 {
97
98 if (ingredients[0].Type() == Rag)
99 ingredient1.AddQuantity(-4);
100
101 if (ingredients[0].Type() == BandageDressing)
102 ingredient1.AddQuantity(-ingredient1.GetQuantityMax());
103
104 if (ingredients[0].Type() == DuctTape)
105 ingredient1.AddQuantity(-ingredient1.GetQuantityMax()/2);
106
107 if (ingredients[0].IsInherited(Shemag_ColorBase))
108 ingredient1.DeleteSafe();
109 }
string Type
Definition JsonDataContaminatedArea.c:11
Definition consumables.c:66

Перекрестные ссылки Type.

◆ Do() [57/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
67 {
71 Class.CastTo(result, results.Get(0));
72 MiscGameplayFunctions.TransferItemProperties(ingredient0,result, false, true, true, true);
73 }

Перекрестные ссылки Class::CastTo().

◆ Do() [58/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [59/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
75 {
76 Debug.Log("Craft Tanned Leather","recipes");
77
79
80 //Set tanned leather output quantity
81 int yieldQuantity = ingredient1.ConfigGetFloat("leatherYield");
82 float qtyModifier = ingredient1.GetHealth01("","Health");
84
85 //Use X% of GardenLime for each tanned leather item crafted
87 float usedLime = (gardenLime.GetQuantityMax() * m_PercentageUsed) * yieldQuantity;
88 gardenLime.SetQuantity(gardenLime.GetQuantity() - usedLime);
89
90 //Create output piles
91 MiscGameplayFunctions.CreateItemBasePiles("TannedLeather", player.GetPosition(), yieldQuantity, float.MAX);
92 }

Перекрестные ссылки Math::Clamp(), Debug::Log() и MAX.

◆ Do() [60/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
80 {
81 /*ItemBase fence_kit = results[0];
82 Rope rope = Rope.Cast(fence_kit.GetInventory().CreateAttachment("Rope"));
83 MiscGameplayFunctions.TransferItemProperties(ingredients[0],rope);*/
84 Debug.Log("Recipe Do method called","recipes");
85 }

Перекрестные ссылки Debug::Log().

◆ Do() [61/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 // We will save the wire type for decrafting
66 TripwireTrap tripWire = TripwireTrap.Cast( results[0] );
67 if ( tripWire )
68 {
69 if ( ingredients[1].IsInherited( MetalWire ) )
70 tripWire.SetWireType( eWireMaterial.WIRE );
71 //Variants to make the trap out of rope or barbed wire
72 /*
73 else if ( ingredients[1].IsInherited( BarbedWire ) )
74 tripWire.SetWireType( eWireMaterial.BARBED_WIRE );
75 else if ( ingredients[1].IsInherited( Rope ) )
76 tripWire.SetWireType( eWireMaterial.ROPE );
77 */
78 }
79 }
eWireMaterial
Definition Trap_TripWire.c:3

◆ Do() [62/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
80 {
84
85 if(ingredient1.GetHierarchyRootPlayer())
86 {
87 ingred_pos = ingredient2.GetPosition();
88 }
89 else
90 {
91 ingred_pos = ingredient1.GetPosition();
92 }
93
94 ItemBase result1 = results.Get(0);
95 result1.SetPosition(ingred_pos);
96 }
Definition EnConvert.c:106

◆ Do() [63/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
69 {
70 /*ItemBase fence_kit = results[0];
71 Rope rope = Rope.Cast(fence_kit.GetInventory().CreateAttachment("Rope"));
72 MiscGameplayFunctions.TransferItemProperties(ingredients[0],rope);*/
73 Debug.Log("Recipe Do method called","recipes");
74 }

Перекрестные ссылки Debug::Log().

◆ Do() [64/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [65/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
97 {
98 Debug.Log("Recipe Do method called","recipes");
99 }

Перекрестные ссылки Debug::Log().

◆ Do() [66/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
61 {
62 Debug.Log("Recipe Do method called","recipes");
63 }

Перекрестные ссылки Debug::Log().

◆ Do() [67/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
14 {
15 // Adjusts quantity of results to the quantity of the 1st ingredient
17
18 float MaxQuantity = item_ingredient.GetQuantityMax();
19 float CurrentQuantity = item_ingredient.GetQuantity();
21
22 FoodStageType stage = item_ingredient.GetFoodStageType();
23
24 float seedMultiplier = Math.RandomFloat(0.5, 1);
25
26 //Set seeds amount proportional to ingredient quantity. No seeds if the is less that 30% of ingredient
27 if(qtPercentage < 0.3)
29 else
31
32 //Set seeds amount based on the stage of the ingredient
33 switch(stage)
34 {
35 case FoodStageType.BURNED:
36 case FoodStageType.BOILED:
37 case FoodStageType.BAKED:
38 seedMultiplier *= 0;
39 break;
40 case FoodStageType.DRIED:
41 case FoodStageType.ROTTEN:
42 seedMultiplier *= 0.5;
43 break;
44 case FoodStageType.RAW:
45 default:
46 seedMultiplier *= 1;
47 break;
48 }
49
51 float maxQuantity = result.GetQuantityMax();
54
56
57 result.SetQuantity(resultQty);
58
59 Debug.Log("Recipe Do method called","recipes");
60 }
FoodStageType
Definition FoodStage.c:2
Definition Edible_Base.c:2
static proto float RandomFloat(float min, float max)
Returns a random float number between and min[inclusive] and max[exclusive].
static proto float Ceil(float f)
Returns ceil of value.

Перекрестные ссылки Math::Ceil(), Debug::Log() и Math::RandomFloat().

◆ Do() [68/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
87 {
88 Debug.Log("Recipe Do method called","recipes");
89 }

Перекрестные ссылки Debug::Log().

◆ Do() [69/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
93 {
94 Debug.Log("Recipe Do method called","recipes");
95 }

Перекрестные ссылки Debug::Log().

◆ Do() [70/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
105 {
106 Debug.Log("Recipe Do method called","recipes");
107 }

Перекрестные ссылки Debug::Log().

◆ Do() [71/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
122 {
123 Debug.Log("Recipe Do method called","recipes");
124 }

Перекрестные ссылки Debug::Log().

◆ Do() [72/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
110 {
111 Debug.Log("Recipe Do method called","recipes");
112 }

Перекрестные ссылки Debug::Log().

◆ Do() [73/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
110 {
111 Debug.Log("Recipe Do method called","recipes");
112 }

Перекрестные ссылки Debug::Log().

◆ Do() [74/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
93 {
94 Debug.Log("Recipe Do method called","recipes");
95 }

Перекрестные ссылки Debug::Log().

◆ Do() [75/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
104 {
105 Debug.Log("Recipe Do method called","recipes");
106 }

Перекрестные ссылки Debug::Log().

◆ Do() [76/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
66 if (results.IsValidIndex(0))
67 {
68 battery = Battery9V.Cast(results[0]);
69 }
70 if (battery)
71 {
72 if ( battery.GetCompEM() )
73 {
74 battery.GetCompEM().SetEnergy0To1(Math.RandomFloatInclusive(0.25,1));
75 }
76 }
77 }
Definition Battery9V.c:2
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
Definition EnMath.c:106

Перекрестные ссылки Math::RandomFloatInclusive().

◆ Do() [77/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
103 {
104 Debug.Log("Recipe Do method called","recipes");
105 }

Перекрестные ссылки Debug::Log().

◆ Do() [78/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
103 {
104 Debug.Log("Recipe Do method called","recipes");
105 }

Перекрестные ссылки Debug::Log().

◆ Do() [79/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
104 {
105 Debug.Log("Recipe Do method called","recipes");
106 }

Перекрестные ссылки Debug::Log().

◆ Do() [80/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
105 {
106 Debug.Log("Recipe Do method called","recipes");
107 }

Перекрестные ссылки Debug::Log().

◆ Do() [81/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
105 {
106 Debug.Log("Recipe Do method called","recipes");
107 }

Перекрестные ссылки Debug::Log().

◆ Do() [82/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
104 {
105 Debug.Log("Recipe Do method called","recipes");
106 }

Перекрестные ссылки Debug::Log().

◆ Do() [83/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
105 {
106 Debug.Log("Recipe Do method called","recipes");
107 }

Перекрестные ссылки Debug::Log().

◆ Do() [84/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
93 {
94 Debug.Log("Recipe Do method called","recipes");
95 }

Перекрестные ссылки Debug::Log().

◆ Do() [85/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
104 {
105 Debug.Log("Recipe Do method called","recipes");
106 }

Перекрестные ссылки Debug::Log().

◆ Do() [86/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
104 {
105 Debug.Log("Recipe Do method called","recipes");
106 }

Перекрестные ссылки Debug::Log().

◆ Do() [87/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
104 {
105 Debug.Log("Recipe Do method called","recipes");
106 }

Перекрестные ссылки Debug::Log().

◆ Do() [88/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
89 {
90 Debug.Log("Recipe Do method called","recipes");
91 }

Перекрестные ссылки Debug::Log().

◆ Do() [89/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
93 {
94 Debug.Log("Recipe Do method called","recipes");
95 }

Перекрестные ссылки Debug::Log().

◆ Do() [90/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
93 {
94 Debug.Log("Recipe Do method called","recipes");
95 }

Перекрестные ссылки Debug::Log().

◆ Do() [91/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
93 {
94 Debug.Log("Recipe Do method called","recipes");
95 }

Перекрестные ссылки Debug::Log().

◆ Do() [92/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
94 {
95 Debug.Log("Recipe Do method called","recipes");
96 }

Перекрестные ссылки Debug::Log().

◆ Do() [93/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
85 {
87
88 ItemBase result1 = results.Get(0);
89
90 result1.SetPosition(ingredient1.GetPosition()- "0 0.16 0");
91
92 ItemBase result2 = results.Get(1);
93 result2.SetPosition(ingredient1.GetPosition() + "0 0.12 0.1");
94
95 }

◆ Do() [94/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
86 {
89 int hp = crate.GetHealthLevel("");
90
91 switch ( hp )
92 {
94 results[0].SetQuantity(Math.RandomIntInclusive( 6, 8 ));
95 results[0].SetHealth( results[0].GetMaxHealth() * Math.RandomFloat( 0.6, 0.8 ));
96 results[1].SetQuantity(Math.RandomIntInclusive( 12, 16 ));
97 results[1].SetHealth( results[1].GetMaxHealth() * Math.RandomFloat( 0.6, 0.8 ));
98 break;
99
101 results[0].SetQuantity(Math.RandomIntInclusive( 5, 7 ));
102 results[0].SetHealth( results[0].GetMaxHealth() * Math.RandomFloat( 0.5, 0.8 ));
103 results[1].SetQuantity(Math.RandomIntInclusive( 9, 13 ));
104 results[1].SetHealth( results[1].GetMaxHealth() * Math.RandomFloat( 0.5, 0.8 ));
105 break;
106
108 results[0].SetQuantity(Math.RandomIntInclusive( 4, 6 ));
109 results[0].SetHealth( results[0].GetMaxHealth() * Math.RandomFloat( 0.3, 0.6 ));
110 results[1].SetQuantity(Math.RandomIntInclusive( 6, 10 ));
111 results[1].SetHealth( results[1].GetMaxHealth() * Math.RandomFloat( 0.3, 0.6 ));
112 break;
113
115 results[0].SetQuantity(Math.RandomIntInclusive( 3, 5 ));
116 results[0].SetHealth( results[0].GetMaxHealth() * Math.RandomFloat( 0.1, 0.3 ));
117 results[1].SetQuantity(Math.RandomIntInclusive( 3, 7 ));
118 results[1].SetHealth( results[1].GetMaxHealth() * Math.RandomFloat( 0.1, 0.3 ));
119 break;
120
121 //unnescessary? We do not allow recipe crafting with ruined items?
123 results[0].SetQuantity(Math.RandomIntInclusive( 1, 2 ));
124 results[0].SetHealth( results[0].GetMaxHealth() * Math.RandomFloat( 0.05, 0.2 ));
125 results[1].SetQuantity(Math.RandomIntInclusive( 1, 4 ));
126 results[1].SetHealth( results[1].GetMaxHealth() * Math.RandomFloat( 0.05, 0.2 ));
127 break;
128
129 default:
130 results[0].SetQuantity(Math.RandomIntInclusive( 1, 2 ));
131 results[0].SetHealth( results[0].GetMaxHealth() * Math.RandomFloat( 0.05, 0.2 ));
132 results[1].SetQuantity(Math.RandomIntInclusive( 1, 4 ));
133 results[1].SetHealth( results[1].GetMaxHealth() * Math.RandomFloat( 0.05, 0.2 ));
134 break;
135 }
136
137 /*
138 float originalPlanks = 8;
139 float originalNails = 16;
140
141 float hp = crate.GetHealth01("","Health");
142 originalPlanks *= hp;
143 originalNails *= hp;
144
145 int newPlanks = Math.Round( originalPlanks );
146 int newNails = Math.Round( originalNails );
147
148 m_ResultSetQuantity[0] = newPlanks;
149 m_ResultSetQuantity[1] = newNails;
150 */
151 Debug.Log("Recipe Do method called","recipes");
152 }
Definition constants.c:638
const int STATE_RUINED
Definition constants.c:807
const int STATE_BADLY_DAMAGED
Definition constants.c:808
const int STATE_DAMAGED
Definition constants.c:809
const int STATE_PRISTINE
Definition constants.c:811
const int STATE_WORN
Definition constants.c:810

Перекрестные ссылки Class::CastTo(), Debug::Log(), Math::RandomFloat(), Math::RandomIntInclusive(), GameConstants::STATE_BADLY_DAMAGED, GameConstants::STATE_DAMAGED, GameConstants::STATE_PRISTINE, GameConstants::STATE_RUINED и GameConstants::STATE_WORN.

◆ Do() [95/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
80 {
83
84
85 ingredient1.AddQuantity(-ingredient1.GetDisinfectQuantity());
86
88 ingredient2.RemoveAllAgentsExcept(eAgents.BRAIN | eAgents.SALMONELLA | eAgents.CHOLERA);
89 ingredient2.SetCleanness(1);
90 }
eAgents
Definition EAgents.c:3

Перекрестные ссылки Class::CastTo().

◆ Do() [96/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
96 {
99
100 ItemBase entity_in_hands = ItemBase.Cast(player.GetHumanInventory().GetEntityInHands());
101
103 {
105 }
106 else
107 {
109 }
110 }

◆ Do() [97/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
81 {
84 if (ingredient1.HasEnergyManager())
85 {
86 ingredient1.GetCompEM().SwitchOff();
87 ingredient1.SetWetMax();
88 }
89 }

Перекрестные ссылки Class::CastTo().

◆ Do() [98/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
87 {
88 // Get charcoal quantity
90 float charcoalCurrent = charcoal.GetQuantity();
91
92 // Get filter quantity
94
95 float filterMax = filter.GetQuantityMax();
96 float filterCurrent = filter.GetQuantity();
97
98 //1 tablet = 10 quantity
100
101 // All if possible
102 if(fillAmount >= filterMax)
103 {
104 ingredients[1].SetQuantity(filterMax);
105
106 //Remove only the used part from charcoal
108 ingredients[0].SetQuantity(Math.Round(fillAmount / 10));
109 }
110 else
111 {
112 ingredients[1].SetQuantity( fillAmount);
113 ingredients[0].AddQuantity( - charcoalCurrent);
114 }
115 }
static proto float Round(float f)
Returns mathematical round of value.

Перекрестные ссылки Math::Round().

◆ Do() [99/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 Debug.Log("Recipe Do method called","recipes");
66 }

Перекрестные ссылки Debug::Log().

◆ Do() [100/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
75 {
80
81 float current_energy_level = chainsaw.GetCompEM().GetEnergy();
82 float energy_max = chainsaw.GetCompEM().GetEnergyMax();
84
85 if( can_add_amount > 0 ) chainsaw.GetCompEM().AddEnergy(can_add_amount);
86 container.AddQuantity(-can_add_amount);
87 }

Перекрестные ссылки Class::CastTo().

◆ Do() [101/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
92 {
93
94 }

◆ Do() [102/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
117 {
125 //DamageTool(tool,player);
126 }
Definition OpenItem.c:2
static void OpenAndSwitch(ItemBase item_tool, ItemBase item_target, PlayerBase player, float specialty_weight=0)
WIll open the 'item_target' by spawning a new entity and transferring item variables to the new one.
Definition OpenItem.c:4

Перекрестные ссылки Class::CastTo() и OpenItem::OpenAndSwitch().

◆ Do() [103/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
43 {
45 brfcs.Open();
46 }

◆ Do() [104/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
65 {
67 }
static void Paint(ItemBase item_tool, ItemBase item_target, string base_name, PlayerBase player, float specialty_weight=0)
WIll open the 'item_target' by spawning a new entity and transferring item variables to the new one.
Definition PaintItem.c:4

Перекрестные ссылки PaintItem::Paint().

◆ Do() [105/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 /*
68 Magazine ingredient2;
69 Class.CastTo(ingredient2, ingredients[1]);
70 Magazine result;
71 Class.CastTo(result, results.Get(0));
72
73 int num_of_rounds = ingredient2.GetAmmoCount();
74 result.SetAmmoCount(num_of_rounds);
75 */
76 PaintItem.Paint(ingredients[0], ingredients[1], "Mag_AK101_30Rnd", player, specialty_weight);
77 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [106/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate

Перекрестные ссылки PaintItem::Paint().

◆ Do() [107/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 /*
68 Magazine ingredient2;
69 Class.CastTo(ingredient2, ingredients[1]);
70 Magazine result;
71 Class.CastTo(result, results.Get(0));
72
73 int num_of_rounds = ingredient2.GetAmmoCount();
74 result.SetAmmoCount(num_of_rounds);
75 */
77 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [108/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK74_Hndgrd_Black", player));
68 }
Definition MiscGameplayFunctions.c:92

◆ Do() [109/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK74_Hndgrd_Camo", player));
68 }

◆ Do() [110/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK74_WoodBttstck_Black", player));
68 }

◆ Do() [111/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK74_WoodBttstck_Camo", player));
68 }

◆ Do() [112/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "AK_FoldingBttstck", player, specialty_weight);
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [113/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 /*
68 Magazine ingredient2;
69 Class.CastTo(ingredient2, ingredients[1]);
70 Magazine result;
71 Class.CastTo(result, results.Get(0));
72
73 int num_of_rounds = ingredient2.GetAmmoCount();
74 result.SetAmmoCount(num_of_rounds);
75 */
76 PaintItem.Paint(ingredients[0], ingredients[1], "Mag_AKM_Drum75Rnd", player, specialty_weight);
77 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [114/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 /*
68 Magazine ingredient2;
69 Class.CastTo(ingredient2, ingredients[1]);
70 Magazine result;
71 Class.CastTo(result, results.Get(0));
72
73 int num_of_rounds = ingredient2.GetAmmoCount();
74 result.SetAmmoCount(num_of_rounds);
75 */
76 PaintItem.Paint(ingredients[0], ingredients[1], "Mag_AKM_Palm30Rnd", player, specialty_weight);
77 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [115/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "AK_PlasticBttstck", player, specialty_weight);
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [116/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [117/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [118/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [119/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK_WoodBttstck_Black", player));
68 }

◆ Do() [120/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK_WoodBttstck_Camo", player));
68 }

◆ Do() [121/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate

Перекрестные ссылки PaintItem::Paint().

◆ Do() [122/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "BallisticHelmet", player, specialty_weight);
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [123/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 /*
68 Magazine ingredient2;
69 Class.CastTo(ingredient2, ingredients[1]);
70 Magazine result;
71 Class.CastTo(result, results.Get(0));
72
73 int num_of_rounds = ingredient2.GetAmmoCount();
74 result.SetAmmoCount(num_of_rounds);
75 */
77 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [124/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {/*
67 Magazine ingredient2;
68 Class.CastTo(ingredient2, ingredients[1]);
69 Magazine result;
70 Class.CastTo(result, results.Get(0));
71
72 int num_of_rounds = ingredient2.GetAmmoCount();
73 result.SetAmmoCount(num_of_rounds);*/
75 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [125/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 /*
68 Magazine ingredient2;
69 Class.CastTo(ingredient2, ingredients[1]);
70 Magazine result;
71 Class.CastTo(result, results.Get(0));
72
73 int num_of_rounds = ingredient2.GetAmmoCount();
74 result.SetAmmoCount(num_of_rounds);
75 */
77
78 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [126/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 /*
68 Magazine ingredient2;
69 Class.CastTo(ingredient2, ingredients[1]);
70 Magazine result;
71 Class.CastTo(result, results.Get(0));
72
73 int num_of_rounds = ingredient2.GetAmmoCount();
74 result.SetAmmoCount(num_of_rounds);
75 */
77 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [127/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [128/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "CZ527_Camo", player));
68 }

◆ Do() [129/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "CZ527_Camo", player));
68 }

◆ Do() [130/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [131/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [132/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieAtt_Mossy", player));
68 }

◆ Do() [133/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate

Перекрестные ссылки PaintItem::Paint().

◆ Do() [134/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieAtt_Woodland", player));
68 }

◆ Do() [135/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieBushrag_Mossy", player));
68 }

◆ Do() [136/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate

Перекрестные ссылки PaintItem::Paint().

◆ Do() [137/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieBushrag_Woodland", player));
68 }

◆ Do() [138/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate

Перекрестные ссылки PaintItem::Paint().

◆ Do() [139/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate

Перекрестные ссылки PaintItem::Paint().

◆ Do() [140/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieHood_Woodland", player));
68 }

◆ Do() [141/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate

Перекрестные ссылки PaintItem::Paint().

◆ Do() [142/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieSuit_Woodland", player));
68 }

◆ Do() [143/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 //PaintItem.Paint(ingredients[0], ingredients[1], "B95", player, specialty_weight);
68 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieSuit_Woodland", player));
69 }

◆ Do() [144/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieTop_Mossy", player));
68 }

◆ Do() [145/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieTop_Woodland", player));
68 }

◆ Do() [146/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieTop_Woodland", player));
68 }

◆ Do() [147/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [148/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "GorkaHelmetComplete", player, specialty_weight);
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [149/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [150/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [151/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [152/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [153/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [154/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "M4_PlasticHndgrd", player, specialty_weight);
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [155/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [156/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
69 {
71 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [157/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "Mosin9130_Camo", player));
68 }

◆ Do() [158/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "Mosin9130_Camo", player));
68 }

◆ Do() [159/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [160/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [161/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "SawedoffMosin9130", player, specialty_weight);
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [162/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "SawedoffMosin9130_Camo", player));
68 }

◆ Do() [163/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "SawedoffMosin9130_Camo", player));
68 }

◆ Do() [164/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate

Перекрестные ссылки PaintItem::Paint().

◆ Do() [165/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "ZSh3PilotHelmet", player, specialty_weight);
68 }

Перекрестные ссылки PaintItem::Paint().

◆ Do() [166/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate

◆ Do() [167/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
87 {
89
90 for (int i=0; i < results.Count(); i++)
91 {
94
95 MiscGameplayFunctions.TransferItemProperties(ingredient, item_result);
96
97 float quantityMultiplier = ingredient.GetHealth01("","");
98 item_result.SetQuantityNormalized(quantityMultiplier);
99
100 //temperature check
101 if (!ingredient.CanHaveTemperature())
103
104 if (!ingredient.CanFreeze())
105 item_result.SetFrozen(false);
106 }
107 }
static const float ITEM_TEMPERATURE_NEUTRAL_ZONE_MIDDLE
Definition constants.c:777

Перекрестные ссылки Class::CastTo() и GameConstants::ITEM_TEMPERATURE_NEUTRAL_ZONE_MIDDLE.

◆ Do() [168/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
88 {
89 }

◆ Do() [169/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
96 {
99
100 ItemBase entity_in_hands = ItemBase.Cast(player.GetHumanInventory().GetEntityInHands());
101
103 {
105 }
106 else
107 {
109 }
110 }

◆ Do() [170/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
66
67 for (int i=0; i < results.Count(); i++)
68 {
71
72 //Trasnfer current food state
73 MiscGameplayFunctions.TransferItemProperties(ingredient, item_result);
74 item_result.SetQuantityNormalized(ingredient.GetQuantityNormalized());
75
76 }
77
79 lifespan.UpdateBloodyHandsVisibility( player, true );
80 }
void PluginLifespan()
Definition PluginLifespan.c:45

Перекрестные ссылки Class::CastTo(), GetPlugin() и PluginLifespan().

◆ Do() [171/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
63 {
65
66 for (int i=0; i < results.Count(); i++)
67 {
70
71 //Trasnfer current food state
72 MiscGameplayFunctions.TransferItemProperties(ingredient, item_result);
73 item_result.SetQuantityNormalized(ingredient.GetQuantityNormalized());
74
75 }
76
78 lifespan.UpdateBloodyHandsVisibility( player, true );
79 }

Перекрестные ссылки Class::CastTo(), GetPlugin() и PluginLifespan().

◆ Do() [172/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
73 {
75 ingredient2.RemoveAllAgentsExcept(eAgents.HEAVYMETAL);
76 }

◆ Do() [173/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
82 {
83 Rag rag = Rag.Cast(ingredients[0]);
84 Torch torch = Torch.Cast(ingredients[1]);
85
86 if ( !GetGame().IsMultiplayer() )
87 {
89 rag.GetInventory().GetCurrentInventoryLocation( loc );
90 player.GetInventory().ClearInventoryReservationEx( rag, loc );
91 }
92
93 Rag rag_on_torch = Rag.Cast( torch.GetInventory().FindAttachment( rag.GetInventory().GetSlotId(0) ) );
94
95 if (rag_on_torch)
96 {
97 rag_on_torch.CombineItems(rag, false);
98 }
99 else
100 {
101 if ( GetGame().IsServer() && GetGame().IsMultiplayer() )
102 {
103 player.ServerTakeEntityToTargetAttachment(torch, rag); // multiplayer server side
104 }
105 else
106 {
107 player.LocalTakeEntityToTargetAttachment(torch, rag); // single player or multiplayer client side
108 }
109 }
110 }

Перекрестные ссылки GetGame().

◆ Do() [174/201]

◆ Do() [175/201]

◆ Do() [176/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
73 {
76
77 ingrEP.SetHealth01("","",ingrRag.GetHealth01()); // set the health of the eye patch as the rag used to repair it.
78 }

◆ Do() [177/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate

◆ Do() [178/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
70 {
72 float mHealth = item_ingredient.GetMaxHealth();
73 float percent = mHealth*0.2; //20% of the item's health
74 item_ingredient.DecreaseHealth(percent);
75
77 float mHealth1 = item_ingredient1.GetMaxHealth();
78 float percent1 = mHealth1*0.2; //20% of the item's health
79 item_ingredient1.AddHealth(percent1);
80 }

◆ Do() [179/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
72 {
74 float mHealth = item_ingredient.GetMaxHealth();
75 float percent = mHealth*0.2; //20% of the item's health
76 item_ingredient.AddHealth(percent);
77 }

◆ Do() [180/201]

◆ Do() [181/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
50 {
51 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffB95", player));
52 }

◆ Do() [182/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
50 {
51 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedOffFAMAS", player));
52 }

◆ Do() [183/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
62 {
63 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffIzh18", player));
64 }

◆ Do() [184/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
64 {
65 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffIzh18Shotgun", player));
66 }

◆ Do() [185/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
51 {
52 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffMagnum", player));
53 }

◆ Do() [186/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
50 {
51 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffMosin9130", player));
52 }

◆ Do() [187/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
52 {
54 string color = ingredient.ConfigGetString("color");
55 string classname = "SawedoffMosin9130_" + color;
57 }

◆ Do() [188/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
51 {
52 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffIzh43Shotgun", player));
53 }

◆ Do() [189/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
86 {
87 }

◆ Do() [190/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
105 {
107
108 for (int i=0; i < results.Count(); i++)
109 {
112
113 MiscGameplayFunctions.TransferItemProperties(broom, item_result);
114 }
115
117 }

Перекрестные ссылки Class::CastTo().

◆ Do() [191/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
87 {
89
91
92 MiscGameplayFunctions.TransferItemProperties(ingredient, item_result, false, false, false);
93 }

◆ Do() [192/201]

◆ Do() [193/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
85 {
87
88 for (int i=0; i < results.Count(); i++)
89 {
92
93 MiscGameplayFunctions.TransferItemProperties(ingredient, item_result);
94 }
95
97 }

Перекрестные ссылки Class::CastTo().

◆ Do() [194/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
118 {
120
121 for (int i=0; i < results.Count(); i++)
122 {
125
126 MiscGameplayFunctions.TransferItemProperties(broom, item_result);
127 }
128
130 }

Перекрестные ссылки Class::CastTo().

◆ Do() [195/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
65 {
66 Debug.Log("Recipe Do method called","recipes");
67 }

Перекрестные ссылки Debug::Log().

◆ Do() [196/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
102 {
103
104 }

◆ Do() [197/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
91 {
92 Debug.Log("Recipe Do method called","recipes");
93 }

Перекрестные ссылки Debug::Log().

◆ Do() [198/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
81 {
82
83 }

◆ Do() [199/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
69 {
70 FlammableBase item = Torch.Cast(ingredients[1]);
71 Lard lard = Lard.Cast(ingredients[0]);
72 item.Upgrade(lard);
73 }

◆ Do() [200/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
76 {
78 FlammableBase item = Torch.Cast(ingredients[1]);
79
80 //torch.ConsumeRag();
81
82 if (item && vessel)
83 {
84 item.Upgrade(vessel);
85 }
86 }

◆ Do() [201/201]

override void Do ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > results,
float specialty_weight )
inlineprivate
68 {
69 Debug.Log("Recipe Do method called","recipes");
70 }

Перекрестные ссылки Debug::Log().

◆ GetAllItems()

void GetAllItems ( array< string > items)
inlineprivate
571 {
572 for(int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
573 {
575
576 for(int x = 0; x < ptr.Count(); x++)
577 {
578 items.Insert( ptr.Get(x) );
579 }
580 }
581 }

Перекрестные ссылки m_Ingredients, MAX_NUMBER_OF_INGREDIENTS и x.

◆ GetAnimationCommandUID()

int GetAnimationCommandUID ( )
inlineprivate
635 {
636 return m_RecipeUID;
637 }

Перекрестные ссылки m_RecipeUID.

◆ GetID()

int GetID ( )
inlineprivate
560 {
561 return m_ID;
562 }
int m_ID
Definition RecipeBase.c:20

Перекрестные ссылки m_ID.

◆ GetIngredientMaskForItem()

int GetIngredientMaskForItem ( string item)
inlineprivate

returns a mask which marks ingredient positions for a given item in this recipe(for example mask of value 3 [....000011] means this item is both ingredient 1 and 2 in this recipe[from right to left])

616 {
617 int mask = 0;
618
619 for(int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
620 {
622
623 for(int x = 0; x < ptr.Count(); x++)
624 {
625 if( ptr.Get(x) == item )
626 {
627 mask = ((int)Math.Pow(2, i)) | mask;
628 }
629 }
630 }
631 return mask;
632 }
Param3 int
static proto float Pow(float v, float power)
Return power of v ^ power.

Перекрестные ссылки m_Ingredients, MAX_NUMBER_OF_INGREDIENTS, Math::Pow() и x.

◆ GetLengthInSecs()

float GetLengthInSecs ( )
inlineprivate
80 {
82 }
float m_AnimationLength
Definition RecipeBase.c:23
const float CRAFTING_TIME_UNIT_SIZE
Definition constants.c:615

Перекрестные ссылки CRAFTING_TIME_UNIT_SIZE и m_AnimationLength.

◆ GetName()

string GetName ( )
inlineprivate
171 {
172 return m_Name;
173 }

Перекрестные ссылки m_Name.

◆ GetSoundCategory()

string GetSoundCategory ( int ingredientIndex,
ItemBase item )
inlineprivate
584 {
585 string itemType = item.GetType();
587
588 for (int x = 0; x < ptr.Count(); x++)
589 {
590 if (GetGame().IsKindOf(itemType, ptr.Get(x)))
591 {
593 }
594 }
595 return "";
596 }

Перекрестные ссылки GetGame(), m_Ingredients, m_SoundCategories и x.

◆ GetSpecialty()

float GetSpecialty ( )
inlineprivate
85 {
86 return m_Specialty;
87 }

Перекрестные ссылки m_Specialty.

◆ Init() [1/202]

void Init ( )
private

Используется в RecipeBase().

◆ Init() [2/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_AttachHolster0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"PlateCarrierBlank");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"CarrierHolsterSolo");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("PlateCarrierHolster");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }
int m_ResultToInventory[MAXIMUM_RESULTS]
Definition RecipeBase.c:46
bool m_IngredientUseSoftSkills[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:35
bool m_IsInstaRecipe
Definition RecipeBase.c:25
void InsertIngredient(int index, string ingredient)
Definition RecipeBase.c:137
void AddResult(string item)
Definition RecipeBase.c:164
int m_ResultInheritsColor[MAXIMUM_RESULTS]
Definition RecipeBase.c:48
bool m_ResultUseSoftSkills[MAXIMUM_RESULTS]
Definition RecipeBase.c:50

Перекрестные ссылки m_Name.

◆ Init() [3/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_AttachHolsterPouch0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"PlateCarrierPouches");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"CarrierHolsterSolo");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("PlateCarrierComplete");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [4/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_AttachPouch0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"PlateCarrierBlank");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"CarrierPouches");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("PlateCarrierPouches");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [5/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_AttachPouchesHolster0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"PlateCarrierHolster");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"CarrierPouches");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("PlateCarrierComplete");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [6/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#test_blood";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"BloodTestKit");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"BloodSyringe");//you can insert multiple ingredients this way
37 InsertIngredient(1,"BloodBagFull");//you can insert multiple ingredients this way
38 InsertIngredient(1,"BloodBagIV");//you can insert multiple ingredients this way
39
40 m_IngredientAddHealth[1] = 0;// 0 = do nothing
41 m_IngredientSetHealth[1] = -1; // -1 = do nothing
42 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
43 m_IngredientDestroy[1] = false;// false = do nothing
44 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
45 //----------------------------------------------------------------------------------------------------------------------
46
47 //result1
48 //AddResult("");//add results here
49
50 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
51 m_ResultSetQuantity[0] = -1;//-1 = do nothing
52 m_ResultSetHealth[0] = -1;//-1 = do nothing
53 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
54 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
55 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
56 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
57 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58 }

Перекрестные ссылки m_Name.

◆ Init() [7/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_PurifyWaterWithChelation0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"ChelatingTablets");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Pot");//you can insert multiple ingredients this way
37 InsertIngredient(1,"CanisterGasoline");//you can insert multiple ingredients this way
38 InsertIngredient(1,"DisinfectantAlcohol");//you can insert multiple ingredients this way
39 InsertIngredient(1,"Canteen");//you can insert multiple ingredients this way
40 InsertIngredient(1,"WaterBottle");//you can insert multiple ingredients this way
41 InsertIngredient(1,"FilteringBottle");//you can insert multiple ingredients this way
42 InsertIngredient(1,"GlassBottle");//you can insert multiple ingredients this way
43 InsertIngredient(1,"WaterPouch_ColorBase");//you can insert multiple ingredients this way
44 InsertIngredient(1,"Barrel_ColorBase");//you can insert multiple ingredients this way
45 InsertIngredient(1,"Cauldron");//you can insert multiple ingredients this way
46
47 m_IngredientAddHealth[1] = 0;// 0 = do nothing
48 m_IngredientSetHealth[1] = -1; // -1 = do nothing
49 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
50 m_IngredientDestroy[1] = false;// false = do nothing
51 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
52 //----------------------------------------------------------------------------------------------------------------------
53
54 //result1
55 //AddResult("");//add results here
56
57 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
58 m_ResultSetQuantity[0] = -1;//-1 = do nothing
59 m_ResultSetHealth[0] = -1;//-1 = do nothing
60 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
61 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
62 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
63 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
64 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
65 }

Перекрестные ссылки m_Name.

◆ Init() [8/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#clean";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Rag");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Pot");//you can insert multiple ingredients this way
37 InsertIngredient(1,"CanisterGasoline");//you can insert multiple ingredients this way
38 InsertIngredient(1,"Canteen");//you can insert multiple ingredients this way
39 InsertIngredient(1,"WaterBottle");//you can insert multiple ingredients this way
40 InsertIngredient(1,"FilteringBottle");//you can insert multiple ingredients this way
41 InsertIngredient(1,"GlassBottle");//you can insert multiple ingredients this way
42 InsertIngredient(1,"WaterPouch_ColorBase");//you can insert multiple ingredients this way
43 InsertIngredient(1,"Barrel_ColorBase");//you can insert multiple ingredients this way
44
45 m_IngredientAddHealth[1] = 0;// 0 = do nothing
46 m_IngredientSetHealth[1] = -1; // -1 = do nothing
47 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
48 m_IngredientDestroy[1] = false;// false = do nothing
49 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
50 //----------------------------------------------------------------------------------------------------------------------
51
52 //result1
53 //AddResult("");//add results here
54
55 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
56 m_ResultSetQuantity[0] = -1;//-1 = do nothing
57 m_ResultSetHealth[0] = -1;//-1 = do nothing
58 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
59 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
60 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
61 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
62 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
63 }

Перекрестные ссылки m_Name.

◆ Init() [9/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#repair";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = 1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"WeaponCleaningKit");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"DefaultWeapon");
37 InsertIngredient(1,"DefaultMagazine");
38 InsertIngredient(1,"ItemSuppressor");
39
40 m_IngredientAddHealth[1] = 0;// 0 = do nothing
41 m_IngredientSetHealth[1] = -1; // -1 = do nothing
42 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
43 m_IngredientDestroy[1] = false;// false = do nothing
44 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
45
46 //----------------------------------------------------------------------------------------------------------------------
47
48 //result1
49 //AddResult("");//add results here
50
51 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
52 m_ResultSetQuantity[0] = -1;//-1 = do nothing
53 m_ResultSetHealth[0] = -1;//-1 = do nothing
54 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
55 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
56 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
57 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
58 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
59
60 //----------------------------------------------------------------------------------------------------------------------
61 }

Перекрестные ссылки m_Name.

◆ Init() [10/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#widget_lock";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.03;// value > 0 for roughness, value < 0 for precision
9
10 //----------------------------------------------------------------------------------------------------------------------
11
12 //INGREDIENTS
13 //ingredient 1
14 InsertIngredient(0,"ScientificBriefcase");//you can insert multiple ingredients this way
15
16 m_IngredientAddHealth[0] = 0;// 0 = do nothing
17 m_IngredientSetHealth[0] = -1; // -1 = do nothing
18 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
19 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
20 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
22
23 //ingredient 2
24 InsertIngredient(1,"ScientificBriefcaseKeys");//you can insert multiple ingredients this way
25
26 m_IngredientAddHealth[1] = -2.5;// 0 = do nothing
27 m_IngredientSetHealth[1] = -1; // -1 = do nothing
28 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
29 m_IngredientDestroy[1] = false;// false = do nothing
30 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
32
33 //----------------------------------------------------------------------------------------------------------------------
34 }

Перекрестные ссылки m_Name.

◆ Init() [11/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_craftarmband0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1.8; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"Flag_Base"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
28 m_IngredientDestroy[0] = 1; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"Sickle");
32 InsertIngredient(1,"KukriKnife");
33 InsertIngredient(1,"FangeKnife");
34 InsertIngredient(1,"Hacksaw");
35 InsertIngredient(1,"HandSaw");
36 InsertIngredient(1,"KitchenKnife");
37 InsertIngredient(1,"SteakKnife");
38 InsertIngredient(1,"HayHook");
39 InsertIngredient(1,"StoneKnife");
40 InsertIngredient(1,"Cleaver");
41 InsertIngredient(1,"CombatKnife");
42 InsertIngredient(1,"HuntingKnife");
43 InsertIngredient(1,"Machete");
44 InsertIngredient(1,"CrudeMachete");
45 InsertIngredient(1,"OrientalMachete");
46 InsertIngredient(1,"Screwdriver");
47 InsertIngredient(1,"Crowbar");
48 InsertIngredient(1,"Pickaxe");
49 InsertIngredient(1,"WoodAxe");
50 InsertIngredient(1,"Hatchet");
51 InsertIngredient(1,"FirefighterAxe");
52 InsertIngredient(1,"Sword");
53 InsertIngredient(1,"AK_Bayonet");
54 InsertIngredient(1,"M9A1_Bayonet");
55 InsertIngredient(1,"Mosin_Bayonet");
56 InsertIngredient(1,"SKS_Bayonet");
57 InsertIngredient(1,"BoneKnife");
58
63
64 //----------------------------------------------------------------------------------------------------------------------
65 //RESULTS
66 //result1
67 AddResult("Armband_"); // add results here
68
69 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
70 m_ResultSetQuantity[0] = -1; // -1 = do nothing
71 m_ResultSetHealth[0] = -1; // -1 = do nothing
72 m_ResultInheritsHealth[0] = 0; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this resu
73 m_ResultInheritsColor[0] = 0; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and confi
74 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredien
75 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
76
77 //result2
78 AddResult("Armband_");
79 m_ResultSetFullQuantity[1] = false;
80 m_ResultSetQuantity[1] = -1;
81 m_ResultSetHealth[1] = -1;
84 m_ResultToInventory[1] = -2;
86
87 //result3
88 AddResult("Armband_");
89 m_ResultSetFullQuantity[2] = false;
90 m_ResultSetQuantity[2] = -1;
91 m_ResultSetHealth[2] = -1;
94 m_ResultToInventory[2] = -2;
96 }

Перекрестные ссылки m_Name.

◆ Init() [12/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_craftarmband0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = 1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredientEx(0,"Rag","ImprovisedCloth_craft"); //you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = -1; // 0 = do nothing
28 m_IngredientDestroy[0] = 0; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"SewingKit");
32
37
38 //----------------------------------------------------------------------------------------------------------------------
39 //RESULTS
40 //result1
41 AddResult("Armband_White"); // add results here
42
43 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
44 m_ResultSetQuantity[0] = -1; // -1 = do nothing
45 m_ResultSetHealth[0] = -1; // -1 = do nothing
46 m_ResultInheritsHealth[0] = 0; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this resu
47 m_ResultInheritsColor[0] = -1; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and confi
48 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredien
49 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
50 }
void InsertIngredientEx(int index, string ingredient, string soundCategory)
Definition RecipeBase.c:142

Перекрестные ссылки m_Name.

◆ Init() [13/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_craftarmband0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1.8; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"Raincoat_ColorBase"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
28 m_IngredientDestroy[0] = 1; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"Sickle");
32 InsertIngredient(1,"KukriKnife");
33 InsertIngredient(1,"FangeKnife");
34 InsertIngredient(1,"Hacksaw");
35 InsertIngredient(1,"HandSaw");
36 InsertIngredient(1,"KitchenKnife");
37 InsertIngredient(1,"SteakKnife");
38 InsertIngredient(1,"HayHook");
39 InsertIngredient(1,"StoneKnife");
40 InsertIngredient(1,"Cleaver");
41 InsertIngredient(1,"CombatKnife");
42 InsertIngredient(1,"HuntingKnife");
43 InsertIngredient(1,"Machete");
44 InsertIngredient(1,"CrudeMachete");
45 InsertIngredient(1,"OrientalMachete");
46 InsertIngredient(1,"Screwdriver");
47 InsertIngredient(1,"Crowbar");
48 InsertIngredient(1,"Pickaxe");
49 InsertIngredient(1,"WoodAxe");
50 InsertIngredient(1,"Hatchet");
51 InsertIngredient(1,"FirefighterAxe");
52 InsertIngredient(1,"Sword");
53 InsertIngredient(1,"AK_Bayonet");
54 InsertIngredient(1,"M9A1_Bayonet");
55 InsertIngredient(1,"Mosin_Bayonet");
56 InsertIngredient(1,"SKS_Bayonet");
57 InsertIngredient(1,"BoneKnife");
58
63
64 //----------------------------------------------------------------------------------------------------------------------
65 //RESULTS
66 //result1
67 AddResult("Armband_"); // add results here
68
69 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
70 m_ResultSetQuantity[0] = -1; // -1 = do nothing
71 m_ResultSetHealth[0] = -1; // -1 = do nothing
72 m_ResultInheritsHealth[0] = 0; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this resu
73 m_ResultInheritsColor[0] = 0; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and confi
74 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredien
75 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
76
77 //result2
78 AddResult("Armband_");
79
80 m_ResultSetFullQuantity[1] = false;
81 m_ResultSetQuantity[1] = -1;
82 m_ResultSetHealth[1] = -1;
85 m_ResultToInventory[1] = -2;
87
88 //result3
89 AddResult("Armband_");
90
91 m_ResultSetFullQuantity[2] = false;
92 m_ResultSetQuantity[2] = -1;
93 m_ResultSetHealth[2] = -1;
96 m_ResultToInventory[2] = -2;
98
99 //result4
100 AddResult("Armband_");
101
102 m_ResultSetFullQuantity[3] = false;
103 m_ResultSetQuantity[3] = -1;
104 m_ResultSetHealth[3] = -1;
107 m_ResultToInventory[3] = -2;
109
110 //result5
111 AddResult("Armband_");
112
113 m_ResultSetFullQuantity[4] = false;
114 m_ResultSetQuantity[4] = -1;
115 m_ResultSetHealth[4] = -1;
118 m_ResultToInventory[4] = -2;
120 }

Перекрестные ссылки m_Name.

◆ Init() [14/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftArrow0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
11 m_MinDamageIngredient[0] = -1;//-1 = disable check
12 m_MaxDamageIngredient[0] = 3;//-1 = disable check
13
14 m_MinQuantityIngredient[0] = 1;//-1 = disable check
15 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
16
17 m_MinDamageIngredient[1] = -1;//-1 = disable check
18 m_MaxDamageIngredient[1] = 3;//-1 = disable check
19
20 m_MinQuantityIngredient[1] = 1;//-1 = disable check
21 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
22 //----------------------------------------------------------------------------------------------------------------------
23
24 //INGREDIENTS
25 //ingredient 1
26 InsertIngredient(0,"ChickenFeather");//you can insert multiple ingredients this way
27
28 m_IngredientAddHealth[0] = 0;// 0 = do nothing
29 m_IngredientSetHealth[0] = -1; // -1 = do nothing
30 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
31 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
32 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
33
34 //ingredient 2
35 InsertIngredient(1,"Ammo_SharpStick");//you can insert multiple ingredients this way
36
37 m_IngredientAddHealth[1] = 0;// 0 = do nothing
38 m_IngredientSetHealth[1] = -1; // -1 = do nothing
39 m_IngredientAddQuantity[1] = -1;// 0 = do nothing
40 m_IngredientDestroy[1] = false;// false = do nothing
41 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
42 //----------------------------------------------------------------------------------------------------------------------
43
44 //result1
45 AddResult("Ammo_ArrowPrimitive");//add results here
46
47 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
48 m_ResultSetQuantity[0] = 1;//-1 = do nothing
49 m_ResultSetHealth[0] = -1;//-1 = do nothing
50 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
51 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
52 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
53 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
54 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
55 }

Перекрестные ссылки m_Name.

◆ Init() [15/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftArrowBone0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Ammo_ArrowPrimitive");//you can insert multiple ingredients this way
28 //TODO check whether ammho has "quantity" that can be read here
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Bone");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = -1;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("Ammo_ArrowBoned");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = 1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [16/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftBait0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Worm");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Hook");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("Bait");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [17/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftBaseBallBatBarbed0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
15
20
21
22 //ingredient 1
23 InsertIngredient(0,"BarbedWire");//you can insert multiple ingredients this way
24
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
28 m_IngredientDestroy[0] = true;
29 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
30
31 //ingredient 2
32 InsertIngredient(1,"BaseballBat");//you can insert multiple ingredients this way
33
35 m_IngredientSetHealth[1] = -1; // -1 = do nothing
37 m_IngredientDestroy[1] = true;
38 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
39
40 // crafting multiple results
41 //AddResult("CombatKnife");//additional results, must be processed individually in Do method (as "results" parameter)
42
43
44 AddResult("BarbedBaseballBat");//single result
46 m_ResultSetQuantity[0] = -1;
47 m_ResultSetHealth[0] = -1;
48 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
49 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
50 m_ResultToInventory[0] = 1; //(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
51 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
52 m_ResultReplacesIngredient[0] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
53 }

Перекрестные ссылки m_Name.

◆ Init() [18/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftBaseBallBatNailed0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
15
20
21
22 //ingredient 1
23 InsertIngredient(0,"Nail");//you can insert multiple ingredients this way
24
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
28 m_IngredientDestroy[0] = false;
29 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
30
31 //ingredient 2
32 InsertIngredient(1,"BaseballBat");//you can insert multiple ingredients this way
33
35 m_IngredientSetHealth[1] = -1; // -1 = do nothing
37 m_IngredientDestroy[1] = true;
38 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
39
40 // crafting multiple results
41 //AddResult("CombatKnife");//additional results, must be processed individually in Do method (as "results" parameter)
42
43
44 AddResult("NailedBaseballBat");//single result
46 m_ResultSetQuantity[0] = -1;
47 m_ResultSetHealth[0] = -1;
48 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
49 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
50 m_ResultToInventory[0] = 1; //(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
51 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
52 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
53 }

Перекрестные ссылки m_Name.

◆ Init() [19/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftBloodBagIV0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"StartKitIV");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"BloodBagFull");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("BloodBagIV");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [20/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftBoneBait0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Worm");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"BoneHook");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("BoneBait");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [21/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftImprovisedHook0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Bone");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63 InsertIngredient(1,"Iceaxe");
64
65 m_IngredientAddHealth[1] = -3;// 0 = do nothing
66 m_IngredientSetHealth[1] = -1; // -1 = do nothing
67 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
68 m_IngredientDestroy[1] = false;// false = do nothing
69 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("BoneHook");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = -1;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83 }

Перекрестные ссылки m_Name.

◆ Init() [22/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftBoneKnife0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredientEx(0,"Bone","BoneKnife_stone");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Stone");//you can insert multiple ingredients this way
37 InsertIngredient(1,"SmallStone");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = false;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 AddResult("BoneKnife");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [23/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftBow0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Rope");//you can insert multiple ingredients this way
28 //InsertIngredient(0,"ImprovisedRope");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
33 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"LongWoodenStick");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = true;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 AddResult("QuickieBow");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [24/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftBurlapStrips0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"BurlapSack"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
28 m_IngredientDestroy[0] = true; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"Sickle"); //you can insert multiple ingredients this way
32 InsertIngredient(1,"KukriKnife");
33 InsertIngredient(1,"FangeKnife");
34 InsertIngredient(1,"Hacksaw");
35 InsertIngredient(1,"HandSaw");
36 InsertIngredient(1,"KitchenKnife");
37 InsertIngredient(1,"SteakKnife");
38 InsertIngredient(1,"HayHook");
39 InsertIngredient(1,"StoneKnife");
40 InsertIngredient(1,"Cleaver");
41 InsertIngredient(1,"CombatKnife");
42 InsertIngredient(1,"HuntingKnife");
43 InsertIngredient(1,"Machete");
44 InsertIngredient(1,"CrudeMachete");
45 InsertIngredient(1,"OrientalMachete");
46 InsertIngredient(1,"Screwdriver");
47 InsertIngredient(1,"Crowbar");
48 InsertIngredient(1,"Pickaxe");
49 InsertIngredient(1,"WoodAxe");
50 InsertIngredient(1,"Hatchet");
51 InsertIngredient(1,"FirefighterAxe");
52 InsertIngredient(1,"Sword");
53 InsertIngredient(1,"AK_Bayonet");
54 InsertIngredient(1,"M9A1_Bayonet");
55 InsertIngredient(1,"Mosin_Bayonet");
56 InsertIngredient(1,"SKS_Bayonet");
57 InsertIngredient(1,"BoneKnife");
58 InsertIngredient(1,"Iceaxe");
59
60 m_IngredientAddHealth[1] = -2; // 0 = do nothing
61 m_IngredientSetHealth[1] = -1; // -1 = do nothing
62 m_IngredientAddQuantity[1] = 0; // 0 = do nothing
63 m_IngredientDestroy[1] = false; // false = do nothing
64
65 //----------------------------------------------------------------------------------------------------------------------
66 //RESULTS
67 //result1
68 AddResult("BurlapStrip"); // add results here
69
70 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
71 m_ResultSetQuantity[0] = -1; // -1 = do nothing
72 m_ResultSetHealth[0] = -1; // -1 = do nothing
73 m_ResultInheritsHealth[0] = 0; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
74 m_ResultInheritsColor[0] = -1; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
75 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
76 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
77 }

Перекрестные ссылки m_Name.

◆ Init() [25/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftCamoNetShelter0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 2;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"CamoNet");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"LongWoodenStick");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("CamoNetShelter");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [26/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftCookingStand0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 2;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = -1;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 2;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = -1;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26
27 //ingredient 1
28 InsertIngredient(0,"WoodenStick");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = -2;// 0 = do nothing
33 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"LongWoodenStick");
38 InsertIngredient(1,"SharpWoodenStick");
39
40 m_IngredientAddHealth[1] = 0;// 0 = do nothing
41 m_IngredientSetHealth[1] = -1; // -1 = do nothing
42 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
43 m_IngredientDestroy[1] = true;// false = do nothing
44 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
45 //----------------------------------------------------------------------------------------------------------------------
46
47 //result1
48 AddResult("CookingStand");//add results here
49
50 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
51 m_ResultSetQuantity[0] = -1;//-1 = do nothing
52 m_ResultSetHealth[0] = -1;//-1 = do nothing
53 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
54 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
55 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
56 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
57 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58 }

Перекрестные ссылки m_Name.

◆ Init() [27/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftCourierBag0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"BurlapSack");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Rope");//you can insert multiple ingredients this way
37 //InsertIngredient(1,"ImprovisedRope");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = true;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 AddResult("CourierBag");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [28/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftFeathers0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"Sickle"); // you can insert multiple ingredients this way
24 InsertIngredient(0,"Hacksaw");
25 InsertIngredient(0,"HandSaw");
26 InsertIngredient(0,"KitchenKnife");
27 InsertIngredient(0,"SteakKnife");
28 InsertIngredient(0,"HayHook");
29 InsertIngredient(0,"StoneKnife");
30 InsertIngredient(0,"Cleaver");
31 InsertIngredient(0,"CombatKnife");
32 InsertIngredient(0,"HuntingKnife");
33 InsertIngredient(0,"KukriKnife");
34 InsertIngredient(0,"FangeKnife");
35 InsertIngredient(0,"Machete");
36 InsertIngredient(0,"CrudeMachete");
37 InsertIngredient(0,"OrientalMachete");
38 InsertIngredient(0,"Screwdriver");
39 InsertIngredient(0,"Crowbar");
40 InsertIngredient(0,"Pickaxe");
41 InsertIngredient(0,"WoodAxe");
42 InsertIngredient(0,"Hatchet");
43 InsertIngredient(0,"FirefighterAxe");
44 InsertIngredient(0,"Sword");
45 InsertIngredient(0,"AK_Bayonet");
46 InsertIngredient(0,"M9A1_Bayonet");
47 InsertIngredient(0,"Mosin_Bayonet");
48 InsertIngredient(0,"SKS_Bayonet");
49 InsertIngredient(0,"FarmingHoe");
50 InsertIngredient(0,"Shovel");
51 InsertIngredient(0,"FieldShovel");
52 InsertIngredient(0,"BoneKnife");
53 InsertIngredient(0,"Iceaxe");
54
55 m_IngredientAddHealth[0] = -2; // 0 = do nothing
56 m_IngredientSetHealth[0] = -1; // -1 = do nothing
57 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
58 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
59
60
61 //ingredient 2
62 InsertIngredientEx(1,"Inventory_Base","Rags_craft"); //you can insert multiple ingredients this way
63
67 m_IngredientDestroy[1] = true;
68
69 //----------------------------------------------------------------------------------------------------------------------
70 //RESULTS
71 //result1
72 AddResult("ChickenFeather");//add results here
73
74 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
75 m_ResultSetQuantity[0] = -1; // -1 = do nothing
76 m_ResultSetHealth[0] = -1; // -1 = do nothing
77 m_ResultInheritsHealth[0] = 1; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
78 m_ResultInheritsColor[0] = -1; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
79 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
80 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
81 }

Перекрестные ссылки m_Name.

◆ Init() [29/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_craftfencebase0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; //-1 = disable check
11 m_MaxDamageIngredient[0] = 3; //-1 = disable check
12 m_MinQuantityIngredient[0] = 1; //-1 = disable check
13 m_MaxQuantityIngredient[0] = -1; //-1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredientEx(0,"Rope","ShelterKit_craft"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = -1; // 0 = do nothing
28 m_IngredientDestroy[0] = true; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"WoodenStick");
32 InsertIngredient(1,"Ammo_SharpStick");
33
37 m_IngredientDestroy[1] = false;
38
39 //----------------------------------------------------------------------------------------------------------------------
40 //RESULTS
41 //result1
42 AddResult("FenceKit"); // add results here
43
44 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
45 m_ResultSetQuantity[0] = -1; // -1 = do nothing
46 m_ResultSetHealth[0] = -1; // -1 = do nothing
47 m_ResultInheritsHealth[0] = -2; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
48 m_ResultInheritsColor[0] = -1; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
49 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
50 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
51 }

Перекрестные ссылки m_Name.

◆ Init() [30/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftFireplace0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredientEx(0,"WoodenStick" , "FireplaceDeploy");//you can insert multiple ingredients this way
28 InsertIngredientEx(0,"Firewood" , "FireplaceDeploy_firewood");//you can insert multiple ingredients this way
29 InsertIngredientEx(0,"Rag" , "FireplaceDeploy");//you can insert multiple ingredients this way
30 InsertIngredientEx(0,"BandageDressing" , "FireplaceDeploy");//you can insert multiple ingredients this way
31 InsertIngredientEx(0,"Paper" , "FireplaceDeploy");//you can insert multiple ingredients this way
32 InsertIngredientEx(0,"ItemBook" , "FireplaceDeploy");//you can insert multiple ingredients this way
33 InsertIngredientEx(0,"Bark_Birch" , "FireplaceDeploy");//you can insert multiple ingredients this way
34 InsertIngredientEx(0,"Bark_Oak" , "FireplaceDeploy");//you can insert multiple ingredients this way
35
36 m_IngredientAddHealth[0] = 0;// 0 = do nothing
37 m_IngredientSetHealth[0] = -1; // -1 = do nothing
38 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
39 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
40 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
41
42 //ingredient 2
43 InsertIngredient(1,"WoodenStick");//you can insert multiple ingredients this way
44 InsertIngredient(1,"Firewood");//you can insert multiple ingredients this way
45 InsertIngredient(1,"Rag");//you can insert multiple ingredients this way
46 InsertIngredient(1,"BandageDressing");//you can insert multiple ingredients this way
47 InsertIngredient(1,"Paper");//you can insert multiple ingredients this way
48 InsertIngredient(1,"GiftWrapPaper");//you can insert multiple ingredients this way
49 InsertIngredient(1,"ItemBook");//you can insert multiple ingredients this way
50 InsertIngredient(1,"Bark_Birch");//you can insert multiple ingredients this way
51 InsertIngredient(1,"Bark_Oak");//you can insert multiple ingredients this way
52 InsertIngredient(1,"EyeMask_ColorBase");//you can insert multiple ingredients this way
53
54 m_IngredientAddHealth[1] = 0;// 0 = do nothing
55 m_IngredientSetHealth[1] = -1; // -1 = do nothing
56 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
57 m_IngredientDestroy[1] = false;// false = do nothing
58 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
59 //----------------------------------------------------------------------------------------------------------------------
60
61 //result1
62 AddResult("Fireplace");//add results here
63
64 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
65 m_ResultSetQuantity[0] = -1;//-1 = do nothing
66 m_ResultSetHealth[0] = -1;//-1 = do nothing
67 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
68 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
69 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
70 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
71 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
72 }

Перекрестные ссылки m_Name.

◆ Init() [31/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftFishingRod0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Rope");//you can insert multiple ingredients this way
28 //InsertIngredient(0,"ImprovisedRope");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
33 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"LongWoodenStick");//you can insert multiple ingredients this way
38 InsertIngredient(1,"SharpWoodenStick");//you can insert multiple ingredients this way
39
40 m_IngredientAddHealth[1] = 0;// 0 = do nothing
41 m_IngredientSetHealth[1] = -1; // -1 = do nothing
42 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
43 m_IngredientDestroy[1] = true;// false = do nothing
44 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
45 //----------------------------------------------------------------------------------------------------------------------
46
47 //result1
48 AddResult("ImprovisedFishingRod");//add results here
49
50 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
51 m_ResultSetQuantity[0] = -1;//-1 = do nothing
52 m_ResultSetHealth[0] = -1;//-1 = do nothing
53 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
54 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
55 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
56 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
57 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58 }

Перекрестные ссылки m_Name.

◆ Init() [32/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftFishNetTrap0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 2;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Netting");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"MetalWire");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = -1;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("FishNetTrap");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [33/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftImprovisedFilter";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"WaterBottle");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"NioshFaceMask");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("GasMask_Filter_Improvised");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = 0;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [34/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftGhillieAttachment0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 2;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Netting");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"BurlapStrip");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = -2;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("GhillieAtt_Tan");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [35/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftGhillieBushrag0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 2;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 4;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Netting");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -2;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"BurlapStrip");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = -4;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("GhillieBushrag_Tan");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [36/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftGhillieHood0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 2;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Netting");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"BurlapStrip");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = -2;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("GhillieHood_Tan");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [37/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftGhillieSuit0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 4;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 10;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Netting");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -4;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"BurlapStrip");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = -10;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("GhillieSuit_Tan");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [38/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftGhillieTop0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 3;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 6;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Netting");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -3;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"BurlapStrip");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = -6;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("GhillieTop_Tan");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [39/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftGorkaHelmetComplete0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"GorkaHelmet");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GorkaHelmetVisor");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("GorkaHelmetComplete_");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [40/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftGutsRope0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 250;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Guts");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"KitchenKnife");
40 InsertIngredient(1,"SteakKnife");
41 InsertIngredient(1,"HayHook");
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,"Pickaxe");
50 InsertIngredient(1,"WoodAxe");
51 InsertIngredient(1,"Hatchet");
52 InsertIngredient(1,"FirefighterAxe");
53 InsertIngredient(1,"Sword");
54 InsertIngredient(1,"AK_Bayonet");
55 InsertIngredient(1,"M9A1_Bayonet");
56 InsertIngredient(1,"Mosin_Bayonet");
57 InsertIngredient(1,"SKS_Bayonet");
58 InsertIngredient(1,"BoneKnife");
59
60 m_IngredientAddHealth[1] = -5;// 0 = do nothing
61 m_IngredientSetHealth[1] = -1; // -1 = do nothing
62 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
63 m_IngredientDestroy[1] = false;// false = do nothing
64 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
65 //----------------------------------------------------------------------------------------------------------------------
66
67 //result1
68 AddResult("Rope");//add results here
69
70 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
71 m_ResultSetQuantity[0] = -1;//-1 = do nothing
72 m_ResultSetHealth[0] = -1;//-1 = do nothing
73 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
74 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
75 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
76 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
77 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
78 }

Перекрестные ссылки m_Name.

◆ Init() [41/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftHandDrillKit0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredientEx(0,"Bark_Oak" , "HandDrill_craft");//you can insert multiple ingredients this way
28 InsertIngredientEx(0,"Bark_Birch" , "HandDrill_craft");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
33 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"WoodenStick");//you can insert multiple ingredients this way
38 InsertIngredient(1,"Ammo_SharpStick");//you can insert multiple ingredients this way
39
40 m_IngredientAddHealth[1] = 0;// 0 = do nothing
41 m_IngredientSetHealth[1] = -1; // -1 = do nothing
42 m_IngredientAddQuantity[1] = -1;// 0 = do nothing
43 m_IngredientDestroy[1] = false;// false = do nothing
44 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
45 //----------------------------------------------------------------------------------------------------------------------
46
47 //result1
48 AddResult("HandDrillKit");//add results here
49
50 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
51 m_ResultSetQuantity[0] = -1;//-1 = do nothing
52 m_ResultSetHealth[0] = -1;//-1 = do nothing
53 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
54 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
55 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
56 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
57 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58 }

Перекрестные ссылки m_Name.

◆ Init() [42/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftImprovisedBag0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 2;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 3;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"WoodenStick");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -3;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"CourierBag");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("ImprovisedBag");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [43/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftImprovisedExplosive";
6
7 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
8 m_AnimationLength = 2;//animation length in relative time units
9 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
10
11
12 //conditions
13 m_MinDamageIngredient[0] = -1;//-1 = disable check
14 m_MaxDamageIngredient[0] = 3;//-1 = disable check
15
16 m_MinQuantityIngredient[0] = 1;//-1 = disable check
17 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
18
19 m_MinDamageIngredient[1] = -1;//-1 = disable check
20 m_MaxDamageIngredient[1] = 3;//-1 = disable check
21
22 m_MinQuantityIngredient[1] = -1;//-1 = disable check
23 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
24 //----------------------------------------------------------------------------------------------------------------------
25
26 //INGREDIENTS
27 //ingredient 1
28 InsertIngredientEx(0,"SmallProtectorCase" , "ImprovisedExplosive");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = -3;// 0 = do nothing
33 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"ElectronicRepairKit");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = true;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 AddResult("ImprovisedExplosive");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [44/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftImprovisedLeatherBag0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 2;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 3;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"WoodenStick");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -3;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"FurCourierBag");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("FurImprovisedBag");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [45/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftLeatherCourierBag0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 2;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"WildboarPelt");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Rope");//you can insert multiple ingredients this way
37 //InsertIngredient(1,"ImprovisedRope");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = true;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 AddResult("FurCourierBag");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [46/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftLeatherSack0";//"CRAFT LEATHER SACK";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
11 m_MinDamageIngredient[0] = -1;//-1 = disable check
12 m_MaxDamageIngredient[0] = 3;//-1 = disable check
13
14 m_MinQuantityIngredient[0] = -1;//-1 = disable check
15 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
16
17 m_MinDamageIngredient[1] = -1;//-1 = disable check
18 m_MaxDamageIngredient[1] = 3;//-1 = disable check
19
20 m_MinQuantityIngredient[1] = -1;//-1 = disable check
21 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
22 //----------------------------------------------------------------------------------------------------------------------
23
24 //INGREDIENTS
25 //ingredient 1
26 InsertIngredient(0,"TannedLeather");//you can insert multiple ingredients this way
27 m_IngredientAddHealth[0] = 0;// 0 = do nothing
28 m_IngredientSetHealth[0] = -1; // -1 = do nothing
29 m_IngredientAddQuantity[0] = -2;// 0 = do nothing
30 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
31 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
32
33 //ingredient 2
34 InsertIngredient(1,"LeatherSewingKit");//you can insert multiple ingredients this way
35
36 m_IngredientAddHealth[1] = 0;// 0 = do nothing
37 m_IngredientSetHealth[1] = -1; // -1 = do nothing
38 m_IngredientAddQuantity[1] = -10;// 0 = do nothing
39 m_IngredientDestroy[1] = false;// false = do nothing
40 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
41 //----------------------------------------------------------------------------------------------------------------------
42
43 //result1
44 AddResult("LeatherSack_Brown");//add results here
45
46 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
47 m_ResultSetQuantity[0] = -1;//-1 = do nothing
48 m_ResultSetHealth[0] = -1;//-1 = do nothing
49 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
50 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
51 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
52 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
53 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
54 }

Перекрестные ссылки m_Name.

◆ Init() [47/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftTorch0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Rag");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"LongWoodenStick");//you can insert multiple ingredients this way
37 InsertIngredient(1,"SharpWoodenStick");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = -1;// 0 = do nothing
42 m_IngredientDestroy[1] = false;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 AddResult("LongTorch");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [48/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_craftMetalWire";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10 m_AnywhereInInventory = false;//is this recipe valid even when neither of the items is in hands
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"BarbedWire");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Pliers");
37
38 m_IngredientAddHealth[1] = -0.5;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("MetalWire");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = 1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56
57 //----------------------------------------------------------------------------------------------------------------------
58 }
bool m_AnywhereInInventory
Definition RecipeBase.c:27

Перекрестные ссылки m_Name.

◆ Init() [49/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftRabbitSnare0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"WoodenStick");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"MetalWire");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 AddResult("RabbitSnareTrap");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [50/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftRag0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"Sickle"); // you can insert multiple ingredients this way
24 InsertIngredient(0,"Hacksaw");
25 InsertIngredient(0,"HandSaw");
26 InsertIngredient(0,"KitchenKnife");
27 InsertIngredient(0,"SteakKnife");
28 InsertIngredient(0,"HayHook");
29 InsertIngredient(0,"StoneKnife");
30 InsertIngredient(0,"Cleaver");
31 InsertIngredient(0,"CombatKnife");
32 InsertIngredient(0,"HuntingKnife");
33 InsertIngredient(0,"KukriKnife");
34 InsertIngredient(0,"FangeKnife");
35 InsertIngredient(0,"Machete");
36 InsertIngredient(0,"CrudeMachete");
37 InsertIngredient(0,"OrientalMachete");
38 InsertIngredient(0,"Screwdriver");
39 InsertIngredient(0,"Crowbar");
40 InsertIngredient(0,"Pickaxe");
41 InsertIngredient(0,"WoodAxe");
42 InsertIngredient(0,"Hatchet");
43 InsertIngredient(0,"FirefighterAxe");
44 InsertIngredient(0,"Sword");
45 InsertIngredient(0,"AK_Bayonet");
46 InsertIngredient(0,"M9A1_Bayonet");
47 InsertIngredient(0,"Mosin_Bayonet");
48 InsertIngredient(0,"SKS_Bayonet");
49 InsertIngredient(0,"FarmingHoe");
50 InsertIngredient(0,"Shovel");
51 InsertIngredient(0,"FieldShovel");
52 InsertIngredient(0,"BoneKnife");
53 InsertIngredient(0,"Iceaxe");
54
55 m_IngredientAddHealth[0] = -2; // 0 = do nothing
56 m_IngredientSetHealth[0] = -1; // -1 = do nothing
57 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
58 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
59
60
61 //ingredient 2
62 InsertIngredientEx(1,"Inventory_Base","Rags_craft"); //you can insert multiple ingredients this way
63
67 m_IngredientDestroy[1] = true;
68
69 //----------------------------------------------------------------------------------------------------------------------
70 //RESULTS
71 //result1
72 AddResult("Rag");//add results here
73
74 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
75 m_ResultSetQuantity[0] = -1; // -1 = do nothing
76 m_ResultSetHealth[0] = -1; // -1 = do nothing
77 m_ResultInheritsHealth[0] = 1; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
78 m_ResultInheritsColor[0] = -1; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
79 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
80 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
81 }

Перекрестные ссылки m_Name.

◆ Init() [51/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftRagRope0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 6;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 6;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Rag");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -6;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Rag");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = -6;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("Rope");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [52/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftSalineBagIV0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"StartKitIV");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"SalineBag");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("SalineBagIV");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [53/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftShelterKit0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 4;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredientEx(0,"Rope","ShelterKit_craft");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"WoodenStick");//you can insert multiple ingredients this way
37 InsertIngredient(1,"Ammo_SharpStick");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = -4;// 0 = do nothing
42 m_IngredientDestroy[1] = false;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 AddResult("ShelterKit");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [54/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftSmallFishTrap0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
15 m_MinDamageIngredient[1] = -1; // -1 = disable check
16 m_MaxDamageIngredient[1] = 3; // -1 = disable check
17 m_MinQuantityIngredient[1] = -1; // -1 = disable check
18 m_MaxQuantityIngredient[1] = -1; // -1 = disable check
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"WaterBottle"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
28 m_IngredientDestroy[0] = true; // true = destroy, false = do nothing
29 m_IngredientUseSoftSkills[0] = false; // set 'true' to allow modification of the values by softskills on this ingredient
30
31 //ingredient 2
32 InsertIngredient(1,"Sickle"); // you can insert multiple ingredients this way
33 InsertIngredient(1,"KukriKnife");
34 InsertIngredient(1,"FangeKnife");
35 InsertIngredient(1,"Hacksaw");
36 InsertIngredient(1,"HandSaw");
37 InsertIngredient(1,"KitchenKnife");
38 InsertIngredient(1,"SteakKnife");
39 InsertIngredient(1,"HayHook");
40 InsertIngredient(1,"StoneKnife");
41 InsertIngredient(1,"Cleaver");
42 InsertIngredient(1,"CombatKnife");
43 InsertIngredient(1,"HuntingKnife");
44 InsertIngredient(1,"Machete");
45 InsertIngredient(1,"CrudeMachete");
46 InsertIngredient(1,"OrientalMachete");
47 InsertIngredient(1,"Screwdriver");
48 InsertIngredient(1,"Crowbar");
49 InsertIngredient(1,"Pickaxe");
50 InsertIngredient(1,"WoodAxe");
51 InsertIngredient(1,"Hatchet");
52 InsertIngredient(1,"FirefighterAxe");
53 InsertIngredient(1,"Sword");
54 InsertIngredient(1,"AK_Bayonet");
55 InsertIngredient(1,"M9A1_Bayonet");
56 InsertIngredient(1,"Mosin_Bayonet");
57 InsertIngredient(1,"SKS_Bayonet");
58 InsertIngredient(1,"BoneKnife");
59 InsertIngredient(1,"Iceaxe");
60
61 m_IngredientAddHealth[1] = -5; // 0 = do nothing
62 m_IngredientSetHealth[1] = -1; // -1 = do nothing
63 m_IngredientAddQuantity[1] = 0; // 0 = do nothing
64 m_IngredientDestroy[1] = false; // false = do nothing
65
66 //----------------------------------------------------------------------------------------------------------------------
67 //RESULTS
68 //result1
69 AddResult("SmallFishTrap"); // add results here
70
71 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
72 m_ResultSetQuantity[0] = 1; // -1 = do nothing
73 m_ResultSetHealth[0] = -1; // -1 = do nothing
74 m_ResultInheritsHealth[0] = 0; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
75 m_ResultInheritsColor[0] = -1; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
76 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
77 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
78 }

Перекрестные ссылки m_Name.

◆ Init() [55/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftSpear0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"BoneKnife");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"LongWoodenStick");//you can insert multiple ingredients this way
37 InsertIngredient(1,"SharpWoodenStick");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = true;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------+
45
46 //result1
47 AddResult("SpearBone");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [56/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftSpear0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable che
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"StoneKnife");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"LongWoodenStick");//you can insert multiple ingredients this way
37 InsertIngredient(1,"SharpWoodenStick");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = true;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 AddResult("SpearStone");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [57/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftSplint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 //In the context of this recipe Check CanDo method as Rags can be stacked but bandages can't
16 m_MinQuantityIngredient[0] = 1;//-1 = disable check
17 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
18
19 m_MinDamageIngredient[1] = -1;//-1 = disable check
20 m_MaxDamageIngredient[1] = 3;//-1 = disable check
21
22 m_MinQuantityIngredient[1] = 2;//-1 = disable check
23 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
24 //----------------------------------------------------------------------------------------------------------------------
25
26 //INGREDIENTS
27 //ingredient 1
28 InsertIngredient(0,"BandageDressing");//you can insert multiple ingredients this way
29 InsertIngredient(0,"Rag");//you can insert multiple ingredients this way
30 InsertIngredient(0,"DuctTape");//you can insert multiple ingredients this way
31 InsertIngredient(0,"Shemag_ColorBase");//you can insert multiple ingredients this way
32
33
34 m_IngredientAddHealth[0] = 0;// 0 = do nothing
35 m_IngredientSetHealth[0] = -1; // -1 = do nothing
36 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
37 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
38 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
39
40 //ingredient 2
41 InsertIngredient(1,"WoodenStick");//you can insert multiple ingredients this way
42
43 m_IngredientAddHealth[1] = 0;// 0 = do nothing
44 m_IngredientSetHealth[1] = -1; // -1 = do nothing
45 m_IngredientAddQuantity[1] = -2;// 0 = do nothing
46 m_IngredientDestroy[1] = false;// false = do nothing
47 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
48 //----------------------------------------------------------------------------------------------------------------------
49
50 //result1
51 AddResult("Splint");//add results here
52
53 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
54 m_ResultSetQuantity[0] = -1;//-1 = do nothing
55 m_ResultSetHealth[0] = -1;//-1 = do nothing
56 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
57 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
58 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
59 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
60 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
61 }

Перекрестные ссылки m_Name.

◆ Init() [58/202]

override void Init ( )
inlineprivate
4 {
5
6 m_Name = "#STR_CraftStoneKnife0";
7 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
8 m_AnimationLength = 1.5;//animation length in relative time units
9 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
10
11
12 //conditions
13 m_MinDamageIngredient[0] = -1;//-1 = disable check
14 m_MaxDamageIngredient[0] = 3;//-1 = disable check
15
16 m_MinQuantityIngredient[0] = 1;//-1 = disable check
17 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
18
19 m_MinDamageIngredient[1] = -1;//-1 = disable check
20 m_MaxDamageIngredient[1] = 3;//-1 = disable check
21
22 m_MinQuantityIngredient[1] = 1;//-1 = disable check
23 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
24 //----------------------------------------------------------------------------------------------------------------------
25
26 //INGREDIENTS
27 //ingredient 1
28 InsertIngredient(0,"SmallStone");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
33 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"SmallStone");//you can insert multiple ingredients this way
38 InsertIngredient(1,"Stone");//you can insert multiple ingredients this way
39
40
41 m_IngredientAddHealth[1] = 0;// 0 = do nothing
42 m_IngredientSetHealth[1] = -1; // -1 = do nothing
43 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
44 m_IngredientDestroy[1] = false;// false = do nothing
45 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
46 //----------------------------------------------------------------------------------------------------------------------
47
48 //result1
49 AddResult("StoneKnife");//add results here
50
51 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
52 m_ResultSetQuantity[0] = -1;//-1 = do nothing
53 m_ResultSetHealth[0] = -1;//-1 = do nothing
54 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
55 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
56 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
57 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
58 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
59 }

Перекрестные ссылки m_Name.

◆ Init() [59/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftSuppressor0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 25;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"WaterBottle");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"DuctTape");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = -25;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("ImprovisedSuppressor");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [60/202]

override void Init ( )
inlineprivate
7 {
8 m_Name = "#STR_CraftTannedLeather0";
9 m_IsInstaRecipe = false; //should this recipe be performed instantly without animation
10 m_AnimationLength = 1; //animation length in relative time units
11 m_Specialty = 0.02; // value > 0 for roughness, value < 0 for precision
12
14 //conditions
15 m_MinDamageIngredient[0] = -1; //-1 = disable check
16 m_MaxDamageIngredient[0] = 3; //-1 = disable check
17
18 m_MinQuantityIngredient[0] = -1; //-1 = disable check
19 m_MaxQuantityIngredient[0] = -1; //-1 = disable check
20
21 m_MinDamageIngredient[1] = -1; //-1 = disable check
22 m_MaxDamageIngredient[1] = 3; //-1 = disable check
23
24 m_MinQuantityIngredient[1] = -1; //-1 = disable check
25 m_MaxQuantityIngredient[1] = -1; //-1 = disable check
26
27 //INGREDIENTS
28 //ingredient 1
29 InsertIngredient(0, "Pelt_Base"); //you can insert multiple ingredients this way
30
31 m_IngredientAddHealth[0] = 0; // 0 = do nothing
32 m_IngredientSetHealth[0] = -1; // -1 = do nothing
33 m_IngredientAddQuantity[0] = -1; // 0 = do nothing
34 m_IngredientDestroy[0] = true; //true = destroy, false = do nothing
35 m_IngredientUseSoftSkills[0] = false; // set 'true' to allow modification of the values by softskills on this ingredient
36
37 //ingredient 2
38 InsertIngredient(1, "GardenLime"); //you can insert multiple ingredients this way
39
40 m_IngredientAddHealth[1] = 0; // 0 = do nothing
41 m_IngredientSetHealth[1] = -1; // -1 = do nothing
42 m_IngredientAddQuantity[1] = 0; // 0 = do nothing
43 m_IngredientDestroy[1] = false; //true = destroy, false = do nothing
44 m_IngredientUseSoftSkills[1] = false; // set 'true' to allow modification of the values by softskills on this ingredient
45
46 //----------------------------------------------------------------------------------------------------------------------
47 }

Перекрестные ссылки m_Name.

◆ Init() [61/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#craft_territoryflag_kit";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 3;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredientEx(0,"Rope","ShelterKit_craft");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"WoodenStick");//you can insert multiple ingredients this way
37 InsertIngredient(1,"Ammo_SharpStick");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = -3;// 0 = do nothing
42 m_IngredientDestroy[1] = false;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 AddResult("TerritoryFlagKit");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [62/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftTripWire0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 2;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"WoodenStick");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -2;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"MetalWire");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("TripwireTrap");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [63/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftTruck01DoubleWheel0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Truck_01_Wheel");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = -1;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Truck_01_Wheel");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = -1;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("Truck_01_WheelDouble");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [64/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#craft_watchtower_kit";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 4;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredientEx(0,"Rope","ShelterKit_craft");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"WoodenStick");//you can insert multiple ingredients this way
37 InsertIngredient(1,"Ammo_SharpStick");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = -4;// 0 = do nothing
42 m_IngredientDestroy[1] = false;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 AddResult("WatchtowerKit");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [65/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#craft " + "#STR_cfgvehicles_wooden_case0"; //oink, create proper string
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 2;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 8;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 16;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"WoodenPlank");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -8;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Nail");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = -16;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("WoodenCrate");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [66/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftImprovisedHook0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19 //----------------------------------------------------------------------------------------------------------------------
20
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"WoodenStick"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = -1; // 0 = do nothing
28 m_IngredientDestroy[0] = false; //true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"Sickle");
32 InsertIngredient(1,"KukriKnife");
33 InsertIngredient(1,"FangeKnife");
34 InsertIngredient(1,"Hacksaw");
35 InsertIngredient(1,"HandSaw");
36 InsertIngredient(1,"KitchenKnife");
37 InsertIngredient(1,"SteakKnife");
38 InsertIngredient(1,"HayHook");
39 InsertIngredient(1,"StoneKnife");
40 InsertIngredient(1,"Cleaver");
41 InsertIngredient(1,"CombatKnife");
42 InsertIngredient(1,"HuntingKnife");
43 InsertIngredient(1,"Machete");
44 InsertIngredient(1,"CrudeMachete");
45 InsertIngredient(1,"OrientalMachete");
46 InsertIngredient(1,"Screwdriver");
47 InsertIngredient(1,"Crowbar");
48 InsertIngredient(1,"Pickaxe");
49 InsertIngredient(1,"WoodAxe");
50 InsertIngredient(1,"Hatchet");
51 InsertIngredient(1,"FirefighterAxe");
52 InsertIngredient(1,"Sword");
53 InsertIngredient(1,"AK_Bayonet");
54 InsertIngredient(1,"M9A1_Bayonet");
55 InsertIngredient(1,"Mosin_Bayonet");
56 InsertIngredient(1,"SKS_Bayonet");
57 InsertIngredient(1,"BoneKnife");
58 InsertIngredient(1,"Iceaxe");
59
63 m_IngredientDestroy[1] = false;
64
65 //----------------------------------------------------------------------------------------------------------------------
66 //RESULTS
67 //result1
68 AddResult("WoodenHook"); // add results here
69
70 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
71 m_ResultSetQuantity[0] = -1; // -1 = do nothing
72 m_ResultSetHealth[0] = -1; // -1 = do nothing
73 m_ResultInheritsHealth[0] = 0; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
74 m_ResultInheritsColor[0] = -1; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
75 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
76 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
77
78 AddResult("WoodenHook");
79
80 m_ResultSetFullQuantity[1] = false;
81 m_ResultSetQuantity[1] = -1;
82 m_ResultSetHealth[1] = -1;
85 m_ResultToInventory[1] = -2;
87 }

Перекрестные ссылки m_Name.

◆ Init() [67/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_CraftWoodenPlank0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = 1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"WoodenLog"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = -1; // 0 = do nothing
28 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"Hacksaw");
32 InsertIngredient(1,"HandSaw");
33
37 m_IngredientDestroy[1] = false;
38
39 //----------------------------------------------------------------------------------------------------------------------
40 //RESULTS
41 //result1
42 AddResult("WoodenPlank"); // add results here
43
44 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
45 m_ResultSetQuantity[0] = 4; // -1 = do nothing
46 m_ResultSetHealth[0] = -1; // -1 = do nothing
47 m_ResultInheritsHealth[0] = 0; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
48 m_ResultInheritsColor[0] = -1; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
49 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
50 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
51 }

Перекрестные ссылки m_Name.

◆ Init() [68/202]

override void Init ( )
inlineprivate
4 {
5
6 }

◆ Init() [69/202]

override void Init ( )
inlineprivate
6 {
7 m_Name = "#STR_breakdown0";
8 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
9 m_AnimationLength = 1; // animation length in relative time units
10
11 //conditions
12 m_MinDamageIngredient[0] = -1; // -1 = disable check
13 m_MaxDamageIngredient[0] = 3; // -1 = disable check
14 m_MinQuantityIngredient[0] = -1; // -1 = disable check
15 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
16
21
22 //----------------------------------------------------------------------------------------------------------------------
23 //INGREDIENTS
24 //ingredient 1
25 InsertIngredient(0,"Armband_ColorBase"); // you can insert multiple ingredients this way
26 m_IngredientAddHealth[0] = 0; // 0 = do nothing
27 m_IngredientSetHealth[0] = -1; // -1 = do nothing
28 m_IngredientAddQuantity[0] = -1; // 0 = do nothing
29 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
30
31 //ingredient 2
32 InsertIngredient(1,"Sickle");
33 InsertIngredient(1,"KukriKnife");
34 InsertIngredient(1,"FangeKnife");
35 InsertIngredient(1,"Hacksaw");
36 InsertIngredient(1,"HandSaw");
37 InsertIngredient(1,"KitchenKnife");
38 InsertIngredient(1,"SteakKnife");
39 InsertIngredient(1,"HayHook");
40 InsertIngredient(1,"StoneKnife");
41 InsertIngredient(1,"Cleaver");
42 InsertIngredient(1,"CombatKnife");
43 InsertIngredient(1,"HuntingKnife");
44 InsertIngredient(1,"Machete");
45 InsertIngredient(1,"CrudeMachete");
46 InsertIngredient(1,"OrientalMachete");
47 InsertIngredient(1,"Screwdriver");
48 InsertIngredient(1,"Crowbar");
49 InsertIngredient(1,"Pickaxe");
50 InsertIngredient(1,"WoodAxe");
51 InsertIngredient(1,"Hatchet");
52 InsertIngredient(1,"FirefighterAxe");
53 InsertIngredient(1,"Sword");
54 InsertIngredient(1,"AK_Bayonet");
55 InsertIngredient(1,"M9A1_Bayonet");
56 InsertIngredient(1,"Mosin_Bayonet");
57 InsertIngredient(1,"SKS_Bayonet");
58 InsertIngredient(1,"BoneKnife");
59
64
65 //----------------------------------------------------------------------------------------------------------------------
66 //RESULTS
67 //result1
68 AddResult("Rag");
69
72 m_ResultSetHealth[0] = -1;
75 m_ResultToInventory[0] = -2;
77 }

Перекрестные ссылки m_Name.

◆ Init() [70/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"QuickieBow");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -12;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("LongWoodenStick");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = -1;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //----------------------------------------------------------------------------------------------------------------------
85 }

Перекрестные ссылки m_Name.

◆ Init() [71/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"CamoNetShelter");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"Mosin_Bayonet");
62 InsertIngredient(1,"SKS_Bayonet");
63 InsertIngredient(1,"BoneKnife");
64
65 m_IngredientAddHealth[1] = -12;// 0 = do nothing
66 m_IngredientSetHealth[1] = -1; // -1 = do nothing
67 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
68 m_IngredientDestroy[1] = false;// false = do nothing
69 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
70
71 //----------------------------------------------------------------------------------------------------------------------
72
73 //result1
74 AddResult("LongWoodenStick");//add results here
75
76 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
77 m_ResultSetQuantity[0] = -1;//-1 = do nothing
78 m_ResultSetHealth[0] = -1;//-1 = do nothing
79 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
80 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
81 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
82 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
83 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
84
85 //result2
86 AddResult("CamoNet");//add results here
87
88 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
89 m_ResultSetQuantity[1] = -1;// -1 = do nothing
90 m_ResultSetHealth[1] = -1;// -1 = do nothing
91 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
92 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
93 m_ResultToInventory[1] = false;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
94 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
95 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
96 //----------------------------------------------------------------------------------------------------------------------
97 }

Перекрестные ссылки m_Name.

◆ Init() [72/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"PlateCarrierComplete");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"KitchenKnife");
41 InsertIngredient(1,"SteakKnife");
42 InsertIngredient(1,"HayHook");
43 InsertIngredient(1,"StoneKnife");
44 InsertIngredient(1,"Cleaver");
45 InsertIngredient(1,"CombatKnife");
46 InsertIngredient(1,"HuntingKnife");
47 InsertIngredient(1,"Machete");
48 InsertIngredient(1,"CrudeMachete");
49 InsertIngredient(1,"OrientalMachete");
50 InsertIngredient(1,"Screwdriver");
51 InsertIngredient(1,"Crowbar");
52 InsertIngredient(1,"Pickaxe");
53 InsertIngredient(1,"WoodAxe");
54 InsertIngredient(1,"Hatchet");
55 InsertIngredient(1,"FirefighterAxe");
56 InsertIngredient(1,"Sword");
57 InsertIngredient(1,"AK_Bayonet");
58 InsertIngredient(1,"M9A1_Bayonet");
59 InsertIngredient(1,"Mosin_Bayonet");
60 InsertIngredient(1,"SKS_Bayonet");
61 InsertIngredient(1,"BoneKnife");
62
63 m_IngredientAddHealth[1] = -5;// 0 = do nothing
64 m_IngredientSetHealth[1] = -1; // -1 = do nothing
65 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
66 m_IngredientDestroy[1] = false;// false = do nothing
67 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
68 //----------------------------------------------------------------------------------------------------------------------
69
70 //result1
71 AddResult("PlateCarrierBlank");//add results here
72
73 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
74 m_ResultSetQuantity[0] = -1;//-1 = do nothing
75 m_ResultSetHealth[0] = -1;//-1 = do nothing
76 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
77 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
78 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
79 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
80 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
81
82 //result2
83 AddResult("CarrierHolsterSolo");//add results here
84
85 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
86 m_ResultSetQuantity[1] = -1;//-1 = do nothing
87 m_ResultSetHealth[1] = -1;//-1 = do nothing
88 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
89 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
90 m_ResultToInventory[1] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
91 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
92 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
93
94 //result3
95 AddResult("CarrierPouches");//add results here
96
97 m_ResultSetFullQuantity[2] = false;//true = set full quantity, false = do nothing
98 m_ResultSetQuantity[2] = -1;//-1 = do nothing
99 m_ResultSetHealth[2] = -1;//-1 = do nothing
100 m_ResultInheritsHealth[2] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
101 m_ResultInheritsColor[2] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
102 m_ResultToInventory[2] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
103 m_ResultUseSoftSkills[2] = false;// set 'true' to allow modification of the values by softskills on this result
104 m_ResultReplacesIngredient[2] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
105 }

Перекрестные ссылки m_Name.

◆ Init() [73/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"PlateCarrierHolster");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"KitchenKnife");
41 InsertIngredient(1,"SteakKnife");
42 InsertIngredient(1,"HayHook");
43 InsertIngredient(1,"StoneKnife");
44 InsertIngredient(1,"Cleaver");
45 InsertIngredient(1,"CombatKnife");
46 InsertIngredient(1,"HuntingKnife");
47 InsertIngredient(1,"Machete");
48 InsertIngredient(1,"CrudeMachete");
49 InsertIngredient(1,"OrientalMachete");
50 InsertIngredient(1,"Screwdriver");
51 InsertIngredient(1,"Crowbar");
52 InsertIngredient(1,"Pickaxe");
53 InsertIngredient(1,"WoodAxe");
54 InsertIngredient(1,"Hatchet");
55 InsertIngredient(1,"FirefighterAxe");
56 InsertIngredient(1,"Sword");
57 InsertIngredient(1,"AK_Bayonet");
58 InsertIngredient(1,"M9A1_Bayonet");
59 InsertIngredient(1,"Mosin_Bayonet");
60 InsertIngredient(1,"SKS_Bayonet");
61 InsertIngredient(1,"BoneKnife");
62
63 m_IngredientAddHealth[1] = -5;// 0 = do nothing
64 m_IngredientSetHealth[1] = -1; // -1 = do nothing
65 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
66 m_IngredientDestroy[1] = false;// false = do nothing
67 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
68 //----------------------------------------------------------------------------------------------------------------------
69
70 //result1
71 AddResult("PlateCarrierBlank");//add results here
72
73 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
74 m_ResultSetQuantity[0] = -1;//-1 = do nothing
75 m_ResultSetHealth[0] = -1;//-1 = do nothing
76 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
77 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
78 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
79 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
80 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
81
82 //result2
83 AddResult("CarrierHolsterSolo");//add results here
84
85 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
86 m_ResultSetQuantity[1] = -1;//-1 = do nothing
87 m_ResultSetHealth[1] = -1;//-1 = do nothing
88 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
89 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
90 m_ResultToInventory[1] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
91 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
92 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
93 }

Перекрестные ссылки m_Name.

◆ Init() [74/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"PlateCarrierPouches");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"KitchenKnife");
41 InsertIngredient(1,"SteakKnife");
42 InsertIngredient(1,"HayHook");
43 InsertIngredient(1,"StoneKnife");
44 InsertIngredient(1,"Cleaver");
45 InsertIngredient(1,"CombatKnife");
46 InsertIngredient(1,"HuntingKnife");
47 InsertIngredient(1,"Machete");
48 InsertIngredient(1,"CrudeMachete");
49 InsertIngredient(1,"OrientalMachete");
50 InsertIngredient(1,"Screwdriver");
51 InsertIngredient(1,"Crowbar");
52 InsertIngredient(1,"Pickaxe");
53 InsertIngredient(1,"WoodAxe");
54 InsertIngredient(1,"Hatchet");
55 InsertIngredient(1,"FirefighterAxe");
56 InsertIngredient(1,"Sword");
57 InsertIngredient(1,"AK_Bayonet");
58 InsertIngredient(1,"M9A1_Bayonet");
59 InsertIngredient(1,"Mosin_Bayonet");
60 InsertIngredient(1,"SKS_Bayonet");
61 InsertIngredient(1,"BoneKnife");
62
63 m_IngredientAddHealth[1] = -5;// 0 = do nothing
64 m_IngredientSetHealth[1] = -1; // -1 = do nothing
65 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
66 m_IngredientDestroy[1] = false;// false = do nothing
67 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
68 //----------------------------------------------------------------------------------------------------------------------
69
70 //result1
71 AddResult("PlateCarrierBlank");//add results here
72
73 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
74 m_ResultSetQuantity[0] = -1;//-1 = do nothing
75 m_ResultSetHealth[0] = -1;//-1 = do nothing
76 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
77 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
78 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
79 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
80 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
81
82 //result2
83 AddResult("CarrierPouches");//add results here
84
85 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
86 m_ResultSetQuantity[1] = -1;//-1 = do nothing
87 m_ResultSetHealth[1] = -1;//-1 = do nothing
88 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
89 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
90 m_ResultToInventory[1] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
91 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
92 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
93 }

Перекрестные ссылки m_Name.

◆ Init() [75/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"CookingStand");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -12;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("WoodenStick");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 5;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //----------------------------------------------------------------------------------------------------------------------
85 }

Перекрестные ссылки m_Name.

◆ Init() [76/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"CourierBag");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -5;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("BurlapSack");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = -1;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //result2
85 AddResult("Rope");//add results here
86
87 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
88 m_ResultSetQuantity[1] = -1;// -1 = do nothing
89 m_ResultSetHealth[1] = -1;// -1 = do nothing
90 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
91 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
92 m_ResultToInventory[1] = false;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
93 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
94 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
95 //----------------------------------------------------------------------------------------------------------------------
96 }

Перекрестные ссылки m_Name.

◆ Init() [77/202]

override void Init ( )
inlineprivate
6 {
7 m_Name = "#STR_breakdown0";
8 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
9 m_AnimationLength = 1;//animation length in relative time units
10 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
11
12 //conditions
17
22
23
24 //ingredient 1
25 InsertIngredient(0,"RemoteDetonator");//you can insert multiple ingredients this way
26
28 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
32
33 //ingredient 2
34 InsertIngredient(1,"Screwdriver");//you can insert multiple ingredients this way
35
36
38 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
42
43 // crafting multiple results
44
45
46 AddResult("Battery9V");//single result
47
50 m_ResultSetHealth[0] = -1;
51 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [78/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"ImprovisedFishingRod");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"KitchenKnife");
41 InsertIngredient(1,"SteakKnife");
42 InsertIngredient(1,"HayHook");
43 InsertIngredient(1,"StoneKnife");
44 InsertIngredient(1,"Cleaver");
45 InsertIngredient(1,"CombatKnife");
46 InsertIngredient(1,"HuntingKnife");
47 InsertIngredient(1,"Machete");
48 InsertIngredient(1,"CrudeMachete");
49 InsertIngredient(1,"OrientalMachete");
50 InsertIngredient(1,"Screwdriver");
51 InsertIngredient(1,"Crowbar");
52 InsertIngredient(1,"Pickaxe");
53 InsertIngredient(1,"WoodAxe");
54 InsertIngredient(1,"Hatchet");
55 InsertIngredient(1,"FirefighterAxe");
56 InsertIngredient(1,"Sword");
57 InsertIngredient(1,"AK_Bayonet");
58 InsertIngredient(1,"M9A1_Bayonet");
59 InsertIngredient(1,"Mosin_Bayonet");
60 InsertIngredient(1,"SKS_Bayonet");
61 InsertIngredient(1,"BoneKnife");
62
63 m_IngredientAddHealth[1] = -5;// 0 = do nothing
64 m_IngredientSetHealth[1] = -1; // -1 = do nothing
65 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
66 m_IngredientDestroy[1] = false;// false = do nothing
67 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
68
69 //----------------------------------------------------------------------------------------------------------------------
70
71 //result1
72 AddResult("LongWoodenStick");//add results here
73
74 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
75 m_ResultSetQuantity[0] = -1;//-1 = do nothing
76 m_ResultSetHealth[0] = -1;//-1 = do nothing
77 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
78 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
79 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
80 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
81 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
82
83 //result2
84 AddResult("Rope");//add results here
85
86 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
87 m_ResultSetQuantity[1] = -1;//-1 = do nothing
88 m_ResultSetHealth[1] = -1;//-1 = do nothing
89 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
90 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
91 m_ResultToInventory[1] = false;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
92 m_ResultUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this result
93 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
94 //----------------------------------------------------------------------------------------------------------------------
95 }

Перекрестные ссылки m_Name.

◆ Init() [79/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 2;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"FishNetTrap");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = 0;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
69 //----------------------------------------------------------------------------------------------------------------------
70
71 //result1
72 AddResult("MetalWire");//add results here
73
74 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
75 m_ResultSetQuantity[0] = -1;//-1 = do nothing
76 m_ResultSetHealth[0] = -1;//-1 = do nothing
77 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
78 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
79 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
80 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
81 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
82
83 // result 2
84 AddResult("Netting");//add results here
85
86 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
87 m_ResultSetQuantity[1] = 1;//-1 = do nothing
88 m_ResultSetHealth[1] = -1;//-1 = do nothing
89 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
90 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
91 m_ResultToInventory[1] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
92 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
93 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
94 }

Перекрестные ссылки m_Name.

◆ Init() [80/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"GhillieAtt_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -5;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("Netting");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 1;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //result2
85 AddResult("BurlapStrip");//add results here
86
87 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
88 m_ResultSetQuantity[1] = 1;// -1 = do nothing
89 m_ResultSetHealth[1] = -1;// -1 = do nothing
90 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
91 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
92 m_ResultToInventory[1] = false;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
93 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
94 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
95 //----------------------------------------------------------------------------------------------------------------------
96 }

Перекрестные ссылки m_Name.

◆ Init() [81/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23
24 //----------------------------------------------------------------------------------------------------------------------
25
26 //INGREDIENTS
27 //ingredient 1
28 InsertIngredient(0,"GhillieBushrag_ColorBase");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
33 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
38 InsertIngredient(1,"KukriKnife");
39 InsertIngredient(1,"FangeKnife");
40 InsertIngredient(1,"Hacksaw");
41 InsertIngredient(1,"HandSaw");
42 InsertIngredient(1,"KitchenKnife");
43 InsertIngredient(1,"SteakKnife");
44 InsertIngredient(1,"HayHook");
45 InsertIngredient(1,"StoneKnife");
46 InsertIngredient(1,"Cleaver");
47 InsertIngredient(1,"CombatKnife");
48 InsertIngredient(1,"HuntingKnife");
49 InsertIngredient(1,"Machete");
50 InsertIngredient(1,"CrudeMachete");
51 InsertIngredient(1,"OrientalMachete");
52 InsertIngredient(1,"Screwdriver");
53 InsertIngredient(1,"Crowbar");
54 InsertIngredient(1,"Pickaxe");
55 InsertIngredient(1,"WoodAxe");
56 InsertIngredient(1,"Hatchet");
57 InsertIngredient(1,"FirefighterAxe");
58 InsertIngredient(1,"Sword");
59 InsertIngredient(1,"AK_Bayonet");
60 InsertIngredient(1,"M9A1_Bayonet");
61 InsertIngredient(1,"Mosin_Bayonet");
62 InsertIngredient(1,"SKS_Bayonet");
63 InsertIngredient(1,"BoneKnife");
64
65 m_IngredientAddHealth[1] = -5;// 0 = do nothing
66 m_IngredientSetHealth[1] = -1; // -1 = do nothing
67 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
68 m_IngredientDestroy[1] = false;// false = do nothing
69 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
70
71 //----------------------------------------------------------------------------------------------------------------------
72
73 //result1
74 AddResult("Netting");//add results here
75
76 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
77 m_ResultSetQuantity[0] = 2;//-1 = do nothing
78 m_ResultSetHealth[0] = -1;//-1 = do nothing
79 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
80 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
81 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
82 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
83 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
84
85 //result2
86 AddResult("BurlapStrip");//add results here
87
88 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
89 m_ResultSetQuantity[1] = 2;// -1 = do nothing
90 m_ResultSetHealth[1] = -1;// -1 = do nothing
91 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
92 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
93 m_ResultToInventory[1] = false;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
94 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
95 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
96 //----------------------------------------------------------------------------------------------------------------------
97 }

Перекрестные ссылки m_Name.

◆ Init() [82/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23
24 //----------------------------------------------------------------------------------------------------------------------
25
26 //INGREDIENTS
27 //ingredient 1
28 InsertIngredient(0,"GhillieHood_ColorBase");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
33 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
38 InsertIngredient(1,"KukriKnife");
39 InsertIngredient(1,"FangeKnife");
40 InsertIngredient(1,"Hacksaw");
41 InsertIngredient(1,"HandSaw");
42 InsertIngredient(1,"KitchenKnife");
43 InsertIngredient(1,"SteakKnife");
44 InsertIngredient(1,"HayHook");
45 InsertIngredient(1,"StoneKnife");
46 InsertIngredient(1,"Cleaver");
47 InsertIngredient(1,"CombatKnife");
48 InsertIngredient(1,"HuntingKnife");
49 InsertIngredient(1,"Machete");
50 InsertIngredient(1,"CrudeMachete");
51 InsertIngredient(1,"OrientalMachete");
52 InsertIngredient(1,"Screwdriver");
53 InsertIngredient(1,"Crowbar");
54 InsertIngredient(1,"Pickaxe");
55 InsertIngredient(1,"WoodAxe");
56 InsertIngredient(1,"Hatchet");
57 InsertIngredient(1,"FirefighterAxe");
58 InsertIngredient(1,"Sword");
59 InsertIngredient(1,"AK_Bayonet");
60 InsertIngredient(1,"M9A1_Bayonet");
61 InsertIngredient(1,"Mosin_Bayonet");
62 InsertIngredient(1,"SKS_Bayonet");
63 InsertIngredient(1,"BoneKnife");
64
65 m_IngredientAddHealth[1] = -5;// 0 = do nothing
66 m_IngredientSetHealth[1] = -1; // -1 = do nothing
67 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
68 m_IngredientDestroy[1] = false;// false = do nothing
69 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
70
71 //----------------------------------------------------------------------------------------------------------------------
72
73 //result1
74 AddResult("Netting");//add results here
75
76 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
77 m_ResultSetQuantity[0] = 1;//-1 = do nothing
78 m_ResultSetHealth[0] = -1;//-1 = do nothing
79 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
80 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
81 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
82 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
83 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
84
85 //result2
86 AddResult("BurlapStrip");//add results here
87
88 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
89 m_ResultSetQuantity[1] = 1;// -1 = do nothing
90 m_ResultSetHealth[1] = -1;// -1 = do nothing
91 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
92 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
93 m_ResultToInventory[1] = false;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
94 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
95 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
96 //----------------------------------------------------------------------------------------------------------------------
97 }

Перекрестные ссылки m_Name.

◆ Init() [83/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23
24 //----------------------------------------------------------------------------------------------------------------------
25
26 //INGREDIENTS
27 //ingredient 1
28 InsertIngredient(0,"GhillieSuit_ColorBase");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
33 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
38 InsertIngredient(1,"KukriKnife");
39 InsertIngredient(1,"FangeKnife");
40 InsertIngredient(1,"Hacksaw");
41 InsertIngredient(1,"HandSaw");
42 InsertIngredient(1,"KitchenKnife");
43 InsertIngredient(1,"SteakKnife");
44 InsertIngredient(1,"HayHook");
45 InsertIngredient(1,"StoneKnife");
46 InsertIngredient(1,"Cleaver");
47 InsertIngredient(1,"CombatKnife");
48 InsertIngredient(1,"HuntingKnife");
49 InsertIngredient(1,"Machete");
50 InsertIngredient(1,"CrudeMachete");
51 InsertIngredient(1,"OrientalMachete");
52 InsertIngredient(1,"Screwdriver");
53 InsertIngredient(1,"Crowbar");
54 InsertIngredient(1,"Pickaxe");
55 InsertIngredient(1,"WoodAxe");
56 InsertIngredient(1,"Hatchet");
57 InsertIngredient(1,"FirefighterAxe");
58 InsertIngredient(1,"Sword");
59 InsertIngredient(1,"AK_Bayonet");
60 InsertIngredient(1,"M9A1_Bayonet");
61 InsertIngredient(1,"Mosin_Bayonet");
62 InsertIngredient(1,"SKS_Bayonet");
63
64 m_IngredientAddHealth[1] = -5;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("Netting");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 4;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //result2
85 AddResult("BurlapStrip");//add results here
86
87 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
88 m_ResultSetQuantity[1] = 5;// -1 = do nothing
89 m_ResultSetHealth[1] = -1;// -1 = do nothing
90 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
91 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
92 m_ResultToInventory[1] = false;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
93 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
94 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
95 //----------------------------------------------------------------------------------------------------------------------
96 }

Перекрестные ссылки m_Name.

◆ Init() [84/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23
24 //----------------------------------------------------------------------------------------------------------------------
25
26 //INGREDIENTS
27 //ingredient 1
28 InsertIngredient(0,"GhillieTop_ColorBase");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
33 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
38 InsertIngredient(1,"KukriKnife");
39 InsertIngredient(1,"FangeKnife");
40 InsertIngredient(1,"Hacksaw");
41 InsertIngredient(1,"HandSaw");
42 InsertIngredient(1,"KitchenKnife");
43 InsertIngredient(1,"SteakKnife");
44 InsertIngredient(1,"HayHook");
45 InsertIngredient(1,"StoneKnife");
46 InsertIngredient(1,"Cleaver");
47 InsertIngredient(1,"CombatKnife");
48 InsertIngredient(1,"HuntingKnife");
49 InsertIngredient(1,"Machete");
50 InsertIngredient(1,"CrudeMachete");
51 InsertIngredient(1,"OrientalMachete");
52 InsertIngredient(1,"Screwdriver");
53 InsertIngredient(1,"Crowbar");
54 InsertIngredient(1,"Pickaxe");
55 InsertIngredient(1,"WoodAxe");
56 InsertIngredient(1,"Hatchet");
57 InsertIngredient(1,"FirefighterAxe");
58 InsertIngredient(1,"Sword");
59 InsertIngredient(1,"AK_Bayonet");
60 InsertIngredient(1,"M9A1_Bayonet");
61 InsertIngredient(1,"Mosin_Bayonet");
62 InsertIngredient(1,"SKS_Bayonet");
63 InsertIngredient(1,"BoneKnife");
64
65 m_IngredientAddHealth[1] = -5;// 0 = do nothing
66 m_IngredientSetHealth[1] = -1; // -1 = do nothing
67 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
68 m_IngredientDestroy[1] = false;// false = do nothing
69 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
70
71 //----------------------------------------------------------------------------------------------------------------------
72
73 //result1
74 AddResult("Netting");//add results here
75
76 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
77 m_ResultSetQuantity[0] = 3;//-1 = do nothing
78 m_ResultSetHealth[0] = -1;//-1 = do nothing
79 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
80 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
81 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
82 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
83 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
84
85 //result2
86 AddResult("BurlapStrip");//add results here
87
88 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
89 m_ResultSetQuantity[1] = 3;// -1 = do nothing
90 m_ResultSetHealth[1] = -1;// -1 = do nothing
91 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
92 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
93 m_ResultToInventory[1] = false;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
94 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
95 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
96 //----------------------------------------------------------------------------------------------------------------------
97 }

Перекрестные ссылки m_Name.

◆ Init() [85/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"HandDrillKit");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -12;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("WoodenStick");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 1;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //----------------------------------------------------------------------------------------------------------------------
85 }

Перекрестные ссылки m_Name.

◆ Init() [86/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"ImprovisedBag");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -5;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("WoodenStick");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 3;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //result2
85 AddResult("BurlapSack");//add results here
86
87 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
88 m_ResultSetQuantity[1] = -1;// -1 = do nothing
89 m_ResultSetHealth[1] = -1;// -1 = do nothing
90 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
91 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
92 m_ResultToInventory[1] = false;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
93 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
94 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
95 //----------------------------------------------------------------------------------------------------------------------
96 }

Перекрестные ссылки m_Name.

◆ Init() [87/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"FurImprovisedBag");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -5;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("WoodenStick");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 1;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //result2
85 AddResult("WildboarPelt");//add results here
86
87 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
88 m_ResultSetQuantity[1] = 3;// -1 = do nothing
89 m_ResultSetHealth[1] = -1;// -1 = do nothing
90 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
91 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
92 m_ResultToInventory[1] = false;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
93 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
94 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
95 //----------------------------------------------------------------------------------------------------------------------
96 }

Перекрестные ссылки m_Name.

◆ Init() [88/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"FurCourierBag");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"BoneKnife");
44 InsertIngredient(1,"HayHook");
45 InsertIngredient(1,"StoneKnife");
46 InsertIngredient(1,"Cleaver");
47 InsertIngredient(1,"CombatKnife");
48 InsertIngredient(1,"HuntingKnife");
49 InsertIngredient(1,"Machete");
50 InsertIngredient(1,"CrudeMachete");
51 InsertIngredient(1,"OrientalMachete");
52 InsertIngredient(1,"Screwdriver");
53 InsertIngredient(1,"Crowbar");
54 InsertIngredient(1,"Pickaxe");
55 InsertIngredient(1,"WoodAxe");
56 InsertIngredient(1,"Hatchet");
57 InsertIngredient(1,"FirefighterAxe");
58 InsertIngredient(1,"Sword");
59 InsertIngredient(1,"AK_Bayonet");
60 InsertIngredient(1,"M9A1_Bayonet");
61 InsertIngredient(1,"Mosin_Bayonet");
62 InsertIngredient(1,"SKS_Bayonet");
63
64 m_IngredientAddHealth[1] = -5;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("WildboarPelt");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 1;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //result2
85 AddResult("Rope");//add results here
86
87 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
88 m_ResultSetQuantity[1] = -1;// -1 = do nothing
89 m_ResultSetHealth[1] = -1;// -1 = do nothing
90 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
91 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
92 m_ResultToInventory[1] = false;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
93 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
94 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
95 //----------------------------------------------------------------------------------------------------------------------
96 }

Перекрестные ссылки m_Name.

◆ Init() [89/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_DeCraftLeatherSack0";//"BREAK LEATHER SACK";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
11 m_MinDamageIngredient[0] = -1;//-1 = disable check
12 m_MaxDamageIngredient[0] = 3;//-1 = disable check
13
14 m_MinQuantityIngredient[0] = -1;//-1 = disable check
15 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
16
17 m_MinDamageIngredient[1] = -1;//-1 = disable check
18 m_MaxDamageIngredient[1] = 3;//-1 = disable check
19
20 m_MinQuantityIngredient[1] = -1;//-1 = disable check
21 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
22 //----------------------------------------------------------------------------------------------------------------------
23
24 //INGREDIENTS
25 //ingredient 1
26 InsertIngredient(0,"LeatherSack_ColorBase");//you can insert multiple ingredients this way
27
28 m_IngredientAddHealth[0] = 0;// 0 = do nothing
29 m_IngredientSetHealth[0] = -1; // -1 = do nothing
30 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
31 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
32 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
33
34 //ingredient 2
35 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
36 InsertIngredient(1,"KukriKnife");
37 InsertIngredient(1,"FangeKnife");
38 InsertIngredient(1,"Hacksaw");
39 InsertIngredient(1,"HandSaw");
40 InsertIngredient(1,"KitchenKnife");
41 InsertIngredient(1,"SteakKnife");
42 InsertIngredient(1,"HayHook");
43 InsertIngredient(1,"StoneKnife");
44 InsertIngredient(1,"Cleaver");
45 InsertIngredient(1,"CombatKnife");
46 InsertIngredient(1,"HuntingKnife");
47 InsertIngredient(1,"Machete");
48 InsertIngredient(1,"CrudeMachete");
49 InsertIngredient(1,"OrientalMachete");
50 InsertIngredient(1,"Screwdriver");
51 InsertIngredient(1,"Crowbar");
52 InsertIngredient(1,"Pickaxe");
53 InsertIngredient(1,"WoodAxe");
54 InsertIngredient(1,"Hatchet");
55 InsertIngredient(1,"FirefighterAxe");
56 InsertIngredient(1,"Sword");
57 InsertIngredient(1,"AK_Bayonet");
58 InsertIngredient(1,"M9A1_Bayonet");
59 InsertIngredient(1,"Mosin_Bayonet");
60 InsertIngredient(1,"SKS_Bayonet");
61 InsertIngredient(1,"BoneKnife");
62
63 m_IngredientAddHealth[1] = -12;// 0 = do nothing
64 m_IngredientSetHealth[1] = -1; // -1 = do nothing
65 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
66 m_IngredientDestroy[1] = false;// false = do nothing
67 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
68
69 //----------------------------------------------------------------------------------------------------------------------
70
71 //result1
72 AddResult("TannedLeather");//add results here
73 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
74 m_ResultSetQuantity[0] = 1;//-1 = do nothing
75 m_ResultSetHealth[0] = -1;//-1 = do nothing
76 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
77 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
78 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
79 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
80 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
81 }

Перекрестные ссылки m_Name.

◆ Init() [90/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"RabbitSnareTrap");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -12;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("MetalWire");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 1;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //----------------------------------------------------------------------------------------------------------------------
85 }

Перекрестные ссылки m_Name.

◆ Init() [91/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spear");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -12;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("LongWoodenStick");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = -1;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //----------------------------------------------------------------------------------------------------------------------
85 }

Перекрестные ссылки m_Name.

◆ Init() [92/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Splint");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -5;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("WoodenStick");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 1;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //----------------------------------------------------------------------------------------------------------------------
85 }

Перекрестные ссылки m_Name.

◆ Init() [93/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"TripwireTrap");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
37 InsertIngredient(1,"KukriKnife");
38 InsertIngredient(1,"FangeKnife");
39 InsertIngredient(1,"Hacksaw");
40 InsertIngredient(1,"HandSaw");
41 InsertIngredient(1,"KitchenKnife");
42 InsertIngredient(1,"SteakKnife");
43 InsertIngredient(1,"HayHook");
44 InsertIngredient(1,"StoneKnife");
45 InsertIngredient(1,"Cleaver");
46 InsertIngredient(1,"CombatKnife");
47 InsertIngredient(1,"HuntingKnife");
48 InsertIngredient(1,"Machete");
49 InsertIngredient(1,"CrudeMachete");
50 InsertIngredient(1,"OrientalMachete");
51 InsertIngredient(1,"Screwdriver");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -12;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("MetalWire");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 1;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //----------------------------------------------------------------------------------------------------------------------
85 }

Перекрестные ссылки m_Name.

◆ Init() [94/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_DeCraftTruck01DoubleWheel0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Truck_01_WheelDouble");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = -1;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Crowbar");
37 InsertIngredient(1,"LugWrench");
38
39 m_IngredientAddHealth[1] = -20;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = false;// false = do nothing
43 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
44
45 //----------------------------------------------------------------------------------------------------------------------
46
47 //result1
48 AddResult("Truck_01_Wheel");//add results here
49 //m_ResultSpawnDistance[0] = 1.5;
50 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
51 m_ResultSetQuantity[0] = -1;//-1 = do nothing
52 m_ResultSetHealth[0] = -1;//-1 = do nothing
53 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
54 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
55 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
56 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
57 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58
59 //result2
60 AddResult("Truck_01_Wheel");//add results here
61 //m_ResultSpawnDistance[1] = 2.5;
62 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
63 m_ResultSetQuantity[1] = -1;//-1 = do nothing
64 m_ResultSetHealth[1] = -1;//-1 = do nothing
65 m_ResultInheritsHealth[1] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
66 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
67 m_ResultToInventory[1] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
68 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
69 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
70
71 //----------------------------------------------------------------------------------------------------------------------
72 }

Перекрестные ссылки m_Name.

◆ Init() [95/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_breakdown0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
11 m_MinDamageIngredient[0] = -1;//-1 = disable check
12 m_MaxDamageIngredient[0] = 3;//-1 = disable check
13
14 m_MinQuantityIngredient[0] = -1;//-1 = disable check
15 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
16
17 m_MinDamageIngredient[1] = -1;//-1 = disable check
18 m_MaxDamageIngredient[1] = 3;//-1 = disable check
19
20 m_MinQuantityIngredient[1] = -1;//-1 = disable check
21 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
22 //----------------------------------------------------------------------------------------------------------------------
23
24 //INGREDIENTS
25 //ingredient 1
26 InsertIngredient(0,"WoodenCrate");//you can insert multiple ingredients this way
27
28 m_IngredientAddHealth[0] = 0;// 0 = do nothing
29 m_IngredientSetHealth[0] = -1; // -1 = do nothing
30 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
31 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
32 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
33
34 //ingredient 2
35 InsertIngredient(1,"Crowbar");
36 InsertIngredient(1,"WoodAxe");
37 InsertIngredient(1,"Hatchet");
38 InsertIngredient(1,"FirefighterAxe");
39
40 m_IngredientAddHealth[1] = -20;// 0 = do nothing
41 m_IngredientSetHealth[1] = -1; // -1 = do nothing
42 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
43 m_IngredientDestroy[1] = false;// false = do nothing
44 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
45
46 //----------------------------------------------------------------------------------------------------------------------
47
48 //result1
49 AddResult("WoodenPlank");//add results here
50
51 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
52 m_ResultSetQuantity[0] = 2;//-1 = do nothing
53 m_ResultSetHealth[0] = -1;//-1 = do nothing
54 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
55 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
56 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
57 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
58 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
59
60 //result2
61 AddResult("Nail");//add results here
62
63 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
64 m_ResultSetQuantity[1] = 6;// -1 = do nothing
65 m_ResultSetHealth[1] = -1;// -1 = do nothing
66 m_ResultInheritsHealth[1] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
67 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
68 m_ResultToInventory[1] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
69 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
70 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
71 //----------------------------------------------------------------------------------------------------------------------
72 }

Перекрестные ссылки m_Name.

◆ Init() [96/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#disinfect";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"DisinfectantSpray");//you can insert multiple ingredients this way
28 InsertIngredient(0,"DisinfectantAlcohol");
29 InsertIngredient(0,"IodineTincture");
30
31 m_IngredientAddHealth[0] = 0;// 0 = do nothing
32 m_IngredientSetHealth[0] = -1; // -1 = do nothing
33 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
34 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
35 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
36
37 //ingredient 2
38 InsertIngredient(1,"Inventory_Base");//you can insert multiple ingredients this way
39
40 m_IngredientAddHealth[1] = 0;// 0 = do nothing
41 m_IngredientSetHealth[1] = -1; // -1 = do nothing
42 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
43 m_IngredientDestroy[1] = false;// false = do nothing
44 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
45 //----------------------------------------------------------------------------------------------------------------------
46
47 //result1
48 //AddResult("");//add results here
49
50 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
51 m_ResultSetQuantity[0] = -1;//-1 = do nothing
52 m_ResultSetHealth[0] = -1;//-1 = do nothing
53 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
54 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
55 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
56 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
57 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58 }

Перекрестные ссылки m_Name.

◆ Init() [97/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_DrainLiquid0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 0;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 0;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Pot");//you can insert multiple ingredients this way
28 InsertIngredient(0,"CanisterGasoline");//you can insert multiple ingredients this way
29 InsertIngredient(0,"Canteen");//you can insert multiple ingredients this way
30 InsertIngredient(0,"WaterBottle");//you can insert multiple ingredients this way
31 InsertIngredient(0,"FilteringBottle");//you can insert multiple ingredients this way
32 InsertIngredient(0,"GlassBottle");//you can insert multiple ingredients this way
33 InsertIngredient(0,"WaterPouch_ColorBase");//you can insert multiple ingredients this way
34 InsertIngredient(0,"Barrel_ColorBase");//you can insert multiple ingredients this way
35
36 m_IngredientAddHealth[0] = 0;// 0 = do nothing
37 m_IngredientSetHealth[0] = -1; // -1 = do nothing
38 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
39 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
40 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
41
42 //ingredient 2
43 InsertIngredient(1,"Pot");//you can insert multiple ingredients this way
44 InsertIngredient(1,"CanisterGasoline");//you can insert multiple ingredients this way
45 InsertIngredient(1,"Canteen");//you can insert multiple ingredients this way
46 InsertIngredient(1,"WaterBottle");//you can insert multiple ingredients this way
47 InsertIngredient(1,"FilteringBottle");//you can insert multiple ingredients this way
48 InsertIngredient(1,"GlassBottle");//you can insert multiple ingredients this way
49 InsertIngredient(1,"WaterPouch_ColorBase");//you can insert multiple ingredients this way
50 InsertIngredient(1,"Barrel_ColorBase");//you can insert multiple ingredients this way
51
52 m_IngredientAddHealth[1] = 0;// 0 = do nothing
53 m_IngredientSetHealth[1] = -1; // -1 = do nothing
54 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
55 m_IngredientDestroy[1] = false;// false = do nothing
56 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
57 //----------------------------------------------------------------------------------------------------------------------
58
59 //result1
60 //AddResult("");//add results here
61
62 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
63 m_ResultSetQuantity[0] = -1;//-1 = do nothing
64 m_ResultSetHealth[0] = -1;//-1 = do nothing
65 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
66 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
67 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
68 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
69 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
70 }

Перекрестные ссылки m_Name.

◆ Init() [98/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#extinguish";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20 //TODO SS 2.0 should modify MinQuantity of liquid
21 m_MinQuantityIngredient[1] = 100;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Torch");//you can insert multiple ingredients this way
28 InsertIngredient(0,"Broom");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
33 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"Pot");//you can insert multiple ingredients this way
38 InsertIngredient(1,"CanisterGasoline");//you can insert multiple ingredients this way
39 InsertIngredient(1,"DisinfectantAlcohol");//you can insert multiple ingredients this way
40 InsertIngredient(1,"Canteen");//you can insert multiple ingredients this way
41 InsertIngredient(1,"WaterBottle");//you can insert multiple ingredients this way
42 InsertIngredient(1,"FilteringBottle");//you can insert multiple ingredients this way
43 InsertIngredient(1,"GlassBottle");//you can insert multiple ingredients this way
44 InsertIngredient(1,"WaterPouch_ColorBase");//you can insert multiple ingredients this way
45 InsertIngredient(1,"Barrel_ColorBase");//you can insert multiple ingredients this way
46
47 m_IngredientAddHealth[1] = 0;// 0 = do nothing
48 m_IngredientSetHealth[1] = -1; // -1 = do nothing
49 m_IngredientAddQuantity[1] = -100;// 0 = do nothing
50 m_IngredientDestroy[1] = false;// false = do nothing
51 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
52 //----------------------------------------------------------------------------------------------------------------------
53
54 //result1
55 //AddResult("");//add results here
56
57 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
58 m_ResultSetQuantity[0] = -1;//-1 = do nothing
59 m_ResultSetHealth[0] = -1;//-1 = do nothing
60 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
61 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
62 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
63 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
64 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
65 }

Перекрестные ссылки m_Name.

◆ Init() [99/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_FillFilter";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 0.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"CharcoalTablets");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GasMask_Filter");//you can insert multiple ingredients this way
37 InsertIngredient(1,"GasMask_Filter_Improvised");
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = false;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45 /*
46 //result1
47 //AddResult("GasMask_Filter_Improvised");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = 0;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [100/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#fill";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"InjectionVial");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Syringe");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = true;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("ClearSyringe");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [101/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#refuel";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 0;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Chainsaw");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Pot");//you can insert multiple ingredients this way
37 InsertIngredient(1,"CanisterGasoline");//you can insert multiple ingredients this way
38 InsertIngredient(1,"DisinfectantAlcohol");//you can insert multiple ingredients this way
39 InsertIngredient(1,"Canteen");//you can insert multiple ingredients this way
40 InsertIngredient(1,"WaterBottle");//you can insert multiple ingredients this way
41 InsertIngredient(1,"FilteringBottle");//you can insert multiple ingredients this way
42 InsertIngredient(1,"GlassBottle");//you can insert multiple ingredients this way
43 InsertIngredient(1,"WaterPouch_ColorBase");//you can insert multiple ingredients this way
44 InsertIngredient(1,"Barrel_ColorBase");//you can insert multiple ingredients this way
45
46 m_IngredientAddHealth[1] = 0;// 0 = do nothing
47 m_IngredientSetHealth[1] = -1; // -1 = do nothing
48 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
49 m_IngredientDestroy[1] = false;// false = do nothing
50 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
51 //----------------------------------------------------------------------------------------------------------------------
52
53 //result1
54 //AddResult("");//add results here
55
56 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
57 m_ResultSetQuantity[0] = -1;//-1 = do nothing
58 m_ResultSetHealth[0] = -1;//-1 = do nothing
59 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
60 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
61 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
62 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
63 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
64 }

Перекрестные ссылки m_Name.

◆ Init() [102/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#load_magazine";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 2;//animation length in relative time units
8 m_Specialty = 0;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Ammunition_Base");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Magazine_Base");//you can insert multiple ingredients this way
37
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = false;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 //AddResult("");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [103/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_OpenCan0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10 m_AnywhereInInventory = false;//is this recipe valid even when neither of the items is in hands
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredientEx(0,"BakedBeansCan", "openBeanCan");//you can insert multiple ingredients this way
28 InsertIngredientEx(0,"PeachesCan", "openBeanCan");//you can insert multiple ingredients this way
29 InsertIngredientEx(0,"TacticalBaconCan", "openBeanCan");//you can insert multiple ingredients this way
30 InsertIngredientEx(0,"SpaghettiCan", "openBeanCan");//you can insert multiple ingredients this way
31 InsertIngredientEx(0,"SardinesCan", "openBeanCan");//you can insert multiple ingredients this way
32 InsertIngredientEx(0,"UnknownFoodCan", "openBeanCan");//you can insert multiple ingredients this way
33
34 m_IngredientAddHealth[0] = 0;// 0 = do nothing
35 m_IngredientSetHealth[0] = -1; // -1 = do nothing
36 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
37 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
38 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
39
40 //ingredient 2
41 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
42 InsertIngredient(1,"KukriKnife");
43 InsertIngredient(1,"FangeKnife");
44 InsertIngredient(1,"Hacksaw");
45 InsertIngredient(1,"KitchenKnife");
46 InsertIngredient(1,"SteakKnife");
47 InsertIngredient(1,"StoneKnife");
48 InsertIngredient(1,"CombatKnife");
49 InsertIngredient(1,"HuntingKnife");
50 InsertIngredient(1,"Machete");
51 InsertIngredient(1,"CrudeMachete");
52 InsertIngredient(1,"OrientalMachete");
53 InsertIngredient(1,"AK_Bayonet");
54 InsertIngredient(1,"M9A1_Bayonet");
55 InsertIngredient(1,"Mosin_Bayonet");
56 InsertIngredient(1,"SKS_Bayonet");
57 InsertIngredient(1,"CanOpener");
58 InsertIngredient(1,"FarmingHoe");
59 InsertIngredient(1,"Shovel");
60 InsertIngredient(1,"FieldShovel");
61 InsertIngredient(1,"Crowbar");
62 InsertIngredient(1,"Hammer");
63 InsertIngredient(1,"Mace");
64 InsertIngredient(1,"Wrench");
65 InsertIngredient(1,"LugWrench");
66 InsertIngredient(1,"Screwdriver");
67 InsertIngredient(1,"SledgeHammer");
68 InsertIngredient(1,"BaseballBat");
69 InsertIngredient(1,"NailedBaseballBat");
70 InsertIngredient(1,"BarbedBaseballBat");
71 InsertIngredient(1,"PipeWrench");
72 InsertIngredient(1,"Pickaxe");
73 InsertIngredient(1,"WoodAxe");
74 InsertIngredient(1,"FirefighterAxe");
75 InsertIngredient(1,"Hatchet");
76 InsertIngredient(1,"HandSaw");
77 InsertIngredient(1,"Pliers");
78 InsertIngredient(1,"Spear");
79 InsertIngredient(1,"Pitchfork");
80 InsertIngredient(1,"BoneKnife");
81 InsertIngredient(1,"MeatTenderizer");
82 InsertIngredient(1,"Cleaver");
83 InsertIngredient(1,"Sword");
84 InsertIngredient(1,"Iceaxe");
85
86 m_IngredientAddHealth[1] = -0.5;// 0 = do nothing
87 m_IngredientSetHealth[1] = -1; // -1 = do nothing
88 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
89 m_IngredientDestroy[1] = false;// false = do nothing
90 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
91 //----------------------------------------------------------------------------------------------------------------------
92
93 //result1
94 //AddResult("");//add results here
95
96 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
97 m_ResultSetQuantity[0] = 0;//-1 = do nothing
98 m_ResultSetHealth[0] = -1;//-1 = do nothing
99 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
100 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
101 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
102 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
103 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
104
105 //----------------------------------------------------------------------------------------------------------------------
106 }

Перекрестные ссылки m_Name.

◆ Init() [104/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#widget_unlock";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.03;// value > 0 for roughness, value < 0 for precision
9
10 //----------------------------------------------------------------------------------------------------------------------
11
12 //INGREDIENTS
13 //ingredient 1
14 InsertIngredient(0,"ScientificBriefcase");//you can insert multiple ingredients this way
15
16 m_IngredientAddHealth[0] = 0;// 0 = do nothing
17 m_IngredientSetHealth[0] = -1; // -1 = do nothing
18 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
19 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
20 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
22
23 //ingredient 2
24 InsertIngredient(1,"ScientificBriefcaseKeys");//you can insert multiple ingredients this way
25
26 m_IngredientAddHealth[1] = -2.5;// 0 = do nothing
27 m_IngredientSetHealth[1] = -1; // -1 = do nothing
28 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
29 m_IngredientDestroy[1] = false;// false = do nothing
30 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
32
33 //----------------------------------------------------------------------------------------------------------------------
34 }

Перекрестные ссылки m_Name.

◆ Init() [105/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AK101");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 //AddResult("AK101_");//add results here
47/*
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 */
57 }

Перекрестные ссылки m_Name.

◆ Init() [106/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Mag_AK101_30Rnd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("Mag_AK101_30Rnd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [107/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AK74");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("AK74_");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [108/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Mag_AK74_30Rnd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("Mag_AK74_30Rnd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = 1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [109/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Black");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AK74_Hndgrd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("AK74_Hndgrd_Black");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [110/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AK74_Hndgrd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("AK74_Hndgrd_Camo");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [111/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Black");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AK74_WoodBttstck");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("AK74_WoodBttstck_Black");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [112/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AK74_WoodBttstck");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("AK74_WoodBttstck_Camo");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [113/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AK_FoldingBttstck");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("AK_FoldingBttstck_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [114/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Mag_AKM_Drum75Rnd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("Mag_AKM_Drum75Rnd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = 1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [115/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Mag_AKM_Palm30Rnd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("Mag_AKM_Palm30Rnd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [116/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AK_PlasticBttstck");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("AK_PlasticBttstck_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [117/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AK_RailHndgrd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("AK_RailHndgrd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [118/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AKS74U");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("AKS74U_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [119/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AKS74U_Bttstck");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("AKS74U_Bttstck_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [120/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Black");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AK_WoodBttstck");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("AK_WoodBttstck_Black");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [121/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"AK_WoodBttstck");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("AK_WoodBttstck_Camo");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [122/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"B95");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("B95_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [123/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"BallisticHelmet_ColorBase");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("BallisticHelmet_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [124/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Mag_CMAG_10Rnd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("Mag_CMAG_10Rnd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [125/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Mag_CMAG_20Rnd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("Mag_CMAG_20Rnd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [126/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Mag_CMAG_30Rnd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("Mag_CMAG_30Rnd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [127/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Mag_CMAG_40Rnd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("Mag_CMAG_40Rnd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [128/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"CZ527");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("CZ527_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [129/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Black");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"CZ527_Green");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("CZ527_Camo");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [130/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"CZ527_Black");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("CZ527_Camo");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [131/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"DarkMotoHelmet_ColorBase");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("DarkMotoHelmet_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [132/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"FirefighterAxe");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("FirefighterAxe_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [133/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 40;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Black");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -40;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieAtt_Woodland");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GhillieAtt_Mossy");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [134/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 40;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -40;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieAtt_Tan");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("GhillieAtt_Woodland");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [135/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 40;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -40;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieAtt_Mossy");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GhillieAtt_Woodland");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [136/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 50;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Black");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -50;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieBushrag_Woodland");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GhillieBushrag_Mossy");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [137/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 50;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -50;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieBushrag_Tan");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("GhillieBushrag_Woodland");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = 0;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [138/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 50;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -50;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieBushrag_Mossy");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GhillieBushrag_Woodland");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [139/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 40;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Black");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -40;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieHood_Woodland");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("GhillieHood_Mossy");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [140/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 40;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -40;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieHood_Tan");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GhillieHood_Woodland");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [141/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 40;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -40;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieHood_Mossy");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GhillieHood_Woodland");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [142/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 90;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Black");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -90;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieSuit_Woodland");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 AddResult("GhillieSuit_Mossy");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [143/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 90;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -90;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieSuit_Tan");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GhillieSuit_Woodland");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [144/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 90;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -90;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieSuit_Mossy");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GhillieSuit_Woodland");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [145/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 75;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Black");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -75;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieTop_Woodland");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GhillieTop_Mossy");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [146/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 75;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -75;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieTop_Tan");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GhillieTop_Woodland");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [147/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 75;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -75;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GhillieTop_Mossy");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GhillieTop_Woodland");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [148/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GorkaHelmet");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GorkaHelmet_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [149/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"GorkaHelmetComplete");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("GorkaHelmetComplete_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = 1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [150/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"M4A1");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("M4A1_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [151/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"M4_CQBBttstck");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("M4_CQBBttstck_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [152/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"M4_MPBttstck");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("M4_MPBttstck_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [153/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"M4_MPHndgrd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("M4_MPHndgrd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [154/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"M4_OEBttstck");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("M4_OEBttstck_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [155/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"M4_PlasticHndgrd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("M4_PlasticHndgrd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [156/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"M4_RISHndgrd");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("M4_RISHndgrd_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [157/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Mosin9130");//you can insert multiple ingredients this way
37 InsertIngredient(1,"Mosin9130_Black");//you can insert multiple ingredients this way
38 InsertIngredient(1,"Mosin9130_Green");//you can insert multiple ingredients this way
39 InsertIngredient(1,"Mosin9130_Camo");//you can insert multiple ingredients this way
40
41 m_IngredientAddHealth[1] = 0;// 0 = do nothing
42 m_IngredientSetHealth[1] = -1; // -1 = do nothing
43 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
44 m_IngredientDestroy[1] = false;// false = do nothing
45 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
46 //----------------------------------------------------------------------------------------------------------------------
47
48 //result1
49 /*
50 AddResult("Mosin9130_");//add results here
51
52 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
53 m_ResultSetQuantity[0] = -1;//-1 = do nothing
54 m_ResultSetHealth[0] = -1;//-1 = do nothing
55 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
56 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
57 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
58 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
59 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
60 */
61 }

Перекрестные ссылки m_Name.

◆ Init() [158/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Black");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Mosin9130_Green");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("Mosin9130_Camo");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [159/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Mosin9130_Black");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("Mosin9130_Camo");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [160/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"MotoHelmet_ColorBase");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("MotoHelmet_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [161/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Ruger1022");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("Ruger1022_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [162/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"SawedoffMosin9130");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("SawedoffMosin9130_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [163/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Black");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"SawedoffMosin9130_Green");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("SawedoffMosin9130_Camo");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [164/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_Green");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"SawedoffMosin9130_Black");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("SawedoffMosin9130_Camo");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [165/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"SKS");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("SKS_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [166/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_paint0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 25;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Spraycan_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -25;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"ZSh3PilotHelmet");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 /*
47 AddResult("ZSh3PilotHelmet_");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = 1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -1;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = 1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 */
58 }

Перекрестные ссылки m_Name.

◆ Init() [167/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_PatchItem0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = 1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"LeatherSewingKit");//you can insert multiple ingredients this way
28 InsertIngredient(0,"SewingKit");//you can insert multiple ingredients this way
29 InsertIngredient(0,"TireRepairKit");//you can insert multiple ingredients this way
30
31 m_IngredientAddHealth[0] = 0;// 0 = do nothing
32 m_IngredientSetHealth[0] = -1; // -1 = do nothing
33 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
34 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
35 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
36
37 //ingredient 2
38 InsertIngredient(1,"Inventory_Base");//you can insert multiple ingredients this way
39
40 m_IngredientAddHealth[1] = 0;// 0 = do nothing
41 m_IngredientSetHealth[1] = -1; // -1 = do nothing
42 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
43 m_IngredientDestroy[1] = false;// false = do nothing
44 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
45
46 //----------------------------------------------------------------------------------------------------------------------
47
48 //result1
49 //AddResult("");//add results here
50
51 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
52 m_ResultSetQuantity[0] = -1;//-1 = do nothing
53 m_ResultSetHealth[0] = -1;//-1 = do nothing
54 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
55 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
56 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
57 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
58 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
59
60 //----------------------------------------------------------------------------------------------------------------------
61 }

Перекрестные ссылки m_Name.

◆ Init() [168/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#PeelPotato";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10 m_AnywhereInInventory = false;//is this recipe valid even when neither of the items is in hands
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"PotatoSeed");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
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,"Sword");
54 InsertIngredient(1,"Screwdriver");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"HandSaw");
57 InsertIngredient(1,"BoneKnife");
58
59 m_IngredientAddHealth[1] = -0.5;// 0 = do nothing
60 m_IngredientSetHealth[1] = -1; // -1 = do nothing
61 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
62 m_IngredientDestroy[1] = false;// false = do nothing
63 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
64 //----------------------------------------------------------------------------------------------------------------------
65
66 //result1
67 AddResult("Potato");//add results here
68
69 m_ResultSetFullQuantity[0] = true;//true = set full quantity, false = do nothing
70 m_ResultSetQuantity[0] = -1;//-1 = do nothing
71 m_ResultSetHealth[0] = -1;//-1 = do nothing
72 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means thi s result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
73 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
74 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
75 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
76 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
77
78 //----------------------------------------------------------------------------------------------------------------------
79 }

Перекрестные ссылки m_Name.

◆ Init() [169/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_PokeHolesBarrel0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 2;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
15
20
21
22 //ingredient 1
23 InsertIngredient(0,"Barrel_ColorBase");//you can insert multiple ingredients this way
24
27 m_IngredientSetHealth[0] = -1; // -1 = do nothing
29 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
30
31 //ingredient 2
32 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
33 InsertIngredient(1,"KukriKnife");
34 InsertIngredient(1,"FangeKnife");
35 InsertIngredient(1,"Hacksaw");
36 InsertIngredient(1,"KitchenKnife");
37 InsertIngredient(1,"SteakKnife");
38 InsertIngredient(1,"HayHook");
39 InsertIngredient(1,"StoneKnife");
40 InsertIngredient(1,"Cleaver");
41 InsertIngredient(1,"CombatKnife");
42 InsertIngredient(1,"HuntingKnife");
43 InsertIngredient(1,"Machete");
44 InsertIngredient(1,"CrudeMachete");
45 InsertIngredient(1,"OrientalMachete");
46 InsertIngredient(1,"Screwdriver");
47 InsertIngredient(1,"Crowbar");
48 InsertIngredient(1,"Pickaxe");
49 InsertIngredient(1,"WoodAxe");
50 InsertIngredient(1,"Hatchet");
51 InsertIngredient(1,"FirefighterAxe");
52 InsertIngredient(1,"Sword");
53 InsertIngredient(1,"AK_Bayonet");
54 InsertIngredient(1,"M9A1_Bayonet");
55 InsertIngredient(1,"Mosin_Bayonet");
56 InsertIngredient(1,"SKS_Bayonet");
57
58 m_IngredientAddHealth[1] = -100;
59 m_IngredientSetHealth[1] = -1; // -1 = do nothing
62 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
63
64 // crafting multiple results
65 AddResult("BarrelHoles_");//additional results, must be processed individually in Do method (as "results" parameter)
66
67 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
68 m_ResultSetQuantity[0] = -1;//-1 = do nothing
69 m_ResultSetHealth[0] = -1;//-1 = do nothing
70 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
71 m_ResultInheritsColor[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
72 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
73 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
74 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
75 }

Перекрестные ссылки m_Name.

◆ Init() [170/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_PourLiquid0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 0;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 0;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Pot");//you can insert multiple ingredients this way
28 InsertIngredient(0,"CanisterGasoline");//you can insert multiple ingredients this way
29 InsertIngredient(0,"Canteen");//you can insert multiple ingredients this way
30 InsertIngredient(0,"WaterBottle");//you can insert multiple ingredients this way
31 InsertIngredient(0,"FilteringBottle");//you can insert multiple ingredients this way
32 InsertIngredient(0,"GlassBottle");//you can insert multiple ingredients this way
33 InsertIngredient(0,"WaterPouch_ColorBase");//you can insert multiple ingredients this way
34 InsertIngredient(0,"Barrel_ColorBase");//you can insert multiple ingredients this way
35
36 m_IngredientAddHealth[0] = 0;// 0 = do nothing
37 m_IngredientSetHealth[0] = -1; // -1 = do nothing
38 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
39 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
40 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
41
42 //ingredient 2
43 InsertIngredient(1,"Pot");//you can insert multiple ingredients this way
44 InsertIngredient(1,"CanisterGasoline");//you can insert multiple ingredients this way
45 InsertIngredient(1,"Canteen");//you can insert multiple ingredients this way
46 InsertIngredient(1,"WaterBottle");//you can insert multiple ingredients this way
47 InsertIngredient(1,"FilteringBottle");//you can insert multiple ingredients this way
48 InsertIngredient(1,"GlassBottle");//you can insert multiple ingredients this way
49 InsertIngredient(1,"WaterPouch_ColorBase");//you can insert multiple ingredients this way
50 InsertIngredient(1,"Barrel_ColorBase");//you can insert multiple ingredients this way
51
52 m_IngredientAddHealth[1] = 0;// 0 = do nothing
53 m_IngredientSetHealth[1] = -1; // -1 = do nothing
54 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
55 m_IngredientDestroy[1] = false;// false = do nothing
56 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
57 //----------------------------------------------------------------------------------------------------------------------
58
59 //result1
60 //AddResult("");//add results here
61
62 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
63 m_ResultSetQuantity[0] = -1;//-1 = do nothing
64 m_ResultSetHealth[0] = -1;//-1 = do nothing
65 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
66 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
67 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
68 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
69 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
70 }

Перекрестные ссылки m_Name.

◆ Init() [171/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#skin";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5; // animation length in relative time units
8 m_RecipeUID = DayZPlayerConstants.CMD_ACTIONFB_ANIMALSKINNING;
9
10 //----------------------------------------------------------------------------------------------------------------------
11 //conditions
12 m_MinDamageIngredient[0] = -1; // -1 = disable check
13 m_MaxDamageIngredient[0] = 3; // -1 = disable check
14 m_MinQuantityIngredient[0] = -1; // -1 = disable check
15 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
16
21
22 //----------------------------------------------------------------------------------------------------------------------
23 //INGREDIENTS
24 //ingredient 1
25 InsertIngredient(1,"Sickle"); //you can insert multiple ingredients this way
26 InsertIngredient(1,"KukriKnife");
27 InsertIngredient(1,"FangeKnife");
28 InsertIngredient(1,"Hacksaw");
29 InsertIngredient(1,"HandSaw");
30 InsertIngredient(1,"KitchenKnife");
31 InsertIngredient(1,"SteakKnife");
32 InsertIngredient(1,"StoneKnife");
33 InsertIngredient(1,"Cleaver");
34 InsertIngredient(1,"CombatKnife");
35 InsertIngredient(1,"HuntingKnife");
36 InsertIngredient(1,"Machete");
37 InsertIngredient(1,"CrudeMachete");
38 InsertIngredient(1,"OrientalMachete");
39 InsertIngredient(1,"WoodAxe");
40 InsertIngredient(1,"Hatchet");
41 InsertIngredient(1,"FirefighterAxe");
42 InsertIngredient(1,"Sword");
43 InsertIngredient(1,"AK_Bayonet");
44 InsertIngredient(1,"M9A1_Bayonet");
45 InsertIngredient(1,"SKS_Bayonet");
46 InsertIngredient(1,"BoneKnife");
47 InsertIngredient(1,"Screwdriver");
48 InsertIngredient(1,"Iceaxe");
49
50 m_IngredientAddHealth[1] = -6; // 0 = do nothing
51 m_IngredientSetHealth[1] = -1; // -1 = do nothing
52 m_IngredientAddQuantity[1] = 0; // 0 = do nothing
53 m_IngredientDestroy[1] = false; // false = do nothing
54 }

Перекрестные ссылки m_Name.

◆ Init() [172/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_gutandprepare0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5; // animation length in relative time units
8 m_RecipeUID = DayZPlayerConstants.CMD_ACTIONFB_ANIMALSKINNING;
9
10 //----------------------------------------------------------------------------------------------------------------------
11 //conditions
12 m_MinDamageIngredient[0] = -1; // -1 = disable check
13 m_MaxDamageIngredient[0] = 3; // -1 = disable check
14 m_MinQuantityIngredient[0] = -1; // -1 = disable check
15 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
16
21
22 //----------------------------------------------------------------------------------------------------------------------
23 //ingredient 2
24 InsertIngredient(1,"Sickle"); // you can insert multiple ingredients this way
25 InsertIngredient(1,"KukriKnife");
26 InsertIngredient(1,"FangeKnife");
27 InsertIngredient(1,"Hacksaw");
28 InsertIngredient(1,"HandSaw");
29 InsertIngredient(1,"KitchenKnife");
30 InsertIngredient(1,"SteakKnife");
31 InsertIngredient(1,"StoneKnife");
32 InsertIngredient(1,"Cleaver");
33 InsertIngredient(1,"CombatKnife");
34 InsertIngredient(1,"HuntingKnife");
35 InsertIngredient(1,"Machete");
36 InsertIngredient(1,"CrudeMachete");
37 InsertIngredient(1,"OrientalMachete");
38 InsertIngredient(1,"WoodAxe");
39 InsertIngredient(1,"Hatchet");
40 InsertIngredient(1,"FirefighterAxe");
41 InsertIngredient(1,"Sword");
42 InsertIngredient(1,"AK_Bayonet");
43 InsertIngredient(1,"M9A1_Bayonet");
44 InsertIngredient(1,"SKS_Bayonet");
45 InsertIngredient(1,"BoneKnife");
46 InsertIngredient(1,"Screwdriver");
47 InsertIngredient(1,"Iceaxe");
48
49 m_IngredientAddHealth[1] = -4; // 0 = do nothing
50 m_IngredientSetHealth[1] = -1; // -1 = do nothing
51 m_IngredientAddQuantity[1] = 0; // 0 = do nothing
52 m_IngredientDestroy[1] = false; // false = do nothing
53 }

Перекрестные ссылки m_Name.

◆ Init() [173/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_PurifyWater0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"PurificationTablets");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Pot");//you can insert multiple ingredients this way
37 InsertIngredient(1,"CanisterGasoline");//you can insert multiple ingredients this way
38 InsertIngredient(1,"DisinfectantAlcohol");//you can insert multiple ingredients this way
39 InsertIngredient(1,"Canteen");//you can insert multiple ingredients this way
40 InsertIngredient(1,"WaterBottle");//you can insert multiple ingredients this way
41 InsertIngredient(1,"FilteringBottle");//you can insert multiple ingredients this way
42 InsertIngredient(1,"GlassBottle");//you can insert multiple ingredients this way
43 InsertIngredient(1,"WaterPouch_ColorBase");//you can insert multiple ingredients this way
44 InsertIngredient(1,"Barrel_ColorBase");//you can insert multiple ingredients this way
45 InsertIngredient(1,"Cauldron");//you can insert multiple ingredients this way
46
47 m_IngredientAddHealth[1] = 0;// 0 = do nothing
48 m_IngredientSetHealth[1] = -1; // -1 = do nothing
49 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
50 m_IngredientDestroy[1] = false;// false = do nothing
51 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
52 //----------------------------------------------------------------------------------------------------------------------
53
54 //result1
55 //AddResult("");//add results here
56
57 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
58 m_ResultSetQuantity[0] = -1;//-1 = do nothing
59 m_ResultSetHealth[0] = -1;//-1 = do nothing
60 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
61 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
62 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
63 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
64 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
65 }

Перекрестные ссылки m_Name.

◆ Init() [174/202]

override void Init ( )
inlineprivate
6 {
7 m_Name = "#STR_RefuelTorch0";
8 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
9 m_AnimationLength = 0.25;//animation length in relative time units
10 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
11
12 //conditions
13 m_MinDamageIngredient[0] = -1;//-1 = disable check
14 m_MaxDamageIngredient[0] = -1;//-1 = disable check
15
16 m_MinQuantityIngredient[0] = -1;//-1 = disable check
17 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
18
19 m_MinDamageIngredient[1] = -1;//-1 = disable check
20 m_MaxDamageIngredient[1] = -1;//-1 = disable check
21
22 m_MinQuantityIngredient[1] = -1;//-1 = disable check
23 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
24 //----------------------------------------------------------------------------------------------------------------------
25
26 //INGREDIENTS
27 //ingredient 1
28 InsertIngredient(0,"Rag");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
33 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"Torch");//you can insert multiple ingredients this way
38 InsertIngredient(1,"LongTorch");//you can insert multiple ingredients this way
39
40 m_IngredientAddHealth[1] = 0;// 0 = do nothing
41 m_IngredientSetHealth[1] = -1; // -1 = do nothing
42 m_IngredientAddQuantity[1] = -1;// 0 = do nothing
43 m_IngredientDestroy[1] = false;// false = do nothing
44 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
45 //----------------------------------------------------------------------------------------------------------------------
46
47 //result1
48 //AddResult("Torch");//add results here
49
50 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
51 m_ResultSetQuantity[0] = -1;//-1 = do nothing
52 m_ResultSetHealth[0] = -1;//-1 = do nothing
53 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
54 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
55 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
56 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
57 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58 }

Перекрестные ссылки m_Name.

◆ Init() [175/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#repair";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.03;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = 1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"ElectronicRepairKit");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Inventory_Base");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 //AddResult("");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57
58 //----------------------------------------------------------------------------------------------------------------------
59 }

Перекрестные ссылки m_Name.

◆ Init() [176/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#repair";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.03;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = 1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"EpoxyPutty");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Inventory_Base");//you can insert multiple ingredients this way
37 InsertIngredient(1,"DefaultWeapon");
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = false;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44
45 //----------------------------------------------------------------------------------------------------------------------
46
47 //result1
48 //AddResult("");//add results here
49
50 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
51 m_ResultSetQuantity[0] = -1;//-1 = do nothing
52 m_ResultSetHealth[0] = -1;//-1 = do nothing
53 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
54 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
55 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
56 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
57 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58
59 //----------------------------------------------------------------------------------------------------------------------
60 }

Перекрестные ссылки m_Name.

◆ Init() [177/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#repair";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.03;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = 1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"EyePatch_Improvised");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Rag");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = -1;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 //AddResult("");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57
58 //----------------------------------------------------------------------------------------------------------------------
59 }

Перекрестные ссылки m_Name.

◆ Init() [178/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#repair";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.03;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 2;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = 2;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"WoodenPlank");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -2;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"WoodenCrate");//you can insert multiple ingredients this way
37 InsertIngredient(1,"SeaChest");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
42 m_IngredientDestroy[1] = false;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44
45 //----------------------------------------------------------------------------------------------------------------------
46
47 //result1
48 //AddResult("");//add results here
49
50 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
51 m_ResultSetQuantity[0] = -1;//-1 = do nothing
52 m_ResultSetHealth[0] = -1;//-1 = do nothing
53 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
54 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
55 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
56 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
57 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58
59 //----------------------------------------------------------------------------------------------------------------------
60 }

Перекрестные ссылки m_Name.

◆ Init() [179/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#repair";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 3;//animation length in relative time units
8 m_Specialty = 0.03;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = 2;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Pliers");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Chainmail");//you can insert multi ple ingredients this way
37 InsertIngredient(1,"Chainmail_Coif");//you can insert multiple ingredients this way
38 InsertIngredient(1,"Chainmail_Leggings");//you can insert multiple ingredients this way
39 InsertIngredient(1,"WitchHoodCoif_ColorBase");//you can insert multiple ingredients this way
40
41 m_IngredientAddHealth[1] = 0;// 0 = do nothing
42 m_IngredientSetHealth[1] = -1; // -1 = do nothing
43 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
44 m_IngredientDestroy[1] = false;// false = do nothing
45 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
46
47 //----------------------------------------------------------------------------------------------------------------------
48
49 //result1
50 //AddResult("");//add results here
51
52 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
53 m_ResultSetQuantity[0] = -1;//-1 = do nothing
54 m_ResultSetHealth[0] = -1;//-1 = do nothing
55 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
56 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
57 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
58 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
59 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
60
61 //----------------------------------------------------------------------------------------------------------------------
62 }

Перекрестные ссылки m_Name.

◆ Init() [180/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#repair";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.03;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = 1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = 1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"HeadCover_Improvised");//you can insert multi ple ingredients this way
28 InsertIngredient(0,"HandsCover_Improvised");//you can insert multiple ingredients this way
29 InsertIngredient(0,"LegsCover_Improvised");//you can insert multiple ingredients this way
30 InsertIngredient(0,"FeetCover_Improvised");//you can insert multiple ingredients this way
31 InsertIngredient(0,"FaceCover_Improvised");//you can insert multiple ingredients this way
32 InsertIngredient(0,"TorsoCover_Improvised");//you can insert multiple ingredients this way
33
34 m_IngredientAddHealth[0] = 0;// 0 = do nothing
35 m_IngredientSetHealth[0] = -1; // -1 = do nothing
36 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
37 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
38 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
39
40 //ingredient 2
41 InsertIngredient(1,"Rag");//you can insert multiple ingredients this way
42
43 m_IngredientAddHealth[1] = 0;// 0 = do nothing
44 m_IngredientSetHealth[1] = -1; // -1 = do nothing
45 m_IngredientAddQuantity[1] = -1;// 0 = do nothing
46 m_IngredientDestroy[1] = false;// false = do nothing
47 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
48
49 //----------------------------------------------------------------------------------------------------------------------
50
51 //result1
52 //AddResult("");//add results here
53
54 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
55 m_ResultSetQuantity[0] = -1;//-1 = do nothing
56 m_ResultSetHealth[0] = -1;//-1 = do nothing
57 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
58 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
59 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
60 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
61 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
62
63 //----------------------------------------------------------------------------------------------------------------------
64 }

Перекрестные ссылки m_Name.

◆ Init() [181/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#repair";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.03;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = 1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"DuctTape");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Inventory_Base");//you can insert multiple ingredients this way
37 InsertIngredient(1,"DefaultWeapon");//you can insert multiple ingredients this way
38 InsertIngredient(1,"DefaultMagazine");//you can insert multiple ingredients this way
39
40 m_IngredientAddHealth[1] = 0;// 0 = do nothing
41 m_IngredientSetHealth[1] = -1; // -1 = do nothing
42 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
43 m_IngredientDestroy[1] = false;// false = do nothing
44 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
45
46 //----------------------------------------------------------------------------------------------------------------------
47
48 //result1
49 //AddResult("");//add results here
50
51 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
52 m_ResultSetQuantity[0] = -1;//-1 = do nothing
53 m_ResultSetHealth[0] = -1;//-1 = do nothing
54 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
55 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
56 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
57 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
58 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
59
60 //----------------------------------------------------------------------------------------------------------------------
61 }

Перекрестные ссылки m_Name.

◆ Init() [182/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_sawoffbarrel0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 2; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"B95"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
28 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"Hacksaw");
32
33 m_IngredientAddHealth[1] = -10;
36 m_IngredientDestroy[1] = false;
37
38 //----------------------------------------------------------------------------------------------------------------------
39 //RESULTS
40 }

Перекрестные ссылки m_Name.

◆ Init() [183/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_sawoffhandle0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 2; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"FAMAS"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
28 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"Hacksaw");
32
33 m_IngredientAddHealth[1] = -10;
36 m_IngredientDestroy[1] = false;
37
38 //----------------------------------------------------------------------------------------------------------------------
39 //RESULTS
40 }

Перекрестные ссылки m_Name.

◆ Init() [184/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_sawoffbarrel0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 2; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"Izh18"); // you can insert multiple ingredients this way
24 m_IngredientAddHealth[0] = 0; // 0 = do nothing
25 m_IngredientSetHealth[0] = -1; // -1 = do nothing
26 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
27 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
28
29 //ingredient 2
30 InsertIngredient(1,"Hacksaw");
31 m_IngredientAddHealth[1] = -10;
34 m_IngredientDestroy[1] = false;
35
36 //----------------------------------------------------------------------------------------------------------------------
37 //RESULTS
38 }

Перекрестные ссылки m_Name.

◆ Init() [185/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_sawoffbarrel0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 2; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"Izh18Shotgun"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
28 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"Hacksaw");
32
33 m_IngredientAddHealth[1] = -10;
36 m_IngredientDestroy[1] = false;
37
38 //----------------------------------------------------------------------------------------------------------------------
39 //RESULTS
40 }

Перекрестные ссылки m_Name.

◆ Init() [186/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_sawoffbarrel0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 2; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21
22 //INGREDIENTS
23 //ingredient 1
24 InsertIngredient(0,"Magnum"); // you can insert multiple ingredients this way
25
26 m_IngredientAddHealth[0] = 0; // 0 = do nothing
27 m_IngredientSetHealth[0] = -1; // -1 = do nothing
28 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
29 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
30
31 //ingredient 2
32 InsertIngredient(1,"Hacksaw");
33
34 m_IngredientAddHealth[1] = -10;
37 m_IngredientDestroy[1] = false;
38
39 //----------------------------------------------------------------------------------------------------------------------
40 //RESULTS
41 }

Перекрестные ссылки m_Name.

◆ Init() [187/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_sawoffbarrel0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 2; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
15 m_MinDamageIngredient[1] = -1; // -1 = disable check
16 m_MaxDamageIngredient[1] = 3; // -1 = disable check
17 m_MinQuantityIngredient[1] = -1; // -1 = disable check
18 m_MaxQuantityIngredient[1] = -1; // -1 = disable check
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"Mosin9130"); //you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
28 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"Hacksaw");
32
33 m_IngredientAddHealth[1] = -10;
36 m_IngredientDestroy[1] = false;
37
38 //----------------------------------------------------------------------------------------------------------------------
39 //RESULTS
40 }

Перекрестные ссылки m_Name.

◆ Init() [188/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_sawoffbarrel0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 2; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"Mosin9130_Black"); // you can insert multiple ingredients this way
24 InsertIngredient(0,"Mosin9130_Green");
25 InsertIngredient(0,"Mosin9130_Camo");
26
27 m_IngredientAddHealth[0] = 0; // 0 = do nothing
28 m_IngredientSetHealth[0] = -1; // -1 = do nothing
29 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
30 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
31
32 //ingredient 2
33 InsertIngredient(1,"Hacksaw");
34
35 m_IngredientAddHealth[1] = -10;
38 m_IngredientDestroy[1] = false;
39
40 //----------------------------------------------------------------------------------------------------------------------
41 //RESULTS
42 }

Перекрестные ссылки m_Name.

◆ Init() [189/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_sawoffbarrel0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 2; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"Izh43Shotgun"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
28 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
29
30
31 //ingredient 2
32 InsertIngredient(1,"Hacksaw");
33
34 m_IngredientAddHealth[1] = -10;
37 m_IngredientDestroy[1] = false;
38
39 //----------------------------------------------------------------------------------------------------------------------
40 //RESULTS
41 }

Перекрестные ссылки m_Name.

◆ Init() [190/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_sawwoodenlog0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 2; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"WoodenLog"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
28 m_IngredientDestroy[0] = true; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"Hacksaw");
32 InsertIngredient(1,"HandSaw");
33 InsertIngredient(1,"WoodAxe");
34 InsertIngredient(1,"Hatchet");
35 InsertIngredient(1,"FirefighterAxe");
36
37 m_IngredientAddHealth[1] = -10;
40 m_IngredientDestroy[1] = false;
41
42 //----------------------------------------------------------------------------------------------------------------------
43 //RESULTS
44 //result1
45 AddResult("Firewood"); // add results here
46
47 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
48 m_ResultSetQuantity[0] = -1; // -1 = do nothing
49 m_ResultSetHealth[0] = -1; // -1 = do nothing
50 m_ResultInheritsHealth[0] = 0; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
51 m_ResultInheritsColor[0] = -1; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
52 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
53 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
54
55 //result2
56 AddResult("Firewood");
57
58 m_ResultSetFullQuantity[1] = false;
59 m_ResultSetQuantity[1] = -1;
60 m_ResultSetHealth[1] = -1;
63 m_ResultToInventory[1] = -2;
65
66 //result3
67 AddResult("Firewood");
68
69 m_ResultSetFullQuantity[2] = false;
70 m_ResultSetQuantity[2] = -1;
71 m_ResultSetHealth[2] = -1;
74 m_ResultToInventory[2] = -2;
76 }

Перекрестные ссылки m_Name.

◆ Init() [191/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#sharpen";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
15
20
21
22 //ingredient 1
23 InsertIngredient(0,"Broom");//you can insert multiple ingredients this way
24
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
29 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
30
31 //ingredient 2
32 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
33 InsertIngredient(1,"KukriKnife");
34 InsertIngredient(1,"FangeKnife");
35 InsertIngredient(1,"Hacksaw");
36 InsertIngredient(1,"KitchenKnife");
37 InsertIngredient(1,"SteakKnife");
38 InsertIngredient(1,"HayHook");
39 InsertIngredient(1,"StoneKnife");
40 InsertIngredient(1,"Cleaver");
41 InsertIngredient(1,"CombatKnife");
42 InsertIngredient(1,"HuntingKnife");
43 InsertIngredient(1,"Machete");
44 InsertIngredient(1,"CrudeMachete");
45 InsertIngredient(1,"OrientalMachete");
46 InsertIngredient(1,"Screwdriver");
47 InsertIngredient(1,"Crowbar");
48 InsertIngredient(1,"Pickaxe");
49 InsertIngredient(1,"WoodAxe");
50 InsertIngredient(1,"Hatchet");
51 InsertIngredient(1,"FirefighterAxe");
52 InsertIngredient(1,"Sword");
53 InsertIngredient(1,"AK_Bayonet");
54 InsertIngredient(1,"M9A1_Bayonet");
55 InsertIngredient(1,"Mosin_Bayonet");
56 InsertIngredient(1,"SKS_Bayonet");
57 InsertIngredient(1,"BoneKnife");
58
59 m_IngredientAddHealth[1] = -12;
60 m_IngredientSetHealth[1] = -1; // -1 = do nothing
63 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
64
65 // crafting multiple results
66 //AddResult("CombatKnife");//additional results, must be processed individually in Do method (as "results" parameter)
67
68 //result1
69 AddResult("WoodenStick");//add results here
70
71 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
72 m_ResultSetQuantity[0] = 3;//-1 = do nothing
73 m_ResultSetHealth[0] = -1;//-1 = do nothing
74 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
75 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
76 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
77 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
78 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
79
80 //result2
81 AddResult("SharpWoodenStick");//single result
82
85 m_ResultSetHealth[1] = -1;
86 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
87 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
88 m_ResultToInventory[1] = -2;
89 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
90 m_ResultReplacesIngredient[1] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
91 }

Перекрестные ссылки m_Name.

◆ Init() [192/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#sharpen";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
15
20
21
22 //ingredient 1
23 InsertIngredient(0,"LongWoodenStick");//you can insert multiple ingredients this way
24
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
29 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
30
31 //ingredient 2
32 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
33 InsertIngredient(1,"KukriKnife");
34 InsertIngredient(1,"FangeKnife");
35 InsertIngredient(1,"Hacksaw");
36 InsertIngredient(1,"KitchenKnife");
37 InsertIngredient(1,"SteakKnife");
38 InsertIngredient(1,"HayHook");
39 InsertIngredient(1,"StoneKnife");
40 InsertIngredient(1,"Cleaver");
41 InsertIngredient(1,"CombatKnife");
42 InsertIngredient(1,"HuntingKnife");
43 InsertIngredient(1,"Machete");
44 InsertIngredient(1,"CrudeMachete");
45 InsertIngredient(1,"OrientalMachete");
46 InsertIngredient(1,"Screwdriver");
47 InsertIngredient(1,"Crowbar");
48 InsertIngredient(1,"Pickaxe");
49 InsertIngredient(1,"WoodAxe");
50 InsertIngredient(1,"Hatchet");
51 InsertIngredient(1,"FirefighterAxe");
52 InsertIngredient(1,"Sword");
53 InsertIngredient(1,"AK_Bayonet");
54 InsertIngredient(1,"M9A1_Bayonet");
55 InsertIngredient(1,"Mosin_Bayonet");
56 InsertIngredient(1,"SKS_Bayonet");
57 InsertIngredient(1,"BoneKnife");
58
59 m_IngredientAddHealth[1] = -12;
60 m_IngredientSetHealth[1] = -1; // -1 = do nothing
63 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
64
65 // crafting multiple results
66 //AddResult("CombatKnife");//additional results, must be processed individually in Do method (as "results" parameter)
67
68
69 AddResult("SharpWoodenStick");//single result
70
71 m_ResultSetFullQuantity[0] = false;
73 m_ResultSetHealth[0] = -1;
74 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
75 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
76 m_ResultToInventory[0] = -2;
77 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
78 m_ResultReplacesIngredient[0] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
79 }

Перекрестные ссылки m_Name.

◆ Init() [193/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#sharpen";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = -0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = 1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Whetstone");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Inventory_Base");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 //AddResult("");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57
58 //----------------------------------------------------------------------------------------------------------------------
59 }

Перекрестные ссылки m_Name.

◆ Init() [194/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#sharpen";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"WoodenStick"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = 0; // 0 = do nothing
28 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredient(1,"Sickle");
32 InsertIngredient(1,"KukriKnife");
33 InsertIngredient(1,"FangeKnife");
34 InsertIngredient(1,"Hacksaw");
35 InsertIngredient(1,"KitchenKnife");
36 InsertIngredient(1,"SteakKnife");
37 InsertIngredient(1,"HayHook");
38 InsertIngredient(1,"StoneKnife");
39 InsertIngredient(1,"Cleaver");
40 InsertIngredient(1,"CombatKnife");
41 InsertIngredient(1,"HuntingKnife");
42 InsertIngredient(1,"Machete");
43 InsertIngredient(1,"CrudeMachete");
44 InsertIngredient(1,"OrientalMachete");
45 InsertIngredient(1,"Screwdriver");
46 InsertIngredient(1,"Crowbar");
47 InsertIngredient(1,"Pickaxe");
48 InsertIngredient(1,"WoodAxe");
49 InsertIngredient(1,"Hatchet");
50 InsertIngredient(1,"FirefighterAxe");
51 InsertIngredient(1,"Sword");
52 InsertIngredient(1,"AK_Bayonet");
53 InsertIngredient(1,"M9A1_Bayonet");
54 InsertIngredient(1,"Mosin_Bayonet");
55 InsertIngredient(1,"SKS_Bayonet");
56 InsertIngredient(1,"BoneKnife");
57
62
63 //----------------------------------------------------------------------------------------------------------------------
64 //RESULTS
65 //result1
66 AddResult("Ammo_SharpStick");
67
70 m_ResultSetHealth[0] = -1;
73 m_ResultToInventory[0] = -2;
75 }

Перекрестные ссылки m_Name.

◆ Init() [195/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_split0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Broom");//you can insert multiple ingredients this way
28 InsertIngredient(0,"Broom_Birch");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
33 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
38 InsertIngredient(1,"KukriKnife");
39 InsertIngredient(1,"FangeKnife");
40 InsertIngredient(1,"Hacksaw");
41 InsertIngredient(1,"HandSaw");
42 InsertIngredient(1,"KitchenKnife");
43 InsertIngredient(1,"SteakKnife");
44 InsertIngredient(1,"HayHook");
45 InsertIngredient(1,"StoneKnife");
46 InsertIngredient(1,"Cleaver");
47 InsertIngredient(1,"CombatKnife");
48 InsertIngredient(1,"HuntingKnife");
49 InsertIngredient(1,"Machete");
50 InsertIngredient(1,"CrudeMachete");
51 InsertIngredient(1,"OrientalMachete");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -4;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("WoodenStick");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 3;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84
85 //result2
86 AddResult("LongWoodenStick");//add results here
87
88 m_ResultSetFullQuantity[1] = true;//true = set full quantity, false = do nothing
89 m_ResultSetQuantity[1] = -1;//-1 = do nothing
90 m_ResultSetHealth[1] = -1;//-1 = do nothing
91 m_ResultInheritsHealth[1] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
92 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
93 m_ResultToInventory[1] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
94 m_ResultUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this result
95 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
96 //----------------------------------------------------------------------------------------------------------------------
97 }

Перекрестные ссылки m_Name.

◆ Init() [196/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_split0";
6 m_IsInstaRecipe = false; // should this recipe be performed instantly without animation
7 m_AnimationLength = 1; // animation length in relative time units
8
9 //conditions
10 m_MinDamageIngredient[0] = -1; // -1 = disable check
11 m_MaxDamageIngredient[0] = 3; // -1 = disable check
12 m_MinQuantityIngredient[0] = -1; // -1 = disable check
13 m_MaxQuantityIngredient[0] = -1; // -1 = disable check
14
19
20 //----------------------------------------------------------------------------------------------------------------------
21 //INGREDIENTS
22 //ingredient 1
23 InsertIngredient(0,"Firewood"); // you can insert multiple ingredients this way
24
25 m_IngredientAddHealth[0] = 0; // 0 = do nothing
26 m_IngredientSetHealth[0] = -1; // -1 = do nothing
27 m_IngredientAddQuantity[0] = -1; // 0 = do nothing
28 m_IngredientDestroy[0] = false; // true = destroy, false = do nothing
29
30 //ingredient 2
31 InsertIngredientEx(1,"Hacksaw" , "FirewoodSplit_Saw");
32 InsertIngredientEx(1,"HandSaw" , "FirewoodSplit_Saw");
33 InsertIngredientEx(1,"Pickaxe" , "FirewoodSplit_Axe");
34 InsertIngredientEx(1,"WoodAxe" , "FirewoodSplit_Axe");
35 InsertIngredientEx(1,"Hatchet" , "FirewoodSplit_Axe");
36 InsertIngredientEx(1,"FirefighterAxe" , "FirewoodSplit_Axe");
37
41 m_IngredientDestroy[1] = false;
42
43 //----------------------------------------------------------------------------------------------------------------------
44 //RESULTS
45 //result1
46 AddResult("WoodenStick"); // add results here
47
48 m_ResultSetFullQuantity[0] = false; // true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = 3; // -1 = do nothing
50 m_ResultSetHealth[0] = -1; // -1 = do nothing
51 m_ResultInheritsHealth[0] = 0; // (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1; // (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2; // (value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultReplacesIngredient[0] = -1; // (value) == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
55 }

Перекрестные ссылки m_Name.

◆ Init() [197/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_split0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"LongWoodenStick");//you can insert multiple ingredients this way
28 InsertIngredient(0,"SharpWoodenStick");//you can insert multiple ingredients this way
29
30 m_IngredientAddHealth[0] = 0;// 0 = do nothing
31 m_IngredientSetHealth[0] = -1; // -1 = do nothing
32 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
33 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
34 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
35
36 //ingredient 2
37 InsertIngredient(1,"Sickle");//you can insert multiple ingredients this way
38 InsertIngredient(1,"KukriKnife");
39 InsertIngredient(1,"FangeKnife");
40 InsertIngredient(1,"Hacksaw");
41 InsertIngredient(1,"HandSaw");
42 InsertIngredient(1,"KitchenKnife");
43 InsertIngredient(1,"SteakKnife");
44 InsertIngredient(1,"HayHook");
45 InsertIngredient(1,"StoneKnife");
46 InsertIngredient(1,"Cleaver");
47 InsertIngredient(1,"CombatKnife");
48 InsertIngredient(1,"HuntingKnife");
49 InsertIngredient(1,"Machete");
50 InsertIngredient(1,"CrudeMachete");
51 InsertIngredient(1,"OrientalMachete");
52 InsertIngredient(1,"Crowbar");
53 InsertIngredient(1,"Pickaxe");
54 InsertIngredient(1,"WoodAxe");
55 InsertIngredient(1,"Hatchet");
56 InsertIngredient(1,"FirefighterAxe");
57 InsertIngredient(1,"Sword");
58 InsertIngredient(1,"AK_Bayonet");
59 InsertIngredient(1,"M9A1_Bayonet");
60 InsertIngredient(1,"Mosin_Bayonet");
61 InsertIngredient(1,"SKS_Bayonet");
62 InsertIngredient(1,"BoneKnife");
63
64 m_IngredientAddHealth[1] = -4;// 0 = do nothing
65 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
67 m_IngredientDestroy[1] = false;// false = do nothing
68 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
69
70 //----------------------------------------------------------------------------------------------------------------------
71
72 //result1
73 AddResult("WoodenStick");//add results here
74
75 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[0] = 3;//-1 = do nothing
77 m_ResultSetHealth[0] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[0] = 0;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83
84 //----------------------------------------------------------------------------------------------------------------------
85 }

Перекрестные ссылки m_Name.

◆ Init() [198/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_split0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = 1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Stone");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = -1;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Pickaxe");//you can insert multiple ingredients this way
37 InsertIngredient(1,"SledgeHammer");//you can insert multiple ingredients this way
38 InsertIngredient(1,"Hammer");//you can insert multiple ingredients this way
39 InsertIngredient(1,"Mace");//you can insert multiple ingredients this way
40
41 m_IngredientAddHealth[1] = -4;// 0 = do nothing
42 m_IngredientSetHealth[1] = -1; // -1 = do nothing
43 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
44 m_IngredientDestroy[1] = false;// false = do nothing
45 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
46 //----------------------------------------------------------------------------------------------------------------------
47
48 //result1
49 AddResult("SmallStone");//add results here
50
51 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
52 m_ResultSetQuantity[0] = -1;//-1 = do nothing
53 m_ResultSetHealth[0] = -1;//-1 = do nothing
54 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
55 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
56 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
57 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
58 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
59
60 //result2
61 AddResult("SmallStone");//add results here
62
63 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
64 m_ResultSetQuantity[1] = -1;//-1 = do nothing
65 m_ResultSetHealth[1] = -1;//-1 = do nothing
66 m_ResultInheritsHealth[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
67 m_ResultInheritsColor[1] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
68 m_ResultToInventory[1] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
69 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
70 m_ResultReplacesIngredient[1] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
71
72 //result3
73 AddResult("SmallStone");//add results here
74
75 m_ResultSetFullQuantity[2] = false;//true = set full quantity, false = do nothing
76 m_ResultSetQuantity[2] = -1;//-1 = do nothing
77 m_ResultSetHealth[2] = -1;//-1 = do nothing
78 m_ResultInheritsHealth[2] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
79 m_ResultInheritsColor[2] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
80 m_ResultToInventory[2] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
81 m_ResultUseSoftSkills[2] = false;// set 'true' to allow modification of the values by softskills on this result
82 m_ResultReplacesIngredient[2] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
83 }

Перекрестные ссылки m_Name.

◆ Init() [199/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "Test 3 ingredients";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 /*
24 m_MinDamageIngredient[2] = 1;//-1 = disable check
25 m_MaxDamageIngredient[2] = -1;//-1 = disable check
26
27 m_MinQuantityIngredient[2] = -1;//-1 = disable check
28 m_MaxQuantityIngredient[2] = -1;//-1 = disable check
29 */
30 //----------------------------------------------------------------------------------------------------------------------
31
32 //INGREDIENTS
33 //ingredient 1
34 InsertIngredient(0,"BloodTestKit");//you can insert multiple ingredients this way
35
36 m_IngredientAddHealth[0] = 0;// 0 = do nothing
37 m_IngredientSetHealth[0] = -1; // -1 = do nothing
38 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
39 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
40 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
41
42 //ingredient 2
43 InsertIngredient(1,"BloodSyringe");//you can insert multiple ingredients this way
44 m_IngredientAddHealth[1] = 0;// 0 = do nothing
45 m_IngredientSetHealth[1] = -1; // -1 = do nothing
46 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
47 m_IngredientDestroy[1] = false;// false = do nothing
48 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
49
50 /*
51 //ingredient 3
52 InsertIngredient(2,"SalineBagIV");//you can insert multiple ingredients this way
53
54 m_IngredientAddHealth[2] = 0;// 0 = do nothing
55 m_IngredientSetHealth[2] = -1; // -1 = do nothing
56 m_IngredientAddQuantity[2] = 0;// 0 = do nothing
57 m_IngredientDestroy[2] = false;// false = do nothing
58 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
59 */
60 //----------------------------------------------------------------------------------------------------------------------
61
62 //result1
63 //AddResult("");//add results here
64
65 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
66 m_ResultSetQuantity[0] = -1;//-1 = do nothing
67 m_ResultSetHealth[0] = -1;//-1 = do nothing
68 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
69 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
70 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
71 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
72 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
73 }

Перекрестные ссылки InsertIngredient() и m_Name.

◆ Init() [200/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#STR_UpgradeTorchWithLard0";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
11 m_MinDamageIngredient[0] = -1;//-1 = disable check
12 m_MaxDamageIngredient[0] = -1;//-1 = disable check
13
14 m_MinQuantityIngredient[0] = -1;//-1 = disable check
15 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
16
17 m_MinDamageIngredient[1] = -1;//-1 = disable check
18 m_MaxDamageIngredient[1] = -1;//-1 = disable check
19
20 m_MinQuantityIngredient[1] = -1;//-1 = disable check
21 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
22 //----------------------------------------------------------------------------------------------------------------------
23
24 //INGREDIENTS
25 //ingredient 1
26 InsertIngredient(0,"Lard");//you can insert multiple ingredients this way
27
28 m_IngredientAddHealth[0] = 0;// 0 = do nothing
29 m_IngredientSetHealth[0] = -1; // -1 = do nothing
30 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
31 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
32 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
33
34 //ingredient 2
35 InsertIngredient(1,"Torch");//you can insert multiple ingredients this way
36 InsertIngredient(1,"LongTorch");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = 0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43 //----------------------------------------------------------------------------------------------------------------------
44
45 //result1
46 //AddResult("Torch");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = -1;//-1 = do nothing
50 m_ResultSetHealth[0] = -1;//-1 = do nothing
51 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
52 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
53 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
54 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
55 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
56 }

Перекрестные ссылки m_Name.

◆ Init() [201/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#str_upgrade_torch_fuel";
6 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1;//animation length in relative time units
8 m_Specialty = 0.02;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
11 m_MinDamageIngredient[0] = -1;//-1 = disable check
12 m_MaxDamageIngredient[0] = -1;//-1 = disable check
13
14 m_MinQuantityIngredient[0] = -1;//-1 = disable check
15 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
16
17 m_MinDamageIngredient[1] = -1;//-1 = disable check
18 m_MaxDamageIngredient[1] = -1;//-1 = disable check
19
20 m_MinQuantityIngredient[1] = -1;//-1 = disable check
21 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
22 //----------------------------------------------------------------------------------------------------------------------
23
24 //INGREDIENTS
25 //ingredient 1
26 InsertIngredient(0,"Bottle_Base");
27 InsertIngredient(0,"Barrel_ColorBase");
28
29 m_IngredientAddHealth[0] = 0;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Torch");//you can insert multiple ingredients this way
37 InsertIngredient(1,"LongTorch");//you can insert multiple ingredients this way
38
39 m_IngredientAddHealth[1] = 0;// 0 = do nothing
40 m_IngredientSetHealth[1] = -1; // -1 = do nothing
41 m_IngredientAddQuantity[1] = -1;// 0 = do nothing
42 m_IngredientDestroy[1] = false;// false = do nothing
43 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 //AddResult("Torch");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -2;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57 }

Перекрестные ссылки m_Name.

◆ Init() [202/202]

override void Init ( )
inlineprivate
4 {
5 m_Name = "#write_note";
6 m_IsInstaRecipe = true;//should this recipe be performed instantly without animation
7 m_AnimationLength = 1.5;//animation length in relative time units
8 m_Specialty = -0.01;// value > 0 for roughness, value < 0 for precision
9
10
11 //conditions
12 m_MinDamageIngredient[0] = -1;//-1 = disable check
13 m_MaxDamageIngredient[0] = 3;//-1 = disable check
14
15 m_MinQuantityIngredient[0] = -1;//-1 = disable check
16 m_MaxQuantityIngredient[0] = -1;//-1 = disable check
17
18 m_MinDamageIngredient[1] = -1;//-1 = disable check
19 m_MaxDamageIngredient[1] = 3;//-1 = disable check
20
21 m_MinQuantityIngredient[1] = -1;//-1 = disable check
22 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
23 //----------------------------------------------------------------------------------------------------------------------
24
25 //INGREDIENTS
26 //ingredient 1
27 InsertIngredient(0,"Pen_ColorBase");//you can insert multiple ingredients this way
28
29 m_IngredientAddHealth[0] = -10;// 0 = do nothing
30 m_IngredientSetHealth[0] = -1; // -1 = do nothing
31 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
32 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
33 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
34
35 //ingredient 2
36 InsertIngredient(1,"Paper");//you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = -0;// 0 = do nothing
39 m_IngredientSetHealth[1] = -1; // -1 = do nothing
40 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
41 m_IngredientDestroy[1] = false;// false = do nothing
42 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
43
44 //----------------------------------------------------------------------------------------------------------------------
45
46 //result1
47 //AddResult("");//add results here
48
49 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
50 m_ResultSetQuantity[0] = -1;//-1 = do nothing
51 m_ResultSetHealth[0] = -1;//-1 = do nothing
52 m_ResultInheritsHealth[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result will inherit health from ingredient number (value);(value) == -2 means this result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
53 m_ResultInheritsColor[0] = -1;// (value) == -1 means do nothing; a (value) >= 0 means this result classname will be a composite of the name provided in AddResult method and config value "color" of ingredient (value)
54 m_ResultToInventory[0] = -2;//(value) == -2 spawn result on the ground;(value) == -1 place anywhere in the players inventory, (value) >= 0 means switch position with ingredient number(value)
55 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
56 m_ResultReplacesIngredient[0] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
57
58 //----------------------------------------------------------------------------------------------------------------------
59 }

Перекрестные ссылки m_Name.

◆ InsertIngredient()

void InsertIngredient ( int index,
string ingredient )
inlineprivate
138 {
140 }

Перекрестные ссылки InsertIngredientEx().

Используется в CraftDrysackBag::Init(), CraftTorch::Init(), CraftWitchHoodCoif::Init() и Init().

◆ InsertIngredientEx()

void InsertIngredientEx ( int index,
string ingredient,
string soundCategory )
inlineprivate
143 {
145 ptr.Insert(ingredient);
147 }

Перекрестные ссылки m_Ingredients и m_SoundCategories.

Используется в InsertIngredient().

◆ IsInstaRecipe()

bool IsInstaRecipe ( )
inlineprivate
176 {
177 return m_IsInstaRecipe;
178 }

Перекрестные ссылки m_IsInstaRecipe.

◆ IsItemInRecipe()

bool IsItemInRecipe ( string item)
inlineprivate
602 {
603 for(int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
604 {
606
607 for(int x = 0; x < ptr.Count(); x++)
608 {
609 if( ptr.Get(x) == item ) return true;
610 }
611 }
612 return false;
613 }

Перекрестные ссылки m_Ingredients, MAX_NUMBER_OF_INGREDIENTS и x.

◆ IsRecipeAnywhere()

bool IsRecipeAnywhere ( )
inlineprivate
90 {
92 }

Перекрестные ссылки m_AnywhereInInventory.

Используется в CheckRecipe().

◆ OnSelected() [1/2]

void OnSelected ( ItemBase item1,
ItemBase item2,
PlayerBase player )
inlineprivate
498 {
499
500 }

◆ OnSelected() [2/2]

override void OnSelected ( ItemBase item1,
ItemBase item2,
PlayerBase player )
inlineprivate
60 {
61 /*if( GetGame().IsServer() && GetGame().IsMultiplayer() ) return;
62 ItemBase ammo;
63 ActionTarget actionTarget;
64 if( item1.IsKindOf("Ammunition_Base") )
65 {
66 ammo = item1;
67 ActionManagerClient mngr = player.GetActionManager();
68
69 actionTarget = new ActionTarget(item1, -1, vector.Zero, -1);
70 mngr.InjectContinuousAction(AT_LOAD_MAGAZINE,actionTarget,player.GetItemInHands());
71 }
72 else
73 {
74 ammo = item2;
75 actionTarget = new ActionTarget(item2, -1, vector.Zero, -1);
76 mngr.InjectContinuousAction(AT_LOAD_MAGAZINE,actionTarget,player.GetItemInHands());
77 }
78 */
79 }

◆ OnSelectedRecipe()

void OnSelectedRecipe ( ItemBase item1,
ItemBase item2,
PlayerBase player )
inlineprivate
487 {
488 if( item1 == NULL || item2 == NULL )
489 {
490 Error("CheckRecipe: recipe invalid, at least one of the ingredients is NULL");
491 //Debug.Log("recipe invalid, at least one of the ingredients is NULL","recipes");
492 return;
493 }
495 }
ScriptConsoleEnfScriptTab ScriptConsoleTabBase OnSelected()
Definition ScriptConsoleEnfScriptTab.c:265

Перекрестные ссылки Error() и OnSelected().

◆ PerformRecipe()

void PerformRecipe ( ItemBase item1,
ItemBase item2,
PlayerBase player )
inlineprivate
504 {
505 if( item1 == NULL || item2 == NULL )
506 {
507 Error("PerformRecipe: recipe invalid, at least one of the ingredients is NULL");
508 Debug.Log("PerformRecipe: at least one of the ingredients is NULL","recipes");
509 }
510 /*
511 m_IngredientsSorted[0] = item1;
512 m_IngredientsSorted[1] = item2;
513 */
514
515 /*
516 Debug.Log("PerformRecipe Ingredient 1: "+ToString(item1.Ptr().GetType()),"recipes");
517 Debug.Log("PerformRecipe Ingredient 2: "+ToString(item2.Ptr().GetType()),"recipes");
518 */
520 {
523
526
528
529
531 }
532 else
533 {
534 Debug.Log("CheckRecipe failed on server","recipes");
535 }
536 }
bool CheckRecipe(ItemBase item1, ItemBase item2, PlayerBase player)
Definition RecipeBase.c:461
void DeleleIngredientsPass()
Definition RecipeBase.c:341
void Do(ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
Definition RecipeBase.c:554
void ApplyModificationsResults(ItemBase sorted[], array< ItemBase > results, ItemBase result, PlayerBase player)
Definition RecipeBase.c:245
void ApplyModificationsIngredients(ItemBase sorted[], PlayerBase player)
Definition RecipeBase.c:352
void SpawnItems(ItemBase ingredients[], PlayerBase player, array< ItemBase > spawned_objects)
Definition RecipeBase.c:183

Перекрестные ссылки ApplyModificationsIngredients(), ApplyModificationsResults(), CheckRecipe(), DeleleIngredientsPass(), Do(), Error(), Debug::Log(), m_IngredientsSorted, m_Specialty и SpawnItems().

◆ RemoveIngredient()

void RemoveIngredient ( int index,
string ingredient )
inlineprivate
150 {
152 for(int i = 0; i < ptr.Count(); i++)
153 {
154 if(ptr[i] == ingredient)
155 {
156 ptr.Remove(i);
157 m_SoundCategories[index].Remove(i);
158 return;
159 }
160 }
161 }

Перекрестные ссылки m_Ingredients и m_SoundCategories.

◆ SetID()

void SetID ( int id)
inlineprivate
566 {
567 m_ID = id;
568 }

Перекрестные ссылки m_ID.

◆ SpawnItems()

void SpawnItems ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > spawned_objects )
inlineprivate
184 {
185 //vector item_position = player.GetPosition() + ( player.GetDirection() * 1 );
186 //Debug.Log("SpawnItems called","recipes");
187 spawned_objects.Clear();//just to make sure
188 EntityAI object = NULL;
189
190 for(int i = 0; i < m_NumberOfResults; i++)
191 {
193
194 if( m_ResultInheritsColor[i] != -1 )
195 {
197 //string class_name = item.GetType();
198 string color = item.ConfigGetString("color");
201 }
202
203 if( m_ResultToInventory[i] == -1 )
204 {
205 Debug.Log(" = "+m_ResultToInventory[i].ToString(),"recipes");
206 /*
207 InventoryLocation inv_loc = new InventoryLocation;
208 if (player.GetInventory().FindFirstFreeLocationForNewEntity(item_to_spawn, FindInventoryLocationType.ANY, inv_loc))
209 {
210 object = SpawnItemOnLocation(item_to_spawn, inv_loc, false);
211 }
212 */
213 object = player.GetInventory().CreateInInventory(item_to_spawn);
214 }
215 else if (m_ResultToInventory[i] >= 0)
216 {
217 /*
218 object = player.SpawnEntityOnGroundOnCursorDir(item_to_spawn, 0.5);
219
220 ItemBase item_swap_with = ingredients[m_ResultToInventory[i]];
221 player.SwapEntities(true, item_swap_with, EntityAI.Cast(object));
222 */
223 }
224 else if ( m_ResultToInventory[i] == -2 )
225 {
226 object = player.GetInventory().CreateEntityInCargo(item_to_spawn);
227 }
228 if( !object )
229 {
230 //spawning in inventory failed, spawning on the ground instead.....
231 object = player.SpawnEntityOnGroundOnCursorDir(item_to_spawn, m_ResultSpawnDistance[i]);
232 if( !object)
233 {
234 Error("failed to spawn entity "+item_to_spawn+" , make sure the classname exists and item can be spawned");
235 }
236 }
237 spawned_objects.Insert(ItemBase.Cast(object));
238 //Debug.Log("spawning item "+item_to_spawn,"recipes");
239 object = null;
240 }
241
242 }

Перекрестные ссылки Error(), Debug::Log(), m_ItemsToCreate, m_NumberOfResults, m_ResultInheritsColor, m_ResultSpawnDistance, m_ResultToInventory и ToString().

Используется в PerformRecipe().

◆ TransferItemsToNew()

void TransferItemsToNew ( PlayerBase player,
ItemBase barrel_old,
ItemBase barrel_new )
inlineprivate
92 {
93 //TODO bugfix, only drops items now
95 //player.m_UpdateInventoryForced = true;
96 //player.SetSynchDirty();
97 }

Поля

◆ m_AnimationLength

float m_AnimationLength = 1
private

◆ m_AnywhereInInventory

bool m_AnywhereInInventory
private

Используется в IsRecipeAnywhere().

◆ m_ID

int m_ID
private

Используется в GetID() и SetID().

◆ m_IngredientAddHealth

◆ m_IngredientAddQuantity

◆ m_IngredientDestroy

◆ m_Ingredients

◆ m_IngredientSetHealth

◆ m_IngredientsSorted

ItemBase m_IngredientsSorted[MAX_NUMBER_OF_INGREDIENTS]
private

◆ m_IngredientsToBeDeleted

ref array<ItemBase> m_IngredientsToBeDeleted = new array<ItemBase>
private

◆ m_IngredientUseSoftSkills

bool m_IngredientUseSoftSkills[MAX_NUMBER_OF_INGREDIENTS]
private

Используется в CraftTorch::Init().

◆ m_IsInstaRecipe

bool m_IsInstaRecipe
private

◆ m_Items

Используется в CheckIngredientMatch().

◆ m_ItemsToCreate

string m_ItemsToCreate[MAXIMUM_RESULTS]
private

Используется в AddResult() и SpawnItems().

◆ m_MaxDamageIngredient

◆ m_MaxQuantityIngredient

◆ m_MinDamageIngredient

◆ m_MinQuantityIngredient

◆ m_Name

◆ m_NumberOfResults

int m_NumberOfResults
private

◆ m_PercentageUsed

float m_PercentageUsed = 0.05
private

◆ m_RecipeUID

int m_RecipeUID
private

Используется в GetAnimationCommandUID() и RecipeBase().

◆ m_ResultInheritsColor

int m_ResultInheritsColor[MAXIMUM_RESULTS]
private

◆ m_ResultInheritsHealth

◆ m_ResultReplacesIngredient

int m_ResultReplacesIngredient[MAXIMUM_RESULTS]
private

◆ m_ResultSetFullQuantity

◆ m_ResultSetHealth

◆ m_ResultSetQuantity

◆ m_ResultSpawnDistance

float m_ResultSpawnDistance[MAXIMUM_RESULTS]
private

Используется в RecipeBase() и SpawnItems().

◆ m_ResultToInventory

int m_ResultToInventory[MAXIMUM_RESULTS]
private

◆ m_ResultUseSoftSkills

bool m_ResultUseSoftSkills[MAXIMUM_RESULTS]
private

Используется в CraftTorch::Init().

◆ m_SoundCategories

◆ m_Specialty

float m_Specialty = 0
private

Используется в GetSpecialty(), CraftTorch::Init() и PerformRecipe().


Объявления и описания членов классов находятся в файлах: