DayZ 1.24
Loading...
Searching...
No Matches
RecipeBase Class Reference
Inheritance diagram for RecipeBase:
[legend]
Collaboration diagram for RecipeBase:
[legend]

Private Member Functions

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])
 
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 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)
 
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 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)
 

Private Attributes

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
 
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
 

Detailed Description

Definition at line 4 of file RecipeBase.c.

Constructor & Destructor Documentation

◆ RecipeBase()

void RecipeBase::RecipeBase ( )
inlineprivate

Definition at line 52 of file RecipeBase.c.

53 {
54
55 for (int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
56 {
60 }
61
62 for (i = 0; i < MAXIMUM_RESULTS; i++)
64
66 //m_IsActionType = false;
67
68 m_Name = "RecipeBase default name";
69 Init();
70 }
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
string m_Name
Definition RecipeBase.c:18
ref array< string > m_SoundCategories[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:8
void Init()
ref array< string > m_Ingredients[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:7
float m_ResultSpawnDistance[MAXIMUM_RESULTS]
Definition RecipeBase.c:44
ItemBase m_IngredientsSorted[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:12
int m_NumberOfResults
Definition RecipeBase.c:21

References DEFAULT_SPAWN_DISTANCE, Init(), m_Ingredients, m_IngredientsSorted, m_Name, m_NumberOfResults, m_ResultSpawnDistance, m_SoundCategories, MAX_NUMBER_OF_INGREDIENTS, and MAXIMUM_RESULTS.

Member Function Documentation

◆ AddResult()

void RecipeBase::AddResult ( string item)
inlineprivate

Definition at line 155 of file RecipeBase.c.

156 {
159 }
string m_ItemsToCreate[MAXIMUM_RESULTS]
Definition RecipeBase.c:6

References m_ItemsToCreate, and m_NumberOfResults.

Referenced by CraftDrysackBag::Init(), and CraftWitchHoodCoif::Init().

◆ ApplyModificationsIngredients()

void RecipeBase::ApplyModificationsIngredients ( ItemBase sorted[],
PlayerBase player )
inlineprivate

Definition at line 335 of file RecipeBase.c.

336 {
337 //---------------------- ingredients ----------------------
338 for (int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
339 {
340 ItemBase ingredient = sorted[i];
341
342 if (m_IngredientDestroy[i] == 1) //<------m_IngredientDestroy
343 {
345 //ingredient.Delete();
346 //sorted[i] = NULL;
347 }
348 else
349 {
351
352 if (m_IngredientAddHealth[i] != 0) //<------m_IngredientAddHealth
353 {
355 if (use_soft_skills)
356 {
357 if (health_delta < 0) health_delta = player.GetSoftSkillsManager().SubtractSpecialtyBonus(health_delta, m_Specialty);
358 else health_delta = player.GetSoftSkillsManager().AddSpecialtyBonus(health_delta, m_Specialty);
359 }
360 ingredient.AddHealth("", "", health_delta);
361 }
362 else if (m_IngredientSetHealth[i] != -1) //<------m_IngredientSetHealth
363 {
365 ingredient.SetHealth("", "", new_health);
366 }
367 if (m_IngredientAddQuantity[i] != 0) //<------m_IngredientAddQuantity
368 {
370
371 if (use_soft_skills)
372 {
373 if (quantity_delta < 0) quantity_delta = player.GetSoftSkillsManager().SubtractSpecialtyBonus(quantity_delta, m_Specialty);
374 else quantity_delta = player.GetSoftSkillsManager().AddSpecialtyBonus(quantity_delta, m_Specialty);
375 }
376
377 if (!ingredient.IsMagazine())
378 {
379 ItemBase obj = ingredient;
380 bool isDestroyed = obj.AddQuantity(quantity_delta, true);
381 if (isDestroyed)
382 {
383 //if (obj) m_IngredientsToBeDeleted.Insert(obj);
384 continue;
385 }
386 }
387 else
388 {
390 int newQuantity = mag.GetAmmoCount() + quantity_delta;
391 if (newQuantity <= 0)
392 {
393 if (mag) m_IngredientsToBeDeleted.Insert(mag);
394 continue;
395 }
396 else
397 mag.ServerSetAmmoCount(newQuantity);
398 }
399 }
400 }
401 }
402 }
bool m_IngredientDestroy[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:38
bool m_IngredientUseSoftSkills[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:34
float m_IngredientAddHealth[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:35
float m_Specialty
Definition RecipeBase.c:23
float m_IngredientSetHealth[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:37
float m_IngredientAddQuantity[MAX_NUMBER_OF_INGREDIENTS]
Definition RecipeBase.c:36
ref array< ItemBase > m_IngredientsToBeDeleted
Definition RecipeBase.c:17

References m_IngredientAddHealth, m_IngredientAddQuantity, m_IngredientDestroy, m_IngredientSetHealth, m_IngredientsToBeDeleted, m_IngredientUseSoftSkills, m_Specialty, and MAX_NUMBER_OF_INGREDIENTS.

Referenced by PerformRecipe().

◆ ApplyModificationsResults()

void RecipeBase::ApplyModificationsResults ( ItemBase sorted[],
array< ItemBase > results,
ItemBase result,
PlayerBase player )
inlineprivate

Definition at line 231 of file RecipeBase.c.

232 {
233 float all_ingredients_health = 0;//this is used later in results
234 float all_ingredients_health01 = 0;//combined damage % of ingredients
235 int value_delta;
236 for (int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
237 {
238 ItemBase ingrd = ItemBase.Cast(sorted[i]);
239 all_ingredients_health += ingrd.GetHealth("", "");//accumulate health of all ingredients, used in results
240 all_ingredients_health01 += ingrd.GetHealth01("", "");
241 }
242 //------------------- results ----------------------
243 for (i = 0; i < m_NumberOfResults; i++)
244 {
245 ItemBase res = results.Get(i);
246 if (!res)
247 continue;
248
250
251 if (res.IsItemBase())
252 {
254
255 ItemBase resIb = ItemBase.Cast(res);
256
257 if (use_soft_skills)
258 value_delta = player.GetSoftSkillsManager().AddSpecialtyBonus(value_delta, m_Specialty);
259
260 if (!resIb.IsMagazine()) //is not a magazine
261 {
262 if (m_ResultSetFullQuantity[i] == 1) //<------m_ResultSetFullQuantity
263 resIb.SetQuantityMax();
264 else if (value_delta != -1) //<------m_ResultSetQuantity
265 resIb.SetQuantity(value_delta);
266 }
267 else//is magazine
268 {
269 Magazine mgzn = Magazine.Cast(resIb);
270 if (m_ResultSetFullQuantity[i] == 1) //<------m_ResultSetFullQuantity
271 mgzn.ServerSetAmmoMax();
272 else if (value_delta != -1) //<------m_ResultSetQuantity
273 mgzn.ServerSetAmmoCount(value_delta);
274 }
275 }
276 if (m_ResultSetHealth[i] != -1) //<------m_ResultSetHealth
277 {
279 if (use_soft_skills)
280 value_delta = player.GetSoftSkillsManager().AddSpecialtyBonus(value_delta, m_Specialty);
281 res.SetHealth("", "", value_delta);
282 }
283 if (m_ResultInheritsHealth[i] != -1) //<------m_ResultInheritsHealth
284 {
285 if (m_ResultInheritsHealth[i] >= 0)
286 {
288 ItemBase ing = sorted[ing_number];
289
290 if (ing)
291 {
292 //float ing_health = ing.GetHealth("","");
293 float ing_health01 = ing.GetHealth01("", "");
294 res.SetHealth("", "", ing_health01 * res.GetMaxHealth("", ""));
295 Debug.Log("Inheriting health from ingredient:" + m_ResultInheritsHealth[i].ToString(), "recipes");
296 }
297 }
298 else if (m_ResultInheritsHealth[i] == -2)
299 {
300 //float average_health = all_ingredients_health / MAX_NUMBER_OF_INGREDIENTS;
302 res.SetHealth("", "", average_health01 * res.GetMaxHealth("", ""));
303 }
304 }
305
306 if (m_ResultReplacesIngredient[i] != -1) //<------ResultReplacesIngredient
307 {
309 {
311 ItemBase ingr = sorted[ing_num];
312
313 if (ingr)
314 {
315 MiscGameplayFunctions.TransferItemProperties(ingr, res);
316 MiscGameplayFunctions.TransferInventory(ingr, res, player);
317 }
318 }
319 }
320 }
321 }
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:133
float m_ResultSetHealth[MAXIMUM_RESULTS]
Definition RecipeBase.c:43
float m_ResultSetQuantity[MAXIMUM_RESULTS]
Definition RecipeBase.c:42
bool m_ResultSetFullQuantity[MAXIMUM_RESULTS]
Definition RecipeBase.c:41
bool m_ResultUseSoftSkills[MAXIMUM_RESULTS]
Definition RecipeBase.c:49
int m_ResultReplacesIngredient[MAXIMUM_RESULTS]
Definition RecipeBase.c:48
int m_ResultInheritsHealth[MAXIMUM_RESULTS]
Definition RecipeBase.c:46

References Debug::Log(), m_NumberOfResults, m_ResultInheritsHealth, m_ResultReplacesIngredient, m_ResultSetFullQuantity, m_ResultSetHealth, m_ResultSetQuantity, m_ResultUseSoftSkills, m_Specialty, MAX_NUMBER_OF_INGREDIENTS, and ToString().

Referenced by PerformRecipe().

◆ ApplySoftSkillsSpecialty()

void RecipeBase::ApplySoftSkillsSpecialty ( PlayerBase player)
inlineprivate

Definition at line 528 of file RecipeBase.c.

529 {
530 player.GetSoftSkillsManager().AddSpecialty(m_Specialty);
531 }

References m_Specialty.

Referenced by PerformRecipe().

◆ CanDo() [1/197]

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

Definition at line 533 of file RecipeBase.c.

534 {
535 //Debug.Log("Called Can Do on a recipe id:" + m_ID.ToString(),"recipes");
536 for (int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
537 {
538 if (ingredients[i].GetInventory() && ingredients[i].GetInventory().AttachmentCount() > 0)
539 return false;
540 }
541
542 return true;
543 }

References MAX_NUMBER_OF_INGREDIENTS.

Referenced by CheckRecipe().

◆ CanDo() [2/197]

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

Definition at line 58 of file AttachHolster.c.

59 {
62
63 if (ingredient1.IsEmpty() && ingredient2.IsEmpty())
64 return true;
65 else
66 return false;
67 }

◆ CanDo() [3/197]

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

Definition at line 58 of file AttachHolsterPouch.c.

59 {
62
63 if (ingredient1.IsEmpty() && ingredient2.IsEmpty())
64 return true;
65 else
66 return false;
67 }

◆ CanDo() [4/197]

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

Definition at line 58 of file AttachPouch.c.

59 {
62
63 if (ingredient1.IsEmpty() && ingredient2.IsEmpty())
64 return true;
65 else
66 return false;
67 }

◆ CanDo() [5/197]

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

Definition at line 58 of file AttachPouchesHolster.c.

59 {
62
63 if (ingredient1.IsEmpty() && ingredient2.IsEmpty())
64 return true;
65 else
66 return false;
67 }

◆ CanDo() [6/197]

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

Definition at line 60 of file BloodTest.c.

61 {
62 return true;
63 }

◆ CanDo() [7/197]

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

Definition at line 64 of file CleanRags.c.

65 {
70
71 if (container.GetLiquidType() == LIQUID_WATER && container.GetQuantity() > 0 && rags.GetHealthLevel() > 1)
72 return true;
73 else
74 return false;
75 }
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:504

References Class::CastTo(), and LIQUID_WATER.

◆ CanDo() [8/197]

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

Definition at line 63 of file CleanWeapon.c.

References Class::CastTo(), and GetPlugin().

◆ CanDo() [9/197]

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

Definition at line 102 of file CraftArmbandFlag.c.

103 {
104 return ingredients[0].IsEmpty();
105 }

◆ CanDo() [10/197]

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

Definition at line 56 of file CraftArmbandRag.c.

57 {
58 return true;
59 }

◆ CanDo() [11/197]

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

Definition at line 123 of file CraftArmbandRaincoat.c.

124 {
125 return ingredients[0].IsEmpty();
126 }

◆ CanDo() [12/197]

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

Definition at line 57 of file CraftArrow.c.

58 {
59 return true;
60 }

◆ CanDo() [13/197]

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

Definition at line 58 of file CraftArrowBone.c.

59 {
60 return true;
61 }

◆ CanDo() [14/197]

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

Definition at line 58 of file CraftBait.c.

59 {
60 return true;
61 }

◆ CanDo() [15/197]

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

Definition at line 55 of file CraftBaseBallBatNailed.c.

56 {
57 return true;
58 }

◆ CanDo() [16/197]

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

Definition at line 58 of file CraftBloodBagIV.c.

59 {
60 return true;
61 }

◆ CanDo() [17/197]

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

Definition at line 58 of file CraftBoneBait.c.

59 {
60 return true;
61 }

◆ CanDo() [18/197]

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

Definition at line 84 of file CraftBoneHook.c.

85 {
86 return true;
87 }

◆ CanDo() [19/197]

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

Definition at line 59 of file CraftBoneKnife.c.

60 {
61 return true;
62 }

◆ CanDo() [20/197]

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

Definition at line 59 of file CraftBow.c.

60 {
62
63 if (ingredient2.IsEmpty())
64 return true;
65 else
66 return false;
67 }

◆ CanDo() [21/197]

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

Definition at line 84 of file CraftBurlapStrips.c.

85 {
86 return true;
87 }

◆ CanDo() [22/197]

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

Definition at line 58 of file CraftCamoNetShelter.c.

59 {
61
62 if (ingredient2.IsEmpty())
63 return true;
64 else
65 return false;
66 }

◆ CanDo() [23/197]

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

Definition at line 60 of file CraftCookingStand.c.

61 {
62 if (ingredients[1].IsEmpty())
63 return true;
64
65 return false;
66 }
override bool IsEmpty()

References IsEmpty().

◆ CanDo() [24/197]

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

Definition at line 59 of file CraftCourierBag.c.

60 {
61 return true;
62 }

◆ CanDo() [25/197]

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

Definition at line 60 of file CraftFenceKit.c.

61 {
62 if (ingredients[0].GetInventory().IsAttachment())
63 return false;
64 if (ingredients[1].GetInventory().IsAttachment())
65 return false;
66 return true;
67 }

◆ CanDo() [26/197]

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

Definition at line 74 of file CraftFireplace.c.

75 {
78
79 if (ingredient1.Type() == ingredient2.Type() || ingredient1.GetInventory().GetSlotId(0) == ingredient2.GetInventory().GetSlotId(0))
80 return false;
81
82 return true;
83 }

◆ CanDo() [27/197]

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

Definition at line 60 of file CraftFishingRod.c.

61 {
63
64 if (ingredient2.IsEmpty())
65 return true;
66 else
67 return false;
68 }

◆ CanDo() [28/197]

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

Definition at line 58 of file CraftFishNetTrap.c.

59 {
60 return true;
61 }

◆ CanDo() [29/197]

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

Definition at line 58 of file CraftGasMask_Filter_Improvised.c.

59 {
60 return true;
61 }

◆ CanDo() [30/197]

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

Definition at line 58 of file CraftGhillieAttachment.c.

59 {
60 return true;
61 }

◆ CanDo() [31/197]

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

Definition at line 58 of file CraftGhillieBushrag.c.

59 {
60 return true;
61 }

◆ CanDo() [32/197]

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

Definition at line 58 of file CraftGhillieHood.c.

59 {
60 return true;
61 }

◆ CanDo() [33/197]

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

Definition at line 58 of file CraftGhillieSuit.c.

59 {
60 return true;
61 }

◆ CanDo() [34/197]

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

Definition at line 58 of file CraftGhillieTop.c.

59 {
60 return true;
61 }

◆ CanDo() [35/197]

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

Definition at line 58 of file CraftGorkaHelmetComplete.c.

59 {
60 return true;
61 }

◆ CanDo() [36/197]

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

Definition at line 80 of file CraftGutsRope.c.

81 {
82 return true;
83 }

◆ CanDo() [37/197]

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

Definition at line 60 of file CraftHandDrillKit.c.

61 {
62 return true;
63 }

◆ CanDo() [38/197]

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

Definition at line 58 of file CraftImprovisedBag.c.

59 {
60 if (ingredients[1].IsEmpty())
61 return true;
62 return false;
63 }

References IsEmpty().

◆ CanDo() [39/197]

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

Definition at line 59 of file CraftImprovisedExplosive.c.

60 {
61 return ingredients[0].IsEmpty();
62 }

◆ CanDo() [40/197]

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

Definition at line 58 of file CraftImprovisedLeatherBag.c.

59 {
60 if (ingredients[1].IsEmpty())
61 return true;
62 return false;
63 }

References IsEmpty().

◆ CanDo() [41/197]

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

Definition at line 59 of file CraftLeatherCourierBag.c.

60 {
61 return true;
62 }

◆ CanDo() [42/197]

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

Definition at line 56 of file CraftLeatherSack.c.

57 {
58 return true;
59 }

◆ CanDo() [43/197]

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

Definition at line 59 of file CraftLongTorch.c.

60 {
61 return super.CanDo(ingredients, player);
62 }

◆ CanDo() [44/197]

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

Definition at line 59 of file CraftRabbitSnare.c.

60 {
61 //turned off for beta
62 return true;
63 }

◆ CanDo() [45/197]

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

Definition at line 88 of file CraftRag.c.

89 {
91 if (ingredient2.ConfigGetFloat("ragQuantity") > 0 && ingredient2.IsEmpty())
92 return true;
93 else
94 return false;
95 }

◆ CanDo() [46/197]

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

Definition at line 58 of file CraftRagRope.c.

59 {
60 return true;
61 }

◆ CanDo() [47/197]

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

Definition at line 58 of file CraftSalineBagIV.c.

59 {
60 return true;
61 }

◆ CanDo() [48/197]

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

Definition at line 59 of file CraftShelterKit.c.

60 {
61 if (ingredients[0].GetInventory().IsAttachment())
62 return false;
63 if (ingredients[1].GetInventory().IsAttachment())
64 return false;
65 return true;
66 }

◆ CanDo() [49/197]

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

Definition at line 84 of file CraftSmallFishTrap.c.

85 {
86 return true;
87 }

◆ CanDo() [50/197]

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

Definition at line 59 of file CraftSpearBone.c.

60 {
62
63 if (stick.GetInventory().AttachmentCount() == 0)
64 return true;
65 return false;
66 }

◆ CanDo() [51/197]

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

Definition at line 59 of file CraftSpearStone.c.

60 {
62
63 if (stick.GetInventory().AttachmentCount() == 0)
64 return true;
65 return false;
66 }

◆ CanDo() [52/197]

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

Definition at line 61 of file CraftSplint.c.

62 {
64 if (ingredient1.Type() == BandageDressing)
65 {
66 if (ingredient1.GetQuantity() == ingredient1.GetQuantityMax())
67 return true;
68 return false;
69 }
70
71 if (ingredient1.Type() == Rag)
72 {
73 if (ingredient1.GetQuantity() >= 4)
74 return true;
75
76 return false;
77 }
78
79 if (ingredient1.Type() == DuctTape)
80 {
81 if (ingredient1.GetQuantity() >= (ingredient1.GetQuantityMax() / 2))
82 return true;
83
84 return false;
85 }
86
87 return true;
88 }

◆ CanDo() [53/197]

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

Definition at line 61 of file CraftStoneKnife.c.

62 {
63 return true;
64 }

◆ CanDo() [54/197]

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

Definition at line 58 of file CraftSuppressor.c.

59 {
60 return true;
61 }

◆ CanDo() [55/197]

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

Definition at line 61 of file CraftTannedLeather.c.

62 {
63
64 //return true;
65 Pelt_Base ingredient1 = Pelt_Base.Cast(ingredients[0]);
66 ItemBase ingredient2 = ingredients[1]; //The garden lime
67
68 //Evaluate the amount of Lime required to craft leather from Pelt (percentage based)
69 float yieldQuantity = ingredient1.ConfigGetFloat("leatherYield");
70 float qtyModifier = (4 - ingredient1.GetHealthLevel("")) / 4; // Normalize the health level so Pristine is 1 and Ruined is 0
72
73 float m_NeededQuantity = (ingredient2.GetQuantityMax() * m_PercentageUsed) * yieldQuantity;
74 if (ingredient1.ConfigGetFloat("leatherYield") >= 0 && ingredient2.GetQuantity() >= m_NeededQuantity)
75 return true;
76 else
77 return false;
78
79 }

◆ CanDo() [56/197]

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

Definition at line 59 of file CraftTerritoryFlagKit.c.

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() [57/197]

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

Definition at line 59 of file CraftTorch.c.

60 {
61 return true;
62 }

◆ CanDo() [58/197]

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

Definition at line 58 of file CraftTripWire.c.

59 {
60 return true;
61 }

◆ CanDo() [59/197]

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

Definition at line 58 of file CraftTruck01DoubleWheel.c.

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 return false;
75 }

◆ CanDo() [60/197]

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

Definition at line 59 of file CraftWatchtowerKit.c.

60 {
61 if (ingredients[0].GetInventory().IsAttachment())
62 return false;
63 if (ingredients[1].GetInventory().IsAttachment())
64 return false;
65 return true;
66 }

◆ CanDo() [61/197]

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

Definition at line 58 of file CraftWoodenCrate.c.

59 {
60 return true;
61 }

◆ CanDo() [62/197]

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

Definition at line 58 of file CraftWoodenPlank.c.

59 {
60 return true;
61 }

◆ CanDo() [63/197]

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

Definition at line 8 of file CutOutSeeds.c.

9 {
10 return true;
11 }

◆ CanDo() [64/197]

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

Definition at line 83 of file DeCraftArmband.c.

84 {
85 return true;
86 }

◆ CanDo() [65/197]

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

Definition at line 87 of file DeCraftBow.c.

88 {
89 return true;
90 }

◆ CanDo() [66/197]

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

Definition at line 99 of file DeCraftCamoNetShelter.c.

100 {
101 return true;
102 }

◆ CanDo() [67/197]

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

Definition at line 107 of file DeCraftCarrierComplete.c.

108 {
110
111 if (ingredient1.IsEmpty())
112 return true;
113 else
114 return false;
115 }

◆ CanDo() [68/197]

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

Definition at line 95 of file DeCraftCarrierHolster.c.

96 {
98
99 if (ingredient1.IsEmpty())
100 return true;
101 else
102 return false;
103 }

◆ CanDo() [69/197]

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

Definition at line 95 of file DeCraftCarrierPouches.c.

96 {
98
99 if (ingredient1.IsEmpty())
100 return true;
101 else
102 return false;
103 }

◆ CanDo() [70/197]

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

Definition at line 87 of file DeCraftCookingStand.c.

88 {
89 return true;
90 }

◆ CanDo() [71/197]

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

Definition at line 98 of file DeCraftCourierBag.c.

99 {
100 return ingredients[0].IsEmpty();
101 }

◆ CanDo() [72/197]

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

Definition at line 58 of file DeCraftDetonator.c.

59 {
60 return true;
61 }

◆ CanDo() [73/197]

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

Definition at line 97 of file DeCraftFishingRod.c.

98 {
99 return ingredients[0].IsEmpty();
100 }

◆ CanDo() [74/197]

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

Definition at line 96 of file DeCraftFishNetTrap.c.

97 {
98 // We don't allow dismantling if there is an item attached
99 return ingredients[0].GetInventory().AttachmentCount() == 0;
100 }

◆ CanDo() [75/197]

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

Definition at line 100 of file DeCraftGhillieAttachment.c.

101 {
102 return true;
103 }

◆ CanDo() [76/197]

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

Definition at line 101 of file DeCraftGhillieBushrag.c.

102 {
103 return true;
104 }

◆ CanDo() [77/197]

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

Definition at line 101 of file DeCraftGhillieHood.c.

102 {
103 return true;
104 }

◆ CanDo() [78/197]

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

Definition at line 100 of file DeCraftGhillieSuit.c.

101 {
102 return true;
103 }

◆ CanDo() [79/197]

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

Definition at line 101 of file DeCraftGhillieTop.c.

102 {
103 return true;
104 }

◆ CanDo() [80/197]

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

Definition at line 87 of file DeCraftHandDrillKit.c.

88 {
89 return true;
90 }

◆ CanDo() [81/197]

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

Definition at line 98 of file DeCraftImprovisedBag.c.

99 {
100 return ingredients[0].IsEmpty();
101 }

◆ CanDo() [82/197]

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

Definition at line 98 of file DeCraftImprovisedLeatherBag.c.

99 {
100 return ingredients[0].IsEmpty();
101 }

◆ CanDo() [83/197]

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

Definition at line 98 of file DeCraftLeatherCourierBag.c.

99 {
100 return ingredients[0].IsEmpty();
101 }

◆ CanDo() [84/197]

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

Definition at line 83 of file DeCraftLeatherSack.c.

84 {
85 return ingredients[0].IsEmpty();
86 }

◆ CanDo() [85/197]

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

Definition at line 87 of file DeCraftSnareTrap.c.

88 {
89 return ingredients[0].GetInventory().AttachmentCount() == 0;
90 }

◆ CanDo() [86/197]

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

Definition at line 87 of file DeCraftSpear.c.

88 {
89 return true;
90 }

◆ CanDo() [87/197]

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

Definition at line 87 of file DeCraftSplint.c.

88 {
89 return true;
90 }

◆ CanDo() [88/197]

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

Definition at line 87 of file DeCraftTripWire.c.

88 {
89 // We don't allow dismantling if there is an item attached
90 return ingredients[0].GetInventory().AttachmentCount() == 0;
91 }

◆ CanDo() [89/197]

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

Definition at line 74 of file DeCraftTruck01DoubleWheel.c.

75 {
77
78 if (!ingredient1.GetHierarchyParent())
79 return true;
80 else
81 return false;
82 }

◆ CanDo() [90/197]

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

Definition at line 74 of file DeCraftWoodenCrate.c.

75 {
78
79 if (crate.GetInventory().CountInventory() > 1)
80 return false;
81
82 return true;
83 }

References Class::CastTo().

◆ CanDo() [91/197]

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

Definition at line 60 of file DisinfectItem.c.

61 {
64
65
66 if (!ingredient2.CanBeDisinfected())
67 return false;
68
69 if (ingredient1.GetQuantity() < ingredient1.GetDisinfectQuantity())
70 return false;
71
72
73 int liquid_type = ingredient1.GetLiquidType();
75 }
const int LIQUID_DISINFECTANT
Definition constants.c:510

References LIQUID_DISINFECTANT.

◆ CanDo() [92/197]

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

Definition at line 70 of file DrainLiquid.c.

71 {
76
79
80 ItemBase entity_in_hands = ItemBase.Cast(player.GetHumanInventory().GetEntityInHands());
81
82 //condition always true for any bottle, another recipe needed for pouring TO handheld bottle
85 else
87 }
Definition Liquid.c:2
static bool CanTransfer(ItemBase source_ent, ItemBase target_ent)
Definition Liquid.c:79

References Liquid::CanTransfer(), and Class::CastTo().

◆ CanDo() [93/197]

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

Definition at line 66 of file ExtinguishTorch.c.

67 {
71
73 return target.IsIgnited();
74 return false;
75 }
const int GROUP_LIQUID_BLOOD
Definition constants.c:514
const int LIQUID_BEER
Definition constants.c:507
const int LIQUID_RIVERWATER
Definition constants.c:505

References Class::CastTo(), GROUP_LIQUID_BLOOD, LIQUID_BEER, LIQUID_RIVERWATER, and LIQUID_WATER.

◆ CanDo() [94/197]

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

Definition at line 60 of file FillGasMask_Filter.c.

61 {
63
64 //Do not fill alread full filters
65 if (filter.GetQuantity() >= filter.GetQuantityMax())
66 return false;
67
68 // Check if not attached to a gas mask
70 filter.GetInventory().GetCurrentInventoryLocation(il);
71 EntityAI inv = il.GetParent();
72
73 if (inv != null)
74 {
75 if (inv.GetType() == "GP5GasMask" || inv.GetType() == "AirborneMask")
76 return false;
77 }
78
79 return true;
80 }
InventoryLocation.

◆ CanDo() [95/197]

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

Definition at line 58 of file FillSyringe.c.

59 {
60 return true;
61 }

◆ CanDo() [96/197]

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

Definition at line 65 of file FuelChainsaw.c.

66 {
69 int liquid_type = container.GetLiquidType();
71 }
const int LIQUID_GASOLINE
Definition constants.c:508

References Class::CastTo(), and LIQUID_GASOLINE.

◆ CanDo() [97/197]

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

Definition at line 81 of file LoadMagazine.c.

82 {
83 if (ingredients[0].IsKindOf("Ammunition_Base") && ingredients[1].IsKindOf("Ammunition_Base"))
84 return false;
85 else return true;
86
87 }

◆ CanDo() [98/197]

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

Definition at line 107 of file OpenCan.c.

108 {
109 if (player.IsPlacingLocal())
110 return false;
111
112 return true;
113 }

◆ CanDo() [99/197]

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

Definition at line 59 of file PaintAK101.c.

60 {
62 }
static bool CanPaintItem(ItemBase item_tool, ItemBase item_target)
Definition PaintItem.c:13

References PaintItem::CanPaintItem().

◆ CanDo() [100/197]

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

Definition at line 60 of file PaintAK10130Mag.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [101/197]

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

Definition at line 58 of file PaintAK74.c.

59 {
61 }

References PaintItem::CanPaintItem().

◆ CanDo() [102/197]

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

Definition at line 60 of file PaintAK7430Mag.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [103/197]

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

Definition at line 60 of file PaintAK74HndgrdBlack.c.

61 {
62 return true;
63 }

◆ CanDo() [104/197]

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

Definition at line 60 of file PaintAK74HndgrdCamo.c.

61 {
62 return true;
63 }

◆ CanDo() [105/197]

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

Definition at line 60 of file PaintAK74WoodBttstckBlack.c.

61 {
62 return true;
63 }

◆ CanDo() [106/197]

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

Definition at line 60 of file PaintAK74WoodBttstckCamo.c.

61 {
62 return true;
63 }

◆ CanDo() [107/197]

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

Definition at line 60 of file PaintAKFoldingBttstck.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [108/197]

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

Definition at line 60 of file PaintAKMDrumMag.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [109/197]

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

Definition at line 60 of file PaintAKMPalm30Mag.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [110/197]

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

Definition at line 60 of file PaintAKPlasticBttstck.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [111/197]

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

Definition at line 60 of file PaintAKRailHndgrd.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [112/197]

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

Definition at line 60 of file PaintAKS74U.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [113/197]

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

Definition at line 60 of file PaintAKS74UBttstck.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [114/197]

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

Definition at line 60 of file PaintAKWoodBttstckBlack.c.

61 {
62 return true;
63 }

◆ CanDo() [115/197]

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

Definition at line 60 of file PaintAKWoodBttstckCamo.c.

61 {
62 return true;
63 }

◆ CanDo() [116/197]

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

Definition at line 60 of file PaintB95.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [117/197]

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

Definition at line 60 of file PaintBallisticHelmet.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [118/197]

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

Definition at line 60 of file PaintCMAG10.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [119/197]

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

Definition at line 60 of file PaintCMAG20.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [120/197]

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

Definition at line 60 of file PaintCMAG30.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [121/197]

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

Definition at line 60 of file PaintCMAG40.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [122/197]

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

Definition at line 60 of file PaintCz527.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [123/197]

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

Definition at line 60 of file PaintCz527CamoBlack.c.

61 {
62 return true;
63 }

◆ CanDo() [124/197]

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

Definition at line 60 of file PaintCz527CamoGreen.c.

61 {
62 return true;
63 }

◆ CanDo() [125/197]

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

Definition at line 60 of file PaintDarkMotohelmet.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [126/197]

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

Definition at line 60 of file PaintFirefighterAxe.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [127/197]

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

Definition at line 60 of file PaintGhillieAttBlack.c.

61 {
62 return true;
63 }

◆ CanDo() [128/197]

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

Definition at line 58 of file PaintGhillieAttGreen.c.

59 {
60 return true;
61 }

◆ CanDo() [129/197]

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

Definition at line 60 of file PaintGhillieAttGreenMossy.c.

61 {
62 return true;
63 }

◆ CanDo() [130/197]

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

Definition at line 60 of file PaintGhillieBushragBlack.c.

61 {
62 return true;
63 }

◆ CanDo() [131/197]

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

Definition at line 58 of file PaintGhillieBushragGreen.c.

59 {
60 return true;
61 }

◆ CanDo() [132/197]

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

Definition at line 60 of file PaintGhillieBushragGreenMossy.c.

61 {
62 return true;
63 }

◆ CanDo() [133/197]

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

Definition at line 58 of file PaintGhillieHoodBlack.c.

59 {
60 return true;
61 }

◆ CanDo() [134/197]

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

Definition at line 60 of file PaintGhillieHoodGreen.c.

61 {
62 return true;
63 }

◆ CanDo() [135/197]

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

Definition at line 60 of file PaintGhillieHoodGreenMossy.c.

61 {
62 return true;
63 }

◆ CanDo() [136/197]

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

Definition at line 58 of file PaintGhillieSuitBlack.c.

59 {
60 return true;
61 }

◆ CanDo() [137/197]

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

Definition at line 60 of file PaintGhillieSuitGreen.c.

61 {
62 return true;
63 }

◆ CanDo() [138/197]

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

Definition at line 60 of file PaintGhillieSuitGreenMossy.c.

61 {
62 return true;
63 }

◆ CanDo() [139/197]

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

Definition at line 60 of file PaintGhillieTopBlack.c.

61 {
62 return true;
63 }

◆ CanDo() [140/197]

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

Definition at line 60 of file PaintGhillieTopGreen.c.

61 {
62 return true;
63 }

◆ CanDo() [141/197]

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

Definition at line 60 of file PaintGhillieTopGreenMossy.c.

61 {
62 return true;
63 }

◆ CanDo() [142/197]

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

Definition at line 60 of file PaintGorkaHelmet.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [143/197]

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

Definition at line 60 of file PaintGorkaHelmetComplete.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [144/197]

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

Definition at line 60 of file PaintM4A1.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [145/197]

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

Definition at line 60 of file PaintM4CQBBttstck.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [146/197]

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

Definition at line 60 of file PaintM4MPBttstck.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [147/197]

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

Definition at line 60 of file PaintM4MPHndgrd.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [148/197]

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

Definition at line 60 of file PaintM4OEBttstck.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [149/197]

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

Definition at line 60 of file PaintM4PlasticHndgrd.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [150/197]

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

Definition at line 60 of file PaintM4RISHndgrd.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [151/197]

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

Definition at line 63 of file PaintMosin.c.

64 {
66 }

References PaintItem::CanPaintItem().

◆ CanDo() [152/197]

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

Definition at line 60 of file PaintMosinCamoBlack.c.

61 {
62 return true;
63 }

◆ CanDo() [153/197]

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

Definition at line 60 of file PaintMosinCamoGreen.c.

61 {
62 return true;
63 }

◆ CanDo() [154/197]

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

Definition at line 60 of file PaintMotohelmet.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [155/197]

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

Definition at line 60 of file PaintRuger1022.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [156/197]

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

Definition at line 60 of file PaintSawedoffMosin.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [157/197]

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

Definition at line 60 of file PaintSawedoffMosinCamoBlack.c.

61 {
62 return true;
63 }

◆ CanDo() [158/197]

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

Definition at line 60 of file PaintSawedoffMosinCamoGreen.c.

61 {
62 return true;
63 }

◆ CanDo() [159/197]

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

Definition at line 60 of file PaintSKS.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [160/197]

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

Definition at line 60 of file PaintZSh3PilotHelmet.c.

61 {
63 }

References PaintItem::CanPaintItem().

◆ CanDo() [161/197]

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

◆ CanDo() [162/197]

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

Definition at line 81 of file PeelPotato.c.

82 {
83 return true;
84 }

◆ CanDo() [163/197]

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

Definition at line 77 of file PokeHolesBarrel.c.

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() [164/197]

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

Definition at line 70 of file PourLiquid.c.

71 {
76
79
80 ItemBase entity_in_hands = ItemBase.Cast(player.GetHumanInventory().GetEntityInHands());
81
82 //condition always true for any bottle, another recipe needed for pouring TO handheld bottle
85 else
87 }

References Liquid::CanTransfer(), and Class::CastTo().

◆ CanDo() [165/197]

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

Definition at line 81 of file PrepareChicken.c.

82 {
83 if (ingredients[0].GetHealthLevel() == GameConstants.STATE_RUINED)
84 return false;
85 return true;
86 }
const int STATE_RUINED
Definition constants.c:757

References GameConstants::STATE_RUINED.

◆ CanDo() [166/197]

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

Definition at line 8 of file PrepareFish.c.

9 {
10 return true;
11 }

◆ CanDo() [167/197]

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

Definition at line 94 of file PrepareRabbit.c.

95 {
96 return true;
97 }

◆ CanDo() [168/197]

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

Definition at line 66 of file PurifyWater.c.

67 {
68 return ingredients[1].GetQuantity() > 0;
69 }

◆ CanDo() [169/197]

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

Definition at line 60 of file RefuelTorch.c.

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 return false;
74 }
75
76 return true;
77 }

◆ CanDo() [170/197]

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

◆ CanDo() [171/197]

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

◆ CanDo() [172/197]

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

Definition at line 61 of file RepairEyePatch.c.

62 {
65
66 if (ingrRag.GetHealthLevel() >= ingrEP.GetHealthLevel())
67 return false;
68
69 return true;
70 }

◆ CanDo() [173/197]

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

Definition at line 62 of file RepairPlanks.c.

63 {
65
66 if (ingredient1.Type() == WoodenPlank)
67 {
68 if (ingredient1.GetQuantity() >= 2)
69 return true;
70
71 return false;
72 }
73
74 return true;
75 }

◆ CanDo() [174/197]

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

Definition at line 64 of file RepairWithPliers.c.

65 {
66 return true;
67 }

◆ CanDo() [175/197]

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

Definition at line 66 of file RepairWithRags.c.

67 {
68 return true;
69 }

◆ CanDo() [176/197]

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

◆ CanDo() [177/197]

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

Definition at line 63 of file SawoffB95.c.

64 {
65 return true;
66 }

◆ CanDo() [178/197]

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

Definition at line 63 of file SawoffFAMAS.c.

64 {
65 return true;
66 }

◆ CanDo() [179/197]

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

Definition at line 63 of file SawOffIzh18.c.

64 {
65 //check may seem redundandt, but recipe works on "SawedoffIzh18" without it (it should not)
68 if (ingredient1.GetType() == "SawedoffIzh18")
69 return false;
70 else if (ingredient1.GetType() == "Izh18")
71 return true;
72 else
73 return false;
74 }

References Class::CastTo().

◆ CanDo() [180/197]

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

Definition at line 63 of file SawOffIzh18Shotgun.c.

64 {
65 //check may seem redundandt, but recipe works on "SawedoffIzh18" without it (it should not)
68 if (ingredient1.GetType() == "SawedoffIzh18Shotgun")
69 return false;
70 else if (ingredient1.GetType() == "Izh18Shotgun")
71 return true;
72 else
73 return false;
74 }

References Class::CastTo().

◆ CanDo() [181/197]

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

Definition at line 65 of file SawoffMagnum.c.

66 {
67 return true;
68 }

◆ CanDo() [182/197]

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

Definition at line 63 of file SawoffMosin.c.

64 {
65 return true;
66 }

◆ CanDo() [183/197]

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

Definition at line 65 of file SawoffMosinPainted.c.

66 {
67 return true;
68 }

◆ CanDo() [184/197]

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

Definition at line 63 of file SawoffShotgunIzh43.c.

64 {
65 return true;
66 }

◆ CanDo() [185/197]

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

Definition at line 87 of file SawWoodenLog.c.

88 {
89 return true;
90 }

◆ CanDo() [186/197]

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

Definition at line 93 of file SharpenBroom.c.

94 {
96
97 if (broom.GetCompEM().IsWorking())
98 return false;
99 return true;
100 }

◆ CanDo() [187/197]

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

Definition at line 81 of file SharpenLongStick.c.

82 {
83 return true;
84 }

◆ CanDo() [188/197]

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

◆ CanDo() [189/197]

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

Definition at line 81 of file SharpenStick.c.

82 {
83 return true;
84 }

◆ CanDo() [190/197]

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

Definition at line 99 of file SplitBroom.c.

100 {
102
103
104 if (broom.GetCompEM().IsWorking())
105 return false;
106
107 if (broom.IsEmpty())
108 return true;
109 return false;
110
111 }

◆ CanDo() [191/197]

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

Definition at line 67 of file SplitFirewood.c.

68 {
69 return true;
70 }

◆ CanDo() [192/197]

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

Definition at line 87 of file SplitLongWoodenStick.c.

88 {
90
91 if (ingredient1.IsEmpty())
92 return true;
93 else
94 return false;
95 }

◆ CanDo() [193/197]

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

Definition at line 85 of file SplitStones.c.

86 {
87 return true;
88 }

◆ CanDo() [194/197]

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

Definition at line 75 of file Test.c.

76 {
77 return true;
78 }

◆ CanDo() [195/197]

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

Definition at line 58 of file UpgradeTorchWithLard.c.

59 {
60 FlammableBase item = Torch.Cast(ingredients[1]);
61 if (item)
62 return item.CanReceiveUpgrade();
63 return false;
64 }

◆ CanDo() [196/197]

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

Definition at line 59 of file UpgradeTorchWithLiquidFuel.c.

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 return item.CanReceiveUpgrade();
68 }
69
70 return false;
71 }
const int LIQUID_DIESEL
Definition constants.c:509

References LIQUID_DIESEL, and LIQUID_GASOLINE.

◆ CanDo() [197/197]

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

Definition at line 61 of file WriteLetter.c.

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 RecipeBase::CheckConditions ( ItemBase sorted[])
inlineprivate

Definition at line 405 of file RecipeBase.c.

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

References m_MaxDamageIngredient, m_MaxQuantityIngredient, m_MinDamageIngredient, m_MinQuantityIngredient, and MAX_NUMBER_OF_INGREDIENTS.

Referenced by CheckRecipe().

◆ CheckIngredientMatch()

bool RecipeBase::CheckIngredientMatch ( ItemBase item1,
ItemBase item2 )
inlineprivate

Definition at line 89 of file RecipeBase.c.

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

References GetGame(), m_Ingredients, m_IngredientsSorted, m_Items, MAX_NUMBER_OF_INGREDIENTS, and x.

◆ CheckRecipe()

bool RecipeBase::CheckRecipe ( ItemBase item1,
ItemBase item2,
PlayerBase player )
inlineprivate

Definition at line 455 of file RecipeBase.c.

456 {
457 if (item1 == NULL || item2 == NULL)
458 {
459 Error("recipe invalid, at least one of the ingredients is NULL");
460 return false;
461 }
462
463 ItemBase item_in_hand = player.GetItemInHands();
464
466 return false;
467
470
472 return true;
473 return false;
474 }
bool IsRecipeAnywhere()
Definition RecipeBase.c:84
bool CanDo(ItemBase ingredients[], PlayerBase player)
Definition RecipeBase.c:533
bool CheckConditions(ItemBase sorted[])
Definition RecipeBase.c:405
void Error(string err)
Messagebox with error message.
Definition EnDebug.c:90

References CanDo(), CheckConditions(), Error(), IsRecipeAnywhere(), and m_IngredientsSorted.

Referenced by PerformRecipe().

◆ DeleleIngredientsPass()

void RecipeBase::DeleleIngredientsPass ( )
inlineprivate

Definition at line 324 of file RecipeBase.c.

325 {
326 for (int i = 0; i < m_IngredientsToBeDeleted.Count(); i++)
327 {
329 ingredient.Delete();
330 }
332 }

References m_IngredientsToBeDeleted.

Referenced by PerformRecipe().

◆ Do() [1/198]

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

Definition at line 545 of file RecipeBase.c.

546 {
547 //Debug.Log("Called Do on a recipe id:" + m_ID.ToString(),"recipes");
548 }

Referenced by PerformRecipe().

◆ Do() [2/198]

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

Definition at line 69 of file AttachHolster.c.

70 {
71 Debug.Log("Recipe Do method called", "recipes");
72 }

References Debug::Log().

◆ Do() [3/198]

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

Definition at line 69 of file AttachHolsterPouch.c.

70 {
71 Debug.Log("Recipe Do method called", "recipes");
72 }

References Debug::Log().

◆ Do() [4/198]

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

Definition at line 69 of file AttachPouch.c.

70 {
71 Debug.Log("Recipe Do method called", "recipes");
72 }

References Debug::Log().

◆ Do() [5/198]

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

Definition at line 69 of file AttachPouchesHolster.c.

70 {
71 Debug.Log("Recipe Do method called", "recipes");
72 }

References Debug::Log().

◆ Do() [6/198]

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

Definition at line 65 of file BloodTest.c.

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 }
static string GetBloodTypeName(int bloodtype, out string type, out bool positive)
Definition BloodType.c:82

References Class::CastTo(), and BloodTypes::GetBloodTypeName().

◆ Do() [7/198]

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

Definition at line 77 of file CleanRags.c.

78 {
79 /*
80 this function will clean the rags and consume the appropriate amount of cleaning liquid,
81 if there is insufficient liquid to cover the "repair", the rags will only repair proportionally
82 */
83 //TODO implement SS 2.0 to amount of liquid used
88
89 float rags_health = rags.GetHealth("", "");
90 int rags_quantity = rags.GetQuantity();
91
93
94 int liquid_quantity = container.GetQuantity();
96
97 float used_ratio = 0;
98 float heal = 0;
99
101 {
102 container.AddQuantity(-liquid_required);
104 }
105 else
106 {
107 container.SetQuantity(0);
110
111 }
112 heal = Math.Clamp(heal, 0, (70 - rags_health));
113 rags.AddHealth("", "", heal);
114 /*
115 Debug.Log("liquid_quantity: "+ToString(liquid_quantity),"recipes");
116 Debug.Log("used_ratio: "+ToString(used_ratio),"recipes");
117 Debug.Log("rags_combined_damage: "+ToString(rags_combined_damage),"recipes");
118 Debug.Log("liquid_required: "+ToString(liquid_required),"recipes");
119 Debug.Log("healing applied: "+ToString(heal),"recipes");
120 */
121
122 /*
123 PluginTransmissionAgents mta = GetPlugin(PluginTransmissionAgents);
124 mta.RemoveAllAgents(rags);
125 */
126 }
Definition EnMath.c:7
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'.

References Class::CastTo(), and Math::Clamp().

◆ Do() [8/198]

◆ Do() [9/198]

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

Definition at line 107 of file CraftArmbandFlag.c.

108 {
109
110 }

◆ Do() [10/198]

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

Definition at line 61 of file CraftArmbandRag.c.

62 {
63 Debug.Log("Recipe Do method called", "recipes");
64 }

References Debug::Log().

◆ Do() [11/198]

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

Definition at line 128 of file CraftArmbandRaincoat.c.

129 {
130
131 }

◆ Do() [12/198]

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

Definition at line 62 of file CraftArrow.c.

63 {
64 Debug.Log("Recipe Do method called", "recipes");
65 }

References Debug::Log().

◆ Do() [13/198]

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

Definition at line 63 of file CraftArrowBone.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [14/198]

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

Definition at line 63 of file CraftBait.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [15/198]

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

Definition at line 56 of file CraftBaseBallBatBarbed.c.

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 player.GetBleedingManagerServer().AttemptAddBleedingSourceBySelection("RightForeArmRoll");
68 else if (rand == 1 && !player.GetBleedingManagerServer().AttemptAddBleedingSourceBySelection("RightForeArmRoll"))
69 player.GetBleedingManagerServer().AttemptAddBleedingSourceBySelection("LeftForeArmRoll");
70 }
71 }
static int RandomIntInclusive(int min, int max)
Returns a random int number between and min [inclusive] and max [inclusive].
Definition EnMath.c:54

References Math::RandomIntInclusive().

◆ Do() [16/198]

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

Definition at line 63 of file CraftBloodBagIV.c.

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 }

References Class::CastTo().

◆ Do() [17/198]

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

Definition at line 63 of file CraftBoneBait.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [18/198]

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

Definition at line 89 of file CraftBoneHook.c.

90 {
91 Debug.Log("Recipe Do method called", "recipes");
92 }

References Debug::Log().

◆ Do() [19/198]

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

Definition at line 64 of file CraftBoneKnife.c.

65 {
69 Class.CastTo(result, results.Get(0));
70 MiscGameplayFunctions.TransferItemProperties(ingredient0, result, false, true, true, true);
71 }

References Class::CastTo().

◆ Do() [20/198]

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

Definition at line 69 of file CraftBow.c.

70 {
71 Debug.Log("Recipe Do method called", "recipes");
72 }

References Debug::Log().

◆ Do() [21/198]

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

Definition at line 89 of file CraftBurlapStrips.c.

90 {
91 Debug.Log("Recipe Do method called", "recipes");
92 }

References Debug::Log().

◆ Do() [22/198]

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

Definition at line 68 of file CraftCamoNetShelter.c.

69 {
70 Debug.Log("Recipe Do method called", "recipes");
71 }

References Debug::Log().

◆ Do() [23/198]

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

Definition at line 68 of file CraftCookingStand.c.

69 {
70 Debug.Log("Recipe Do method called", "recipes");
71 }

References Debug::Log().

◆ Do() [24/198]

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

Definition at line 64 of file CraftCourierBag.c.

65 {
66 Debug.Log("Recipe Do method called", "recipes");
67 }

References Debug::Log().

◆ Do() [25/198]

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

Definition at line 69 of file CraftFenceKit.c.

70 {
71 /*ItemBase fence_kit = results[0];
72 Rope rope = Rope.Cast(fence_kit.GetInventory().CreateAttachment("Rope"));
73 MiscGameplayFunctions.TransferItemProperties(ingredients[0],rope);*/
74 Debug.Log("Recipe Do method called", "recipes");
75 }

References Debug::Log().

◆ Do() [26/198]

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

Definition at line 85 of file CraftFireplace.c.

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

References GetGame().

◆ Do() [27/198]

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

Definition at line 70 of file CraftFishingRod.c.

71 {
72 Debug.Log("Recipe Do method called", "recipes");
73 }

References Debug::Log().

◆ Do() [28/198]

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

Definition at line 63 of file CraftFishNetTrap.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [29/198]

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

Definition at line 63 of file CraftGasMask_Filter_Improvised.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [30/198]

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

Definition at line 63 of file CraftGhillieAttachment.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [31/198]

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

Definition at line 63 of file CraftGhillieBushrag.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [32/198]

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

Definition at line 63 of file CraftGhillieHood.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [33/198]

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

Definition at line 63 of file CraftGhillieSuit.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [34/198]

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

Definition at line 63 of file CraftGhillieTop.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [35/198]

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

Definition at line 63 of file CraftGorkaHelmetComplete.c.

64 {
65 }

◆ Do() [36/198]

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

Definition at line 85 of file CraftGutsRope.c.

86 {
87 Debug.Log("Recipe Do method called", "recipes");
88 }

References Debug::Log().

◆ Do() [37/198]

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

Definition at line 65 of file CraftHandDrillKit.c.

66 {
67 Debug.Log("Recipe Do method called", "recipes");
68 }

References Debug::Log().

◆ Do() [38/198]

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

Definition at line 65 of file CraftImprovisedBag.c.

66 {
67 Debug.Log("Recipe Do method called", "recipes");
68 }

References Debug::Log().

◆ Do() [39/198]

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

Definition at line 64 of file CraftImprovisedExplosive.c.

65 {
66 Debug.Log("Recipe Do method called", "recipes");
67 }

References Debug::Log().

◆ Do() [40/198]

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

Definition at line 65 of file CraftImprovisedLeatherBag.c.

66 {
67 Debug.Log("Recipe Do method called", "recipes");
68 }

References Debug::Log().

◆ Do() [41/198]

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

Definition at line 64 of file CraftLeatherCourierBag.c.

65 {
66 Debug.Log("Recipe Do method called", "recipes");
67 }

References Debug::Log().

◆ Do() [42/198]

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

Definition at line 61 of file CraftLeatherSack.c.

62 {
63 Debug.Log("Recipe Do method called", "recipes");
64 }

References Debug::Log().

◆ Do() [43/198]

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

Definition at line 64 of file CraftLongTorch.c.

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 player.ServerTakeEntityToTargetAttachment(torch, rag);
75
76 else if (!GetGame().IsMultiplayer())
77 player.LocalTakeEntityToTargetAttachment(torch, rag);
78
79 torch.StandUp();
80 torch.CraftingInit(rag.GetQuantity());
81 }
eBleedingSourceType GetType()

References GetGame(), GetType(), and Debug::Log().

◆ Do() [44/198]

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

Definition at line 60 of file CraftMetalWire.c.

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++;
69 wire.SetHealth01("", "", 1 - 0.3 * health);
70 }
71 }
proto void Print(void var)
Prints content of variable to console/log.

References Print().

◆ Do() [45/198]

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

Definition at line 65 of file CraftRabbitSnare.c.

66 {
67 Debug.Log("Recipe Do method called", "recipes");
68 }

References Debug::Log().

◆ Do() [46/198]

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

Definition at line 97 of file CraftRag.c.

98 {
100 Class.CastTo(result, results.Get(0));
102 int quantity = ingredient2.ConfigGetFloat("ragQuantity");
103
104 result.SetQuantity(quantity);
105 }

References Class::CastTo().

◆ Do() [47/198]

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

Definition at line 63 of file CraftRagRope.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [48/198]

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

Definition at line 63 of file CraftSalineBagIV.c.

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 }

References Class::CastTo(), and Debug::Log().

◆ Do() [49/198]

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

Definition at line 68 of file CraftShelterKit.c.

69 {
70 }

◆ Do() [50/198]

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

Definition at line 89 of file CraftSmallFishTrap.c.

90 {
91 Debug.Log("Recipe Do method called", "recipes");
92 }

References Debug::Log().

◆ Do() [51/198]

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

Definition at line 68 of file CraftSpearBone.c.

69 {
70 Debug.Log("Recipe Do method called", "recipes");
71 }

References Debug::Log().

◆ Do() [52/198]

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

Definition at line 68 of file CraftSpearStone.c.

69 {
70 Debug.Log("Recipe Do method called", "recipes");
71 }

References Debug::Log().

◆ Do() [53/198]

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

Definition at line 90 of file CraftSplint.c.

91 {
92 Debug.Log("Recipe Do method called", "recipes");
93
95
96 if (ingredients[0].Type() == Rag)
97 {
98 //Print("Are we getting here?");
99 ingredient1.AddQuantity(-4);
100 }
101
102 if (ingredients[0].Type() == BandageDressing)
103 {
104 //Print("We also get here then");
105 ingredient1.AddQuantity(-ingredient1.GetQuantityMax());
106 }
107
108 if (ingredients[0].Type() == DuctTape)
109 {
110 //Print("We also get here then");
111 ingredient1.AddQuantity(-ingredient1.GetQuantityMax() / 2);
112 }
113 }
string Type

References Debug::Log(), and Type.

◆ Do() [54/198]

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

Definition at line 66 of file CraftStoneKnife.c.

67 {
71 Class.CastTo(result, results.Get(0));
72 MiscGameplayFunctions.TransferItemProperties(ingredient0, result, false, true, true, true);
73 }

References Class::CastTo().

◆ Do() [55/198]

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

Definition at line 63 of file CraftSuppressor.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [56/198]

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

Definition at line 82 of file CraftTannedLeather.c.

83 {
84 Debug.Log("Craft Tanned Leather", "recipes");
85
87 Class.CastTo(result, results.Get(0));
89
90 //Set tanned leather output quantity
91 int quantity = ingredient1.ConfigGetFloat("leatherYield");
92 float qtyModifier = (4 - ingredient1.GetHealthLevel("")) / 4; // Normalize the health level so Pristine is 1 and Ruined is 0
94
95 result.SetQuantity(quantity);
96
97 //Use X% of GardenLime for each tanned leather item crafted
99 float usedLime = (gardenLime.GetQuantityMax() * m_PercentageUsed) * quantity;
100 gardenLime.SetQuantity(gardenLime.GetQuantity() - usedLime);
101
102 result.SetHealthMax("", "");
103
104 //Split stack if returned quantity over Max stack
105 if (quantity > result.GetQuantityMax())
106 {
107 //Allow spawn of a second stack of tanned leather
108 MiscGameplayFunctions.CreateItemBasePiles("TannedLeather", player.GetPosition(), (quantity - 8), result.GetMaxHealth(), false);
109 }
110 }

References Class::CastTo(), and Debug::Log().

◆ Do() [57/198]

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

Definition at line 79 of file CraftTerritoryFlagKit.c.

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 }

References Debug::Log().

◆ Do() [58/198]

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

Definition at line 64 of file CraftTorch.c.

65 {
66 Debug.Log("Recipe Do method called", "recipes");
67
69 rag.SetCleanness(0);
70 Torch torch = Torch.Cast(results[0]);
71 if (torch)
72 {
73 torch.SetTorchDecraftResult(ingredients[1].GetType());
74
75 if (GetGame().IsMultiplayer() && GetGame().IsServer())
76 player.ServerTakeEntityToTargetAttachment(torch, rag);
77 else if (!GetGame().IsMultiplayer())
78 {
80 player.PredictiveTakeEntityToTargetAttachmentEx(torch, rag, slotID);
81
82 }
83 torch.StandUp();
84 torch.CraftingInit(rag.GetQuantity());
85 }
86 }
provides access to slot configuration
static proto native int GetSlotIdFromString(string slot_name)
converts string to slot_id

References GetGame(), InventorySlots::GetSlotIdFromString(), GetType(), and Debug::Log().

◆ Do() [59/198]

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

Definition at line 63 of file CraftTripWire.c.

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

◆ Do() [60/198]

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

Definition at line 77 of file CraftTruck01DoubleWheel.c.

78 {
82
83 if (ingredient1.GetHierarchyRootPlayer())
84 ingred_pos = ingredient2.GetPosition();
85 else
86 ingred_pos = ingredient1.GetPosition();
87
88 ItemBase result1 = results.Get(0);
89 result1.SetPosition(ingred_pos);
90 }

◆ Do() [61/198]

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

Definition at line 68 of file CraftWatchtowerKit.c.

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 }

References Debug::Log().

◆ Do() [62/198]

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

Definition at line 63 of file CraftWoodenCrate.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [63/198]

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

Definition at line 63 of file CraftWoodenPlank.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [64/198]

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

Definition at line 13 of file CutOutSeeds.c.

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
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.

References Math::Ceil(), Debug::Log(), and Math::RandomFloat().

◆ Do() [65/198]

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

Definition at line 88 of file DeCraftArmband.c.

89 {
90 Debug.Log("Recipe Do method called", "recipes");
91 }

References Debug::Log().

◆ Do() [66/198]

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

Definition at line 92 of file DeCraftBow.c.

93 {
94 Debug.Log("Recipe Do method called", "recipes");
95 }

References Debug::Log().

◆ Do() [67/198]

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

Definition at line 104 of file DeCraftCamoNetShelter.c.

105 {
106 Debug.Log("Recipe Do method called", "recipes");
107 }

References Debug::Log().

◆ Do() [68/198]

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

Definition at line 117 of file DeCraftCarrierComplete.c.

118 {
119 Debug.Log("Recipe Do method called", "recipes");
120 }

References Debug::Log().

◆ Do() [69/198]

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

Definition at line 105 of file DeCraftCarrierHolster.c.

106 {
107 Debug.Log("Recipe Do method called", "recipes");
108 }

References Debug::Log().

◆ Do() [70/198]

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

Definition at line 105 of file DeCraftCarrierPouches.c.

106 {
107 Debug.Log("Recipe Do method called", "recipes");
108 }

References Debug::Log().

◆ Do() [71/198]

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

Definition at line 92 of file DeCraftCookingStand.c.

93 {
94 Debug.Log("Recipe Do method called", "recipes");
95 }

References Debug::Log().

◆ Do() [72/198]

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

Definition at line 103 of file DeCraftCourierBag.c.

104 {
105 Debug.Log("Recipe Do method called", "recipes");
106 }

References Debug::Log().

◆ Do() [73/198]

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

Definition at line 63 of file DeCraftDetonator.c.

64 {
66 if (results.IsValidIndex(0))
67 battery = Battery9V.Cast(results[0]);
68 if (battery)
69 {
70 if (battery.GetCompEM())
71 battery.GetCompEM().SetEnergy0To1(Math.RandomFloatInclusive(0.25, 1));
72 }
73 }
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
Definition EnMath.c:106

References Math::RandomFloatInclusive().

◆ Do() [74/198]

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

Definition at line 102 of file DeCraftFishingRod.c.

103 {
104 Debug.Log("Recipe Do method called", "recipes");
105 }

References Debug::Log().

◆ Do() [75/198]

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

Definition at line 102 of file DeCraftFishNetTrap.c.

103 {
104 Debug.Log("Recipe Do method called", "recipes");
105 }

References Debug::Log().

◆ Do() [76/198]

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

Definition at line 105 of file DeCraftGhillieAttachment.c.

106 {
107 Debug.Log("Recipe Do method called", "recipes");
108 }

References Debug::Log().

◆ Do() [77/198]

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

Definition at line 106 of file DeCraftGhillieBushrag.c.

107 {
108 Debug.Log("Recipe Do method called", "recipes");
109 }

References Debug::Log().

◆ Do() [78/198]

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

Definition at line 106 of file DeCraftGhillieHood.c.

107 {
108 Debug.Log("Recipe Do method called", "recipes");
109 }

References Debug::Log().

◆ Do() [79/198]

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

Definition at line 105 of file DeCraftGhillieSuit.c.

106 {
107 Debug.Log("Recipe Do method called", "recipes");
108 }

References Debug::Log().

◆ Do() [80/198]

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

Definition at line 106 of file DeCraftGhillieTop.c.

107 {
108 Debug.Log("Recipe Do method called", "recipes");
109 }

References Debug::Log().

◆ Do() [81/198]

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

Definition at line 92 of file DeCraftHandDrillKit.c.

93 {
94 Debug.Log("Recipe Do method called", "recipes");
95 }

References Debug::Log().

◆ Do() [82/198]

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

Definition at line 103 of file DeCraftImprovisedBag.c.

104 {
105 Debug.Log("Recipe Do method called", "recipes");
106 }

References Debug::Log().

◆ Do() [83/198]

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

Definition at line 103 of file DeCraftImprovisedLeatherBag.c.

104 {
105 Debug.Log("Recipe Do method called", "recipes");
106 }

References Debug::Log().

◆ Do() [84/198]

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

Definition at line 103 of file DeCraftLeatherCourierBag.c.

104 {
105 Debug.Log("Recipe Do method called", "recipes");
106 }

References Debug::Log().

◆ Do() [85/198]

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

Definition at line 88 of file DeCraftLeatherSack.c.

89 {
90 Debug.Log("Recipe Do method called", "recipes");
91 }

References Debug::Log().

◆ Do() [86/198]

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

Definition at line 92 of file DeCraftSnareTrap.c.

93 {
94 Debug.Log("Recipe Do method called", "recipes");
95 }

References Debug::Log().

◆ Do() [87/198]

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

Definition at line 92 of file DeCraftSpear.c.

93 {
94 Debug.Log("Recipe Do method called", "recipes");
95 }

References Debug::Log().

◆ Do() [88/198]

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

Definition at line 92 of file DeCraftSplint.c.

93 {
94 Debug.Log("Recipe Do method called", "recipes");
95 }

References Debug::Log().

◆ Do() [89/198]

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

Definition at line 93 of file DeCraftTripWire.c.

94 {
95 Debug.Log("Recipe Do method called", "recipes");
96 }

References Debug::Log().

◆ Do() [90/198]

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

Definition at line 84 of file DeCraftTruck01DoubleWheel.c.

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() [91/198]

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

Definition at line 85 of file DeCraftWoodenCrate.c.

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 }
const int STATE_WORN
Definition constants.c:760
const int STATE_DAMAGED
Definition constants.c:759
const int STATE_BADLY_DAMAGED
Definition constants.c:758
const int STATE_PRISTINE
Definition constants.c:761

References Class::CastTo(), Debug::Log(), Math::RandomFloat(), Math::RandomIntInclusive(), GameConstants::STATE_BADLY_DAMAGED, GameConstants::STATE_DAMAGED, GameConstants::STATE_PRISTINE, GameConstants::STATE_RUINED, and GameConstants::STATE_WORN.

◆ Do() [92/198]

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

Definition at line 77 of file DisinfectItem.c.

78 {
81
82
83 ingredient1.AddQuantity(-ingredient1.GetDisinfectQuantity());
84
86 ingredient2.RemoveAllAgentsExcept(eAgents.BRAIN | eAgents.SALMONELLA | eAgents.CHOLERA);
87 ingredient2.SetCleanness(1);
88 }
eAgents
Definition EAgents.c:3

References Class::CastTo().

◆ Do() [93/198]

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

Definition at line 89 of file DrainLiquid.c.

90 {
93
94 ItemBase entity_in_hands = ItemBase.Cast(player.GetHumanInventory().GetEntityInHands());
95
98 else
100 }
static void Transfer(ItemBase source_ent, ItemBase target_ent, float quantity=-1)
Definition Liquid.c:37

References Liquid::Transfer().

◆ Do() [94/198]

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

Definition at line 77 of file ExtinguishTorch.c.

78 {
81 if (ingredient1.HasEnergyManager())
82 {
83 ingredient1.GetCompEM().SwitchOff();
84 ingredient1.SetWetMax();
85 }
86 }

References Class::CastTo().

◆ Do() [95/198]

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

Definition at line 82 of file FillGasMask_Filter.c.

83 {
84 // Get charcoal quantity
86 float charcoalCurrent = charcoal.GetQuantity();
87
88 // Get filter quantity
90
91 float filterMax = filter.GetQuantityMax();
92 float filterCurrent = filter.GetQuantity();
93
94 //1 tablet = 10 quantity
96
97 // All if possible
98 if (fillAmount >= filterMax)
99 {
100 ingredients[1].SetQuantity(filterMax);
101
102 //Remove only the used part from charcoal
104 ingredients[0].SetQuantity(Math.Round(fillAmount / 10));
105 }
106 else
107 {
108 ingredients[1].SetQuantity(fillAmount);
109 ingredients[0].AddQuantity(- charcoalCurrent);
110 }
111 }
static proto float Round(float f)
Returns mathematical round of value.

References Math::Round().

◆ Do() [96/198]

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

Definition at line 63 of file FillSyringe.c.

64 {
65 Debug.Log("Recipe Do method called", "recipes");
66 }

References Debug::Log().

◆ Do() [97/198]

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

Definition at line 73 of file FuelChainsaw.c.

74 {
79
80 float current_energy_level = chainsaw.GetCompEM().GetEnergy();
81 float energy_max = chainsaw.GetCompEM().GetEnergyMax();
83
84 if (can_add_amount > 0) chainsaw.GetCompEM().AddEnergy(can_add_amount);
85 container.AddQuantity(-can_add_amount);
86 }

References Class::CastTo().

◆ Do() [98/198]

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

Definition at line 89 of file LoadMagazine.c.

90 {
91
92 }

◆ Do() [99/198]

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

Definition at line 115 of file OpenCan.c.

116 {
124 //DamageTool(tool,player);
125 }
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

References Class::CastTo(), and OpenItem::OpenAndSwitch().

◆ Do() [100/198]

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

Definition at line 64 of file PaintAK101.c.

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

References PaintItem::Paint().

◆ Do() [101/198]

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

Definition at line 65 of file PaintAK10130Mag.c.

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 }

References PaintItem::Paint().

◆ Do() [102/198]

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

Definition at line 63 of file PaintAK74.c.

References PaintItem::Paint().

◆ Do() [103/198]

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

Definition at line 65 of file PaintAK7430Mag.c.

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 }

References PaintItem::Paint().

◆ Do() [104/198]

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

Definition at line 65 of file PaintAK74HndgrdBlack.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK74_Hndgrd_Black", player));
68 }

◆ Do() [105/198]

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

Definition at line 65 of file PaintAK74HndgrdCamo.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK74_Hndgrd_Camo", player));
68 }

◆ Do() [106/198]

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

Definition at line 65 of file PaintAK74WoodBttstckBlack.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK74_WoodBttstck_Black", player));
68 }

◆ Do() [107/198]

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

Definition at line 65 of file PaintAK74WoodBttstckCamo.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK74_WoodBttstck_Camo", player));
68 }

◆ Do() [108/198]

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

Definition at line 65 of file PaintAKFoldingBttstck.c.

66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "AK_FoldingBttstck", player, specialty_weight);
68 }

References PaintItem::Paint().

◆ Do() [109/198]

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

Definition at line 65 of file PaintAKMDrumMag.c.

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 }

References PaintItem::Paint().

◆ Do() [110/198]

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

Definition at line 65 of file PaintAKMPalm30Mag.c.

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 }

References PaintItem::Paint().

◆ Do() [111/198]

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

Definition at line 65 of file PaintAKPlasticBttstck.c.

66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "AK_PlasticBttstck", player, specialty_weight);
68 }

References PaintItem::Paint().

◆ Do() [112/198]

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

Definition at line 65 of file PaintAKRailHndgrd.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [113/198]

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

Definition at line 65 of file PaintAKS74U.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [114/198]

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

Definition at line 65 of file PaintAKS74UBttstck.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [115/198]

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

Definition at line 65 of file PaintAKWoodBttstckBlack.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK_WoodBttstck_Black", player));
68 }

◆ Do() [116/198]

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

Definition at line 65 of file PaintAKWoodBttstckCamo.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "AK_WoodBttstck_Camo", player));
68 }

◆ Do() [117/198]

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

Definition at line 65 of file PaintB95.c.

References PaintItem::Paint().

◆ Do() [118/198]

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

Definition at line 65 of file PaintBallisticHelmet.c.

66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "BallisticHelmet", player, specialty_weight);
68 }

References PaintItem::Paint().

◆ Do() [119/198]

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

Definition at line 65 of file PaintCMAG10.c.

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 }

References PaintItem::Paint().

◆ Do() [120/198]

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

Definition at line 65 of file PaintCMAG20.c.

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);*/
76 }

References PaintItem::Paint().

◆ Do() [121/198]

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

Definition at line 65 of file PaintCMAG30.c.

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 }

References PaintItem::Paint().

◆ Do() [122/198]

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

Definition at line 65 of file PaintCMAG40.c.

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 }

References PaintItem::Paint().

◆ Do() [123/198]

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

Definition at line 65 of file PaintCz527.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [124/198]

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

Definition at line 65 of file PaintCz527CamoBlack.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "CZ527_Camo", player));
68 }

◆ Do() [125/198]

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

Definition at line 65 of file PaintCz527CamoGreen.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "CZ527_Camo", player));
68 }

◆ Do() [126/198]

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

Definition at line 65 of file PaintDarkMotohelmet.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [127/198]

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

Definition at line 65 of file PaintFirefighterAxe.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [128/198]

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

Definition at line 65 of file PaintGhillieAttBlack.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieAtt_Mossy", player));
68 }

◆ Do() [129/198]

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

Definition at line 63 of file PaintGhillieAttGreen.c.

References PaintItem::Paint().

◆ Do() [130/198]

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

Definition at line 65 of file PaintGhillieAttGreenMossy.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieAtt_Woodland", player));
68 }

◆ Do() [131/198]

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

Definition at line 65 of file PaintGhillieBushragBlack.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieBushrag_Mossy", player));
68 }

◆ Do() [132/198]

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

Definition at line 63 of file PaintGhillieBushragGreen.c.

References PaintItem::Paint().

◆ Do() [133/198]

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

Definition at line 65 of file PaintGhillieBushragGreenMossy.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieBushrag_Woodland", player));
68 }

◆ Do() [134/198]

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

Definition at line 63 of file PaintGhillieHoodBlack.c.

References PaintItem::Paint().

◆ Do() [135/198]

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

Definition at line 65 of file PaintGhillieHoodGreen.c.

References PaintItem::Paint().

◆ Do() [136/198]

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

Definition at line 65 of file PaintGhillieHoodGreenMossy.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieHood_Woodland", player));
68 }

◆ Do() [137/198]

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

Definition at line 63 of file PaintGhillieSuitBlack.c.

References PaintItem::Paint().

◆ Do() [138/198]

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

Definition at line 65 of file PaintGhillieSuitGreen.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieSuit_Woodland", player));
68 }

◆ Do() [139/198]

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

Definition at line 65 of file PaintGhillieSuitGreenMossy.c.

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() [140/198]

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

Definition at line 65 of file PaintGhillieTopBlack.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieTop_Mossy", player));
68 }

◆ Do() [141/198]

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

Definition at line 65 of file PaintGhillieTopGreen.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieTop_Woodland", player));
68 }

◆ Do() [142/198]

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

Definition at line 65 of file PaintGhillieTopGreenMossy.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "GhillieTop_Woodland", player));
68 }

◆ Do() [143/198]

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

Definition at line 65 of file PaintGorkaHelmet.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [144/198]

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

Definition at line 65 of file PaintGorkaHelmetComplete.c.

66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "GorkaHelmetComplete", player, specialty_weight);
68 }

References PaintItem::Paint().

◆ Do() [145/198]

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

Definition at line 65 of file PaintM4A1.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [146/198]

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

Definition at line 65 of file PaintM4CQBBttstck.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [147/198]

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

Definition at line 65 of file PaintM4MPBttstck.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [148/198]

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

Definition at line 65 of file PaintM4MPHndgrd.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [149/198]

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

Definition at line 65 of file PaintM4OEBttstck.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [150/198]

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

Definition at line 65 of file PaintM4PlasticHndgrd.c.

66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "M4_PlasticHndgrd", player, specialty_weight);
68 }

References PaintItem::Paint().

◆ Do() [151/198]

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

Definition at line 65 of file PaintM4RISHndgrd.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [152/198]

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

Definition at line 68 of file PaintMosin.c.

69 {
71 }

References PaintItem::Paint().

◆ Do() [153/198]

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

Definition at line 65 of file PaintMosinCamoBlack.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "Mosin9130_Camo", player));
68 }

◆ Do() [154/198]

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

Definition at line 65 of file PaintMosinCamoGreen.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "Mosin9130_Camo", player));
68 }

◆ Do() [155/198]

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

Definition at line 65 of file PaintMotohelmet.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [156/198]

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

Definition at line 65 of file PaintRuger1022.c.

66 {
68 }

References PaintItem::Paint().

◆ Do() [157/198]

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

Definition at line 65 of file PaintSawedoffMosin.c.

66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "SawedoffMosin9130", player, specialty_weight);
68 }

References PaintItem::Paint().

◆ Do() [158/198]

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

Definition at line 65 of file PaintSawedoffMosinCamoBlack.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "SawedoffMosin9130_Camo", player));
68 }

◆ Do() [159/198]

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

Definition at line 65 of file PaintSawedoffMosinCamoGreen.c.

66 {
67 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[1], "SawedoffMosin9130_Camo", player));
68 }

◆ Do() [160/198]

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

Definition at line 65 of file PaintSKS.c.

References PaintItem::Paint().

◆ Do() [161/198]

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

Definition at line 65 of file PaintZSh3PilotHelmet.c.

66 {
67 PaintItem.Paint(ingredients[0], ingredients[1], "ZSh3PilotHelmet", player, specialty_weight);
68 }

References PaintItem::Paint().

◆ Do() [162/198]

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

◆ Do() [163/198]

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

Definition at line 86 of file PeelPotato.c.

87 {
89 float quantityMultiplier = item_ingredient.GetHealth01("", "");
90
92 item_result.SetQuantityNormalized(quantityMultiplier);
93
94 Debug.Log("Recipe Do method called", "recipes");
95 }

References Debug::Log().

◆ Do() [164/198]

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

Definition at line 87 of file PokeHolesBarrel.c.

88 {
89 }

◆ Do() [165/198]

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

Definition at line 89 of file PourLiquid.c.

90 {
93
94 ItemBase entity_in_hands = ItemBase.Cast(player.GetHumanInventory().GetEntityInHands());
95
98 else
100 }

References Liquid::Transfer().

◆ Do() [166/198]

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

Definition at line 88 of file PrepareChicken.c.

89 {
92
94 for (int i = 0; i < steakCount; i++)
95 {
96 ItemBase result = ItemBase.Cast(player.SpawnEntityOnGroundOnCursorDir("ChickenBreastMeat", DEFAULT_SPAWN_DISTANCE));
97 MiscGameplayFunctions.TransferItemProperties(deadChicken, result);
98 result.SetQuantityNormalized(Math.RandomFloatInclusive(0.8, 1));
99 }
100
101 ItemBase resultFeathers = ItemBase.Cast(player.SpawnEntityOnGroundOnCursorDir("ChickenFeather", DEFAULT_SPAWN_DISTANCE));
102 MiscGameplayFunctions.TransferItemProperties(deadChicken, resultFeathers);
103 resultFeathers.SetQuantity(Math.RandomIntInclusive(5, 15));
104
105 MiscGameplayFunctions.TransferItemProperties(deadChicken, resultBones);
106 resultBones.SetQuantity(Math.RandomIntInclusive(2, 5));
107
109 lifespan.UpdateBloodyHandsVisibility(player, true);
110 }
void PluginLifespan()

References DEFAULT_SPAWN_DISTANCE, GetPlugin(), PluginLifespan(), Math::RandomFloatInclusive(), and Math::RandomIntInclusive().

◆ Do() [167/198]

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

Definition at line 13 of file PrepareFish.c.

14 {
16
17 for (int i = 0; i < results.Count(); i++)
18 {
21
22 //Trasnfer current food state
23 MiscGameplayFunctions.TransferItemProperties(ingredient, item_result);
24 item_result.SetQuantityNormalized(Math.RandomFloat(0.8, 1));
25 }
26
28 lifespan.UpdateBloodyHandsVisibility(player, true);
29 }

References Class::CastTo(), GetPlugin(), PluginLifespan(), and Math::RandomFloat().

◆ Do() [168/198]

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

Definition at line 99 of file PrepareRabbit.c.

100 {
103
104 int legCount = Math.RandomIntInclusive(2, 4);
105 for (int i = 0; i < legCount; i++)
106 {
107 ItemBase result = ItemBase.Cast(player.SpawnEntityOnGroundOnCursorDir("RabbitLegMeat", DEFAULT_SPAWN_DISTANCE));
108 MiscGameplayFunctions.TransferItemProperties(deadRabbit, result);
109 result.SetQuantityNormalized(Math.RandomFloatInclusive(0.8, 1));
110 }
111
112
113 MiscGameplayFunctions.TransferItemProperties(deadRabbit, resultBones);
114 resultBones.SetQuantity(Math.RandomIntInclusive(2, 5));
115
116
118 lifespan.UpdateBloodyHandsVisibility(player, true);
119 }

References DEFAULT_SPAWN_DISTANCE, GetPlugin(), PluginLifespan(), Math::RandomFloatInclusive(), and Math::RandomIntInclusive().

◆ Do() [169/198]

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

Definition at line 71 of file PurifyWater.c.

72 {
74 ingredient2.RemoveAllAgents();
75 }

◆ Do() [170/198]

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

Definition at line 79 of file RefuelTorch.c.

80 {
81 Rag rag = Rag.Cast(ingredients[0]);
82 Torch torch = Torch.Cast(ingredients[1]);
83
84 if (!GetGame().IsMultiplayer())
85 {
87 rag.GetInventory().GetCurrentInventoryLocation(loc);
88 player.GetInventory().ClearInventoryReservationEx(rag, loc);
89 }
90
91 Rag rag_on_torch = Rag.Cast(torch.GetInventory().FindAttachment(rag.GetInventory().GetSlotId(0)));
92
93 if (rag_on_torch)
94 rag_on_torch.CombineItems(rag, false);
95 else
96 {
97 if (GetGame().IsServer() && GetGame().IsMultiplayer())
98 {
99 player.ServerTakeEntityToTargetAttachment(torch, rag); // multiplayer server side
100 }
101 else
102 {
103 player.LocalTakeEntityToTargetAttachment(torch, rag); // single player or multiplayer client side
104 }
105 }
106 }

References GetGame().

◆ Do() [171/198]

◆ Do() [172/198]

◆ Do() [173/198]

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

Definition at line 72 of file RepairEyePatch.c.

73 {
76
77 ingrEP.SetHealth01("", "", ingrRag.GetHealth01()); // set the health of the eye patch as the rag used to repair it.
78 }

◆ Do() [174/198]

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

Definition at line 77 of file RepairPlanks.c.

78 {
80 if (ingredients[0].Type() == WoodenPlank)
81 ingredient1.AddQuantity(-2);
82
84 float mHealth = ingredient2.GetMaxHealth();
85 float percent = mHealth * 0.2; //20% of the item's health
86 ingredient2.AddHealth(percent);
87 }

References Type.

◆ Do() [175/198]

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

Definition at line 69 of file RepairWithPliers.c.

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() [176/198]

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

Definition at line 71 of file RepairWithRags.c.

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() [177/198]

◆ Do() [178/198]

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

Definition at line 68 of file SawoffB95.c.

69 {
70 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffB95", player));
71 }

◆ Do() [179/198]

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

Definition at line 68 of file SawoffFAMAS.c.

69 {
70 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedOffFAMAS", player));
71 }

◆ Do() [180/198]

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

Definition at line 76 of file SawOffIzh18.c.

77 {
78 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffIzh18", player));
79 }

◆ Do() [181/198]

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

Definition at line 76 of file SawOffIzh18Shotgun.c.

77 {
78 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffIzh18Shotgun", player));
79 }

◆ Do() [182/198]

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

Definition at line 70 of file SawoffMagnum.c.

71 {
72 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffMagnum", player));
73 }

◆ Do() [183/198]

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

Definition at line 68 of file SawoffMosin.c.

69 {
70 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffMosin9130", player));
71 }

◆ Do() [184/198]

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

Definition at line 70 of file SawoffMosinPainted.c.

71 {
73 string color = ingredient.ConfigGetString("color");
74 string classname = "SawedoffMosin9130_" + color;
76 }

◆ Do() [185/198]

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

Definition at line 68 of file SawoffShotgunIzh43.c.

69 {
70 MiscGameplayFunctions.TurnItemIntoItemEx(player, new TurnItemIntoItemLambda(ingredients[0], "SawedoffIzh43Shotgun", player));
71 }

◆ Do() [186/198]

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

Definition at line 92 of file SawWoodenLog.c.

93 {
94 }

◆ Do() [187/198]

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

Definition at line 102 of file SharpenBroom.c.

103 {
105
106 for (int i = 0; i < results.Count(); i++)
107 {
110
111 MiscGameplayFunctions.TransferItemProperties(broom, item_result);
112 }
113
115 }

References Class::CastTo().

◆ Do() [188/198]

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

Definition at line 86 of file SharpenLongStick.c.

87 {
89
91
92 MiscGameplayFunctions.TransferItemProperties(ingredient, item_result, false, false, false);
93 }

◆ Do() [189/198]

◆ Do() [190/198]

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

Definition at line 86 of file SharpenStick.c.

87 {
89
90 for (int i = 0; i < results.Count(); i++)
91 {
94
95 MiscGameplayFunctions.TransferItemProperties(ingredient, item_result);
96 }
97
99 }

References Class::CastTo().

◆ Do() [191/198]

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

Definition at line 113 of file SplitBroom.c.

114 {
116
117 for (int i = 0; i < results.Count(); i++)
118 {
121
122 MiscGameplayFunctions.TransferItemProperties(broom, item_result);
123 }
124
126 }

References Class::CastTo().

◆ Do() [192/198]

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

Definition at line 72 of file SplitFirewood.c.

73 {
74 Debug.Log("Recipe Do method called", "recipes");
75 }

References Debug::Log().

◆ Do() [193/198]

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

Definition at line 97 of file SplitLongWoodenStick.c.

98 {
99
100 }

◆ Do() [194/198]

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

Definition at line 90 of file SplitStones.c.

91 {
92 Debug.Log("Recipe Do method called", "recipes");
93 }

References Debug::Log().

◆ Do() [195/198]

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

Definition at line 80 of file Test.c.

81 {
82
83 }

◆ Do() [196/198]

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

Definition at line 66 of file UpgradeTorchWithLard.c.

67 {
68 FlammableBase item = Torch.Cast(ingredients[1]);
69 Lard lard = Lard.Cast(ingredients[0]);
70 item.Upgrade(lard);
71 }

◆ Do() [197/198]

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

Definition at line 73 of file UpgradeTorchWithLiquidFuel.c.

74 {
76 FlammableBase item = Torch.Cast(ingredients[1]);
77
78 //torch.ConsumeRag();
79
80 if (item && vessel)
81 item.Upgrade(vessel);
82 }

◆ Do() [198/198]

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

Definition at line 67 of file WriteLetter.c.

68 {
69 Debug.Log("Recipe Do method called", "recipes");
70 }

References Debug::Log().

◆ GetAllItems()

void RecipeBase::GetAllItems ( array< string > items)
inlineprivate

Definition at line 561 of file RecipeBase.c.

562 {
563 for (int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
564 {
566
567 for (int x = 0; x < ptr.Count(); x++)
568 items.Insert(ptr.Get(x));
569 }
570 }

References m_Ingredients, MAX_NUMBER_OF_INGREDIENTS, and x.

◆ GetID()

int RecipeBase::GetID ( )
inlineprivate

Definition at line 550 of file RecipeBase.c.

551 {
552 return m_ID;
553 }

References m_ID.

◆ GetIngredientMaskForItem()

int RecipeBase::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])

Definition at line 600 of file RecipeBase.c.

601 {
602 int mask = 0;
603
604 for (int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
605 {
607
608 for (int x = 0; x < ptr.Count(); x++)
609 {
610 if (ptr.Get(x) == item)
611 mask = ((int)Math.Pow(2, i)) | mask;
612 }
613 }
614 return mask;
615 }
Param3 int
static proto float Pow(float v, float power)
Return power of v ^ power.

References m_Ingredients, MAX_NUMBER_OF_INGREDIENTS, Math::Pow(), and x.

◆ GetLengthInSecs()

float RecipeBase::GetLengthInSecs ( )
inlineprivate

Definition at line 74 of file RecipeBase.c.

75 {
77 }
float m_AnimationLength
Definition RecipeBase.c:22
const float CRAFTING_TIME_UNIT_SIZE
Definition constants.c:589

References CRAFTING_TIME_UNIT_SIZE, and m_AnimationLength.

◆ GetName()

string RecipeBase::GetName ( )
inlineprivate

Definition at line 161 of file RecipeBase.c.

162 {
163 return m_Name;
164 }

References m_Name.

◆ GetSoundCategory()

string RecipeBase::GetSoundCategory ( int ingredientIndex,
ItemBase item )
inlineprivate

Definition at line 572 of file RecipeBase.c.

573 {
574 string itemType = item.GetType();
576
577 for (int x = 0; x < ptr.Count(); x++)
578 {
579 if (GetGame().IsKindOf(itemType, ptr.Get(x)))
581 }
582 return "";
583 }

References GetGame(), m_Ingredients, m_SoundCategories, and x.

◆ GetSpecialty()

float RecipeBase::GetSpecialty ( )
inlineprivate

Definition at line 79 of file RecipeBase.c.

80 {
81 return m_Specialty;
82 }

References m_Specialty.

◆ Init() [1/199]

void RecipeBase::Init ( )
private

Referenced by RecipeBase().

◆ Init() [2/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file AttachHolster.c.

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:45
bool m_IsInstaRecipe
Definition RecipeBase.c:24
void AddResult(string item)
Definition RecipeBase.c:155
void InsertIngredient(int index, string ingredient)
Definition RecipeBase.c:128
int m_ResultInheritsColor[MAXIMUM_RESULTS]
Definition RecipeBase.c:47

References m_Name.

◆ Init() [3/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file AttachHolsterPouch.c.

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 }

References m_Name.

◆ Init() [4/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file AttachPouch.c.

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 }

References m_Name.

◆ Init() [5/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file AttachPouchesHolster.c.

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 }

References m_Name.

◆ Init() [6/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file BloodTest.c.

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 }

References m_Name.

◆ Init() [7/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CleanRags.c.

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, "Vodka"); //you can insert multiple ingredients this way
41 InsertIngredient(1, "WaterPouch_ColorBase"); //you can insert multiple ingredients this way
42 InsertIngredient(1, "Barrel_ColorBase"); //you can insert multiple ingredients this way
43
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 //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 }

References m_Name.

◆ Init() [8/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CleanWeapon.c.

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 }

References m_Name.

◆ Init() [9/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftArmbandFlag.c.

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 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
15
20
21
22 //ingredient 1
23 InsertIngredient(0, "Flag_Base"); //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, "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
61 m_IngredientSetHealth[1] = -1; // -1 = do nothing
64 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
65
66 // crafting multiple results
67 //result1
68 AddResult("Armband_");
69 m_ResultSetFullQuantity[0] = false;
70 m_ResultSetQuantity[0] = -1;
71 m_ResultSetHealth[0] = -1;
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 result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
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 config value "color" of ingredient (value)
74 m_ResultToInventory[0] = -2;
75 m_ResultUseSoftSkills[0] = true;// 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 //result2
79 AddResult("Armband_");//single result
80 m_ResultSetFullQuantity[1] = false;
81 m_ResultSetQuantity[1] = -1;
82 m_ResultSetHealth[1] = -1;
83 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)
84 m_ResultInheritsColor[1] = 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)
85 m_ResultToInventory[1] = -2;
86 m_ResultUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this result
87 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
88
89 //result3
90 AddResult("Armband_");//single result
91 m_ResultSetFullQuantity[2] = false;
92 m_ResultSetQuantity[2] = -1;
93 m_ResultSetHealth[2] = -1;
94 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)
95 m_ResultInheritsColor[2] = 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)
96 m_ResultToInventory[2] = -2;
97 m_ResultUseSoftSkills[2] = true;// set 'true' to allow modification of the values by softskills on this result
98 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
99
100 }

References m_Name.

◆ Init() [10/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftArmbandRag.c.

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 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
15
20
21
22 //ingredient 1
23 InsertIngredientEx(0, "Rag", "ImprovisedCloth_craft"); //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, "SewingKit"); //you can insert multiple ingredients this way
33
35 m_IngredientSetHealth[1] = -1; // -1 = do nothing
38 m_IngredientUseSoftSkills[1] = true;// 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("Armband_White");//single result
45
47 m_ResultSetQuantity[0] = -1;
48 m_ResultSetHealth[0] = -1;
49 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)
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;
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 }
void InsertIngredientEx(int index, string ingredient, string soundCategory)
Definition RecipeBase.c:133

References m_Name.

◆ Init() [11/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftArmbandRaincoat.c.

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 m_Specialty = 0.01;// value > 0 for roughness, value < 0 for precision
9
10 //conditions
15
20
21
22 //ingredient 1
23 InsertIngredient(0, "Raincoat_ColorBase"); //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, "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
61 m_IngredientSetHealth[1] = -1; // -1 = do nothing
64 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
65
66 // crafting multiple results
67 //result1
68 AddResult("Armband_");
69 m_ResultSetFullQuantity[0] = false;
70 m_ResultSetQuantity[0] = -1;
71 m_ResultSetHealth[0] = -1;
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 result will inherit health from all ingredients averaged(result_health = combined_health_of_ingredients / number_of_ingredients)
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 config value "color" of ingredient (value)
74 m_ResultToInventory[0] = -2;
75 m_ResultUseSoftSkills[0] = true;// 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 //result2
79 AddResult("Armband_");//single result
80 m_ResultSetFullQuantity[1] = false;
81 m_ResultSetQuantity[1] = -1;
82 m_ResultSetHealth[1] = -1;
83 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)
84 m_ResultInheritsColor[1] = 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)
85 m_ResultToInventory[1] = -2;
86 m_ResultUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this result
87 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
88
89 //result3
90 AddResult("Armband_");//single result
91 m_ResultSetFullQuantity[2] = false;
92 m_ResultSetQuantity[2] = -1;
93 m_ResultSetHealth[2] = -1;
94 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)
95 m_ResultInheritsColor[2] = 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)
96 m_ResultToInventory[2] = -2;
97 m_ResultUseSoftSkills[2] = true;// set 'true' to allow modification of the values by softskills on this result
98 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
99
100 //result4
101 AddResult("Armband_");//single result
102 m_ResultSetFullQuantity[3] = false;
103 m_ResultSetQuantity[3] = -1;
104 m_ResultSetHealth[3] = -1;
105 m_ResultInheritsHealth[3] = 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)
106 m_ResultInheritsColor[3] = 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)
107 m_ResultToInventory[3] = -2;
108 m_ResultUseSoftSkills[3] = true;// set 'true' to allow modification of the values by softskills on this result
109 m_ResultReplacesIngredient[3] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
110
111 //result5
112 AddResult("Armband_");//single result
113 m_ResultSetFullQuantity[4] = false;
114 m_ResultSetQuantity[4] = -1;
115 m_ResultSetHealth[4] = -1;
116 m_ResultInheritsHealth[4] = 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)
117 m_ResultInheritsColor[4] = 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)
118 m_ResultToInventory[4] = -2;
119 m_ResultUseSoftSkills[4] = true;// set 'true' to allow modification of the values by softskills on this result
120 m_ResultReplacesIngredient[4] = -1;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
121 }

References m_Name.

◆ Init() [12/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftArrow.c.

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 }

References m_Name.

◆ Init() [13/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftArrowBone.c.

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 }

References m_Name.

◆ Init() [14/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftBait.c.

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 }

References m_Name.

◆ Init() [15/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftBaseBallBatBarbed.c.

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 }

References m_Name.

◆ Init() [16/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftBaseBallBatNailed.c.

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 }

References m_Name.

◆ Init() [17/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftBloodBagIV.c.

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 }

References m_Name.

◆ Init() [18/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftBoneBait.c.

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 }

References m_Name.

◆ Init() [19/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftBoneHook.c.

4 {
5 m_Name = "#STR_CraftBoneHook0";
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
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 //result1
72 AddResult("BoneHook");//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 }

References m_Name.

◆ Init() [20/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftBoneKnife.c.

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 }

References m_Name.

◆ Init() [21/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftBow.c.

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 }

References m_Name.

◆ Init() [22/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftBurlapStrips.c.

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 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, "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, "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 //result1
72 AddResult("BurlapStrip");//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 }

References m_Name.

◆ Init() [23/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftCamoNetShelter.c.

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 }

References m_Name.

◆ Init() [24/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftCookingStand.c.

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 }

References m_Name.

◆ Init() [25/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftCourierBag.c.

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 }

References m_Name.

◆ Init() [26/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftFenceKit.c.

4 {
5 //m_Name = "#STR_CraftHandDrillKit0";
6 m_Name = "#STR_craftfencebase0";
7 m_IsInstaRecipe = false;//should this recipe be performed instantly without animation
8 m_AnimationLength = 0.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] = 2;//-1 = disable check
23 m_MaxQuantityIngredient[1] = -1;//-1 = disable check
24 //----------------------------------------------------------------------------------------------------------------------
25
26 //INGREDIENTS
27 //ingredient 1
28 InsertIngredientEx(0, "Rope", "ShelterKit_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] = 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, "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] = -2;// 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("FenceKit");//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 }

References m_Name.

◆ Init() [27/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftFireplace.c.

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 }

References m_Name.

◆ Init() [28/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftFishingRod.c.

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 }

References m_Name.

◆ Init() [29/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftFishNetTrap.c.

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 }

References m_Name.

◆ Init() [30/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftGasMask_Filter_Improvised.c.

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 }

References m_Name.

◆ Init() [31/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftGhillieAttachment.c.

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 }

References m_Name.

◆ Init() [32/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftGhillieBushrag.c.

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 }

References m_Name.

◆ Init() [33/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftGhillieHood.c.

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 }

References m_Name.

◆ Init() [34/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftGhillieSuit.c.

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 }

References m_Name.

◆ Init() [35/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftGhillieTop.c.

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 }

References m_Name.

◆ Init() [36/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftGorkaHelmetComplete.c.

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 }

References m_Name.

◆ Init() [37/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftGutsRope.c.

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 }

References m_Name.

◆ Init() [38/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftHandDrillKit.c.

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 }

References m_Name.

◆ Init() [39/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftImprovisedBag.c.

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 }

References m_Name.

◆ Init() [40/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftImprovisedExplosive.c.

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 }

References m_Name.

◆ Init() [41/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftImprovisedLeatherBag.c.

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 }

References m_Name.

◆ Init() [42/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftLeatherCourierBag.c.

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 }

References m_Name.

◆ Init() [43/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftLeatherSack.c.

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 }

References m_Name.

◆ Init() [44/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftLongTorch.c.

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 }

References m_Name.

◆ Init() [45/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftMetalWire.c.

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:26

References m_Name.

◆ Init() [46/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftRabbitSnare.c.

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 }

References m_Name.

◆ Init() [47/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftRag.c.

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 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, "Sickle"); //you can insert multiple ingredients this way
28 InsertIngredient(0, "Hacksaw");
29 InsertIngredient(0, "HandSaw");
30 InsertIngredient(0, "KitchenKnife");
31 InsertIngredient(0, "SteakKnife");
32 InsertIngredient(0, "HayHook");
33 InsertIngredient(0, "StoneKnife");
34 InsertIngredient(0, "Cleaver");
35 InsertIngredient(0, "CombatKnife");
36 InsertIngredient(0, "HuntingKnife");
37 InsertIngredient(0, "KukriKnife");
38 InsertIngredient(0, "FangeKnife");
39 InsertIngredient(0, "Machete");
40 InsertIngredient(0, "CrudeMachete");
41 InsertIngredient(0, "OrientalMachete");
42 InsertIngredient(0, "Screwdriver");
43 InsertIngredient(0, "Crowbar");
44 InsertIngredient(0, "Pickaxe");
45 InsertIngredient(0, "WoodAxe");
46 InsertIngredient(0, "Hatchet");
47 InsertIngredient(0, "FirefighterAxe");
48 InsertIngredient(0, "Sword");
49 InsertIngredient(0, "AK_Bayonet");
50 InsertIngredient(0, "M9A1_Bayonet");
51 InsertIngredient(0, "Mosin_Bayonet");
52 InsertIngredient(0, "SKS_Bayonet");
53 InsertIngredient(0, "FarmingHoe");
54 InsertIngredient(0, "Shovel");
55 InsertIngredient(0, "FieldShovel");
56 InsertIngredient(0, "BoneKnife");
57
58 m_IngredientAddHealth[0] = -10;// 0 = do nothing
59 m_IngredientSetHealth[0] = -1; // -1 = do nothing
60 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
61 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
62 m_IngredientUseSoftSkills[0] = true;// set 'true' to allow modification of the values by softskills on this ingredient
63
64 //ingredient 2
65
66 InsertIngredientEx(1, "Inventory_Base", "Rags_craft");//you can insert multiple ingredients this way
67
68 m_IngredientAddHealth[1] = 0;// 0 = do nothing
69 m_IngredientSetHealth[1] = -1; // -1 = do nothing
70 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
71 m_IngredientDestroy[1] = true;// false = do nothing
72 m_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
73 //----------------------------------------------------------------------------------------------------------------------
74
75 //result1
76 AddResult("Rag");//add results here
77
78 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
79 m_ResultSetQuantity[0] = -1;//-1 = do nothing
80 m_ResultSetHealth[0] = -1;//-1 = do nothing
81 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)
82 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)
83 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)
84 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
85 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
86 }

References m_Name.

◆ Init() [48/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftRagRope.c.

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 }

References m_Name.

◆ Init() [49/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftSalineBagIV.c.

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 }

References m_Name.

◆ Init() [50/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftShelterKit.c.

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 }

References m_Name.

◆ Init() [51/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftSmallFishTrap.c.

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 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, "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] = -10;// 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 //result1
72 AddResult("SmallFishTrap");//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 }

References m_Name.

◆ Init() [52/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftSpearBone.c.

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 }

References m_Name.

◆ Init() [53/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftSpearStone.c.

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 }

References m_Name.

◆ Init() [54/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftSplint.c.

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
32 m_IngredientAddHealth[0] = 0;// 0 = do nothing
33 m_IngredientSetHealth[0] = -1; // -1 = do nothing
34 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
35 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
36 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
37
38 //ingredient 2
39 InsertIngredient(1, "WoodenStick"); //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] = -2;// 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("Splint");//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 }

References m_Name.

◆ Init() [55/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftStoneKnife.c.

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 }

References m_Name.

◆ Init() [56/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftSuppressor.c.

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 }

References m_Name.

◆ Init() [57/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 6 of file CraftTannedLeather.c.

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
48 //result1
49 AddResult("TannedLeather"); //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 }

References m_Name.

◆ Init() [58/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftTerritoryFlagKit.c.

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 }

References m_Name.

◆ Init() [59/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftTorch.c.

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, "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] = -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 }

References m_Name.

◆ Init() [60/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftTripWire.c.

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 }

References m_Name.

◆ Init() [61/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftTruck01DoubleWheel.c.

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 }

References m_Name.

◆ Init() [62/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftWatchtowerKit.c.

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 }

References m_Name.

◆ Init() [63/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftWoodenCrate.c.

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 }

References m_Name.

◆ Init() [64/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CraftWoodenPlank.c.

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 m_Specialty = 0.01;// 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, "WoodenLog"); //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, "Hacksaw");
36 InsertIngredient(1, "HandSaw");
37
38 m_IngredientAddHealth[1] = -7;// 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("WoodenPlank");//add results here
47
48 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
49 m_ResultSetQuantity[0] = 4;//-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 }

References m_Name.

◆ Init() [65/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file CutOutSeeds.c.

4 {
5
6 }

◆ Init() [66/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 5 of file DeCraftArmband.c.

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, "Armband_ColorBase"); //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, "Sickle"); //you can insert multiple ingredients this way
35 InsertIngredient(1, "KukriKnife");
36 InsertIngredient(1, "FangeKnife");
37 InsertIngredient(1, "Hacksaw");
38 InsertIngredient(1, "HandSaw");
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, "Screwdriver");
50 InsertIngredient(1, "Crowbar");
51 InsertIngredient(1, "Pickaxe");
52 InsertIngredient(1, "WoodAxe");
53 InsertIngredient(1, "Hatchet");
54 InsertIngredient(1, "FirefighterAxe");
55 InsertIngredient(1, "Sword");
56 InsertIngredient(1, "AK_Bayonet");
57 InsertIngredient(1, "M9A1_Bayonet");
58 InsertIngredient(1, "Mosin_Bayonet");
59 InsertIngredient(1, "SKS_Bayonet");
60 InsertIngredient(1, "BoneKnife");
61
63 m_IngredientSetHealth[1] = -1; // -1 = do nothing
66 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
67
68 // crafting multiple results
69
70
71 AddResult("Rag");//single result
72
75 m_ResultSetHealth[0] = -1;
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;
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 }

References m_Name.

◆ Init() [67/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftBow.c.

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 }

References m_Name.

◆ Init() [68/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftCamoNetShelter.c.

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 }

References m_Name.

◆ Init() [69/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftCarrierComplete.c.

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 }

References m_Name.

◆ Init() [70/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftCarrierHolster.c.

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 }

References m_Name.

◆ Init() [71/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftCarrierPouches.c.

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 }

References m_Name.

◆ Init() [72/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftCookingStand.c.

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 }

References m_Name.

◆ Init() [73/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftCourierBag.c.

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 }

References m_Name.

◆ Init() [74/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 5 of file DeCraftDetonator.c.

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 }

References m_Name.

◆ Init() [75/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftFishingRod.c.

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 }

References m_Name.

◆ Init() [76/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftFishNetTrap.c.

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 }

References m_Name.

◆ Init() [77/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftGhillieAttachment.c.

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_Tan"); //you can insert multiple ingredients this way
28 InsertIngredient(0, "GhillieAtt_Woodland"); //you can insert multiple ingredients this way
29 InsertIngredient(0, "GhillieAtt_Mossy"); //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] = 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, "Sickle"); //you can insert multiple ingredients this way
39 InsertIngredient(1, "KukriKnife");
40 InsertIngredient(1, "FangeKnife");
41 InsertIngredient(1, "Hacksaw");
42 InsertIngredient(1, "HandSaw");
43 InsertIngredient(1, "KitchenKnife");
44 InsertIngredient(1, "SteakKnife");
45 InsertIngredient(1, "HayHook");
46 InsertIngredient(1, "StoneKnife");
47 InsertIngredient(1, "Cleaver");
48 InsertIngredient(1, "CombatKnife");
49 InsertIngredient(1, "HuntingKnife");
50 InsertIngredient(1, "Machete");
51 InsertIngredient(1, "CrudeMachete");
52 InsertIngredient(1, "OrientalMachete");
53 InsertIngredient(1, "Screwdriver");
54 InsertIngredient(1, "Crowbar");
55 InsertIngredient(1, "Pickaxe");
56 InsertIngredient(1, "WoodAxe");
57 InsertIngredient(1, "Hatchet");
58 InsertIngredient(1, "FirefighterAxe");
59 InsertIngredient(1, "Sword");
60 InsertIngredient(1, "AK_Bayonet");
61 InsertIngredient(1, "M9A1_Bayonet");
62 InsertIngredient(1, "Mosin_Bayonet");
63 InsertIngredient(1, "SKS_Bayonet");
64 InsertIngredient(1, "BoneKnife");
65
66 m_IngredientAddHealth[1] = -5;// 0 = do nothing
67 m_IngredientSetHealth[1] = -1; // -1 = do nothing
68 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
69 m_IngredientDestroy[1] = false;// false = do nothing
70 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
71
72 //----------------------------------------------------------------------------------------------------------------------
73
74 //result1
75 AddResult("Netting");//add results here
76
77 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
78 m_ResultSetQuantity[0] = 1;//-1 = do nothing
79 m_ResultSetHealth[0] = -1;//-1 = do nothing
80 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)
81 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)
82 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)
83 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
84 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
85
86 //result2
87 AddResult("BurlapStrip");//add results here
88
89 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
90 m_ResultSetQuantity[1] = 1;// -1 = do nothing
91 m_ResultSetHealth[1] = -1;// -1 = do nothing
92 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)
93 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)
94 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)
95 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
96 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
97 //----------------------------------------------------------------------------------------------------------------------
98 }

References m_Name.

◆ Init() [78/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftGhillieBushrag.c.

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_Tan"); //you can insert multiple ingredients this way
29 InsertIngredient(0, "GhillieBushrag_Woodland"); //you can insert multiple ingredients this way
30 InsertIngredient(0, "GhillieBushrag_Mossy"); //you can insert multiple ingredients this way
31
32 m_IngredientAddHealth[0] = 0;// 0 = do nothing
33 m_IngredientSetHealth[0] = -1; // -1 = do nothing
34 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
35 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
36 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
37
38 //ingredient 2
39 InsertIngredient(1, "Sickle"); //you can insert multiple ingredients this way
40 InsertIngredient(1, "KukriKnife");
41 InsertIngredient(1, "FangeKnife");
42 InsertIngredient(1, "Hacksaw");
43 InsertIngredient(1, "HandSaw");
44 InsertIngredient(1, "KitchenKnife");
45 InsertIngredient(1, "SteakKnife");
46 InsertIngredient(1, "HayHook");
47 InsertIngredient(1, "StoneKnife");
48 InsertIngredient(1, "Cleaver");
49 InsertIngredient(1, "CombatKnife");
50 InsertIngredient(1, "HuntingKnife");
51 InsertIngredient(1, "Machete");
52 InsertIngredient(1, "CrudeMachete");
53 InsertIngredient(1, "OrientalMachete");
54 InsertIngredient(1, "Screwdriver");
55 InsertIngredient(1, "Crowbar");
56 InsertIngredient(1, "Pickaxe");
57 InsertIngredient(1, "WoodAxe");
58 InsertIngredient(1, "Hatchet");
59 InsertIngredient(1, "FirefighterAxe");
60 InsertIngredient(1, "Sword");
61 InsertIngredient(1, "AK_Bayonet");
62 InsertIngredient(1, "M9A1_Bayonet");
63 InsertIngredient(1, "Mosin_Bayonet");
64 InsertIngredient(1, "SKS_Bayonet");
65 InsertIngredient(1, "BoneKnife");
66
67 m_IngredientAddHealth[1] = -5;// 0 = do nothing
68 m_IngredientSetHealth[1] = -1; // -1 = do nothing
69 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
70 m_IngredientDestroy[1] = false;// false = do nothing
71 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
72
73 //----------------------------------------------------------------------------------------------------------------------
74
75 //result1
76 AddResult("Netting");//add results here
77
78 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
79 m_ResultSetQuantity[0] = 2;//-1 = do nothing
80 m_ResultSetHealth[0] = -1;//-1 = do nothing
81 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)
82 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)
83 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)
84 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
85 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
86
87 //result2
88 AddResult("BurlapStrip");//add results here
89
90 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
91 m_ResultSetQuantity[1] = 2;// -1 = do nothing
92 m_ResultSetHealth[1] = -1;// -1 = do nothing
93 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)
94 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)
95 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)
96 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
97 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
98 //----------------------------------------------------------------------------------------------------------------------
99 }

References m_Name.

◆ Init() [79/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftGhillieHood.c.

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_Tan"); //you can insert multiple ingredients this way
29 InsertIngredient(0, "GhillieHood_Woodland"); //you can insert multiple ingredients this way
30 InsertIngredient(0, "GhillieHood_Mossy"); //you can insert multiple ingredients this way
31
32 m_IngredientAddHealth[0] = 0;// 0 = do nothing
33 m_IngredientSetHealth[0] = -1; // -1 = do nothing
34 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
35 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
36 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
37
38 //ingredient 2
39 InsertIngredient(1, "Sickle"); //you can insert multiple ingredients this way
40 InsertIngredient(1, "KukriKnife");
41 InsertIngredient(1, "FangeKnife");
42 InsertIngredient(1, "Hacksaw");
43 InsertIngredient(1, "HandSaw");
44 InsertIngredient(1, "KitchenKnife");
45 InsertIngredient(1, "SteakKnife");
46 InsertIngredient(1, "HayHook");
47 InsertIngredient(1, "StoneKnife");
48 InsertIngredient(1, "Cleaver");
49 InsertIngredient(1, "CombatKnife");
50 InsertIngredient(1, "HuntingKnife");
51 InsertIngredient(1, "Machete");
52 InsertIngredient(1, "CrudeMachete");
53 InsertIngredient(1, "OrientalMachete");
54 InsertIngredient(1, "Screwdriver");
55 InsertIngredient(1, "Crowbar");
56 InsertIngredient(1, "Pickaxe");
57 InsertIngredient(1, "WoodAxe");
58 InsertIngredient(1, "Hatchet");
59 InsertIngredient(1, "FirefighterAxe");
60 InsertIngredient(1, "Sword");
61 InsertIngredient(1, "AK_Bayonet");
62 InsertIngredient(1, "M9A1_Bayonet");
63 InsertIngredient(1, "Mosin_Bayonet");
64 InsertIngredient(1, "SKS_Bayonet");
65 InsertIngredient(1, "BoneKnife");
66
67 m_IngredientAddHealth[1] = -5;// 0 = do nothing
68 m_IngredientSetHealth[1] = -1; // -1 = do nothing
69 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
70 m_IngredientDestroy[1] = false;// false = do nothing
71 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
72
73 //----------------------------------------------------------------------------------------------------------------------
74
75 //result1
76 AddResult("Netting");//add results here
77
78 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
79 m_ResultSetQuantity[0] = 1;//-1 = do nothing
80 m_ResultSetHealth[0] = -1;//-1 = do nothing
81 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)
82 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)
83 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)
84 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
85 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
86
87 //result2
88 AddResult("BurlapStrip");//add results here
89
90 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
91 m_ResultSetQuantity[1] = 1;// -1 = do nothing
92 m_ResultSetHealth[1] = -1;// -1 = do nothing
93 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)
94 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)
95 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)
96 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
97 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
98 //----------------------------------------------------------------------------------------------------------------------
99 }

References m_Name.

◆ Init() [80/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftGhillieSuit.c.

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_Tan"); //you can insert multiple ingredients this way
29 InsertIngredient(0, "GhillieSuit_Woodland"); //you can insert multiple ingredients this way
30 InsertIngredient(0, "GhillieSuit_Mossy"); //you can insert multiple ingredients this way
31
32 m_IngredientAddHealth[0] = 0;// 0 = do nothing
33 m_IngredientSetHealth[0] = -1; // -1 = do nothing
34 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
35 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
36 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
37
38 //ingredient 2
39 InsertIngredient(1, "Sickle"); //you can insert multiple ingredients this way
40 InsertIngredient(1, "KukriKnife");
41 InsertIngredient(1, "FangeKnife");
42 InsertIngredient(1, "Hacksaw");
43 InsertIngredient(1, "HandSaw");
44 InsertIngredient(1, "KitchenKnife");
45 InsertIngredient(1, "SteakKnife");
46 InsertIngredient(1, "HayHook");
47 InsertIngredient(1, "StoneKnife");
48 InsertIngredient(1, "Cleaver");
49 InsertIngredient(1, "CombatKnife");
50 InsertIngredient(1, "HuntingKnife");
51 InsertIngredient(1, "Machete");
52 InsertIngredient(1, "CrudeMachete");
53 InsertIngredient(1, "OrientalMachete");
54 InsertIngredient(1, "Screwdriver");
55 InsertIngredient(1, "Crowbar");
56 InsertIngredient(1, "Pickaxe");
57 InsertIngredient(1, "WoodAxe");
58 InsertIngredient(1, "Hatchet");
59 InsertIngredient(1, "FirefighterAxe");
60 InsertIngredient(1, "Sword");
61 InsertIngredient(1, "AK_Bayonet");
62 InsertIngredient(1, "M9A1_Bayonet");
63 InsertIngredient(1, "Mosin_Bayonet");
64 InsertIngredient(1, "SKS_Bayonet");
65
66 m_IngredientAddHealth[1] = -5;// 0 = do nothing
67 m_IngredientSetHealth[1] = -1; // -1 = do nothing
68 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
69 m_IngredientDestroy[1] = false;// false = do nothing
70 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
71
72 //----------------------------------------------------------------------------------------------------------------------
73
74 //result1
75 AddResult("Netting");//add results here
76
77 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
78 m_ResultSetQuantity[0] = 4;//-1 = do nothing
79 m_ResultSetHealth[0] = -1;//-1 = do nothing
80 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)
81 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)
82 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)
83 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
84 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
85
86 //result2
87 AddResult("BurlapStrip");//add results here
88
89 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
90 m_ResultSetQuantity[1] = 5;// -1 = do nothing
91 m_ResultSetHealth[1] = -1;// -1 = do nothing
92 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)
93 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)
94 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)
95 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
96 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
97 //----------------------------------------------------------------------------------------------------------------------
98 }

References m_Name.

◆ Init() [81/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftGhillieTop.c.

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_Tan"); //you can insert multiple ingredients this way
29 InsertIngredient(0, "GhillieTop_Woodland"); //you can insert multiple ingredients this way
30 InsertIngredient(0, "GhillieTop_Mossy"); //you can insert multiple ingredients this way
31
32 m_IngredientAddHealth[0] = 0;// 0 = do nothing
33 m_IngredientSetHealth[0] = -1; // -1 = do nothing
34 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
35 m_IngredientDestroy[0] = true;//true = destroy, false = do nothing
36 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
37
38 //ingredient 2
39 InsertIngredient(1, "Sickle"); //you can insert multiple ingredients this way
40 InsertIngredient(1, "KukriKnife");
41 InsertIngredient(1, "FangeKnife");
42 InsertIngredient(1, "Hacksaw");
43 InsertIngredient(1, "HandSaw");
44 InsertIngredient(1, "KitchenKnife");
45 InsertIngredient(1, "SteakKnife");
46 InsertIngredient(1, "HayHook");
47 InsertIngredient(1, "StoneKnife");
48 InsertIngredient(1, "Cleaver");
49 InsertIngredient(1, "CombatKnife");
50 InsertIngredient(1, "HuntingKnife");
51 InsertIngredient(1, "Machete");
52 InsertIngredient(1, "CrudeMachete");
53 InsertIngredient(1, "OrientalMachete");
54 InsertIngredient(1, "Screwdriver");
55 InsertIngredient(1, "Crowbar");
56 InsertIngredient(1, "Pickaxe");
57 InsertIngredient(1, "WoodAxe");
58 InsertIngredient(1, "Hatchet");
59 InsertIngredient(1, "FirefighterAxe");
60 InsertIngredient(1, "Sword");
61 InsertIngredient(1, "AK_Bayonet");
62 InsertIngredient(1, "M9A1_Bayonet");
63 InsertIngredient(1, "Mosin_Bayonet");
64 InsertIngredient(1, "SKS_Bayonet");
65 InsertIngredient(1, "BoneKnife");
66
67 m_IngredientAddHealth[1] = -5;// 0 = do nothing
68 m_IngredientSetHealth[1] = -1; // -1 = do nothing
69 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
70 m_IngredientDestroy[1] = false;// false = do nothing
71 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
72
73 //----------------------------------------------------------------------------------------------------------------------
74
75 //result1
76 AddResult("Netting");//add results here
77
78 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
79 m_ResultSetQuantity[0] = 3;//-1 = do nothing
80 m_ResultSetHealth[0] = -1;//-1 = do nothing
81 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)
82 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)
83 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)
84 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
85 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
86
87 //result2
88 AddResult("BurlapStrip");//add results here
89
90 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
91 m_ResultSetQuantity[1] = 3;// -1 = do nothing
92 m_ResultSetHealth[1] = -1;// -1 = do nothing
93 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)
94 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)
95 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)
96 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
97 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
98 //----------------------------------------------------------------------------------------------------------------------
99 }

References m_Name.

◆ Init() [82/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftHandDrillKit.c.

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 }

References m_Name.

◆ Init() [83/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftImprovisedBag.c.

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 }

References m_Name.

◆ Init() [84/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftImprovisedLeatherBag.c.

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 }

References m_Name.

◆ Init() [85/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftLeatherCourierBag.c.

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 }

References m_Name.

◆ Init() [86/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftLeatherSack.c.

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 }

References m_Name.

◆ Init() [87/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftSnareTrap.c.

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 }

References m_Name.

◆ Init() [88/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftSpear.c.

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 }

References m_Name.

◆ Init() [89/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftSplint.c.

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 }

References m_Name.

◆ Init() [90/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftTripWire.c.

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 }

References m_Name.

◆ Init() [91/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftTruck01DoubleWheel.c.

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 }

References m_Name.

◆ Init() [92/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DeCraftWoodenCrate.c.

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 }

References m_Name.

◆ Init() [93/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DisinfectItem.c.

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 }

References m_Name.

◆ Init() [94/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file DrainLiquid.c.

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, "Vodka"); //you can insert multiple ingredients this way
32 InsertIngredient(0, "WaterPouch_ColorBase"); //you can insert multiple ingredients this way
33 InsertIngredient(0, "Barrel_ColorBase"); //you can insert multiple ingredients this way
34
35 m_IngredientAddHealth[0] = 0;// 0 = do nothing
36 m_IngredientSetHealth[0] = -1; // -1 = do nothing
37 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
38 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
39 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
40
41 //ingredient 2
42 InsertIngredient(1, "Pot"); //you can insert multiple ingredients this way
43 InsertIngredient(1, "CanisterGasoline"); //you can insert multiple ingredients this way
44 InsertIngredient(1, "Canteen"); //you can insert multiple ingredients this way
45 InsertIngredient(1, "WaterBottle"); //you can insert multiple ingredients this way
46 InsertIngredient(1, "Vodka"); //you can insert multiple ingredients this way
47 InsertIngredient(1, "WaterPouch_ColorBase"); //you can insert multiple ingredients this way
48 InsertIngredient(1, "Barrel_ColorBase"); //you can insert multiple ingredients this way
49
50 m_IngredientAddHealth[1] = 0;// 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_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
55 //----------------------------------------------------------------------------------------------------------------------
56
57 //result1
58 //AddResult("");//add results here
59
60 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
61 m_ResultSetQuantity[0] = -1;//-1 = do nothing
62 m_ResultSetHealth[0] = -1;//-1 = do nothing
63 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)
64 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)
65 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)
66 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
67 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
68 }

References m_Name.

◆ Init() [95/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file ExtinguishTorch.c.

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, "Vodka"); //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] = -100;// 0 = do nothing
49 m_IngredientDestroy[1] = false;// false = do nothing
50 m_IngredientUseSoftSkills[1] = true;// 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 }

References m_Name.

◆ Init() [96/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file FillGasMask_Filter.c.

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 }

References m_Name.

◆ Init() [97/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file FillSyringe.c.

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 }

References m_Name.

◆ Init() [98/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file FuelChainsaw.c.

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, "Vodka"); //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 }

References m_Name.

◆ Init() [99/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file LoadMagazine.c.

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 }

References m_Name.

◆ Init() [100/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file OpenCan.c.

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
85 m_IngredientAddHealth[1] = -0.5;// 0 = do nothing
86 m_IngredientSetHealth[1] = -1; // -1 = do nothing
87 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
88 m_IngredientDestroy[1] = false;// false = do nothing
89 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
90 //----------------------------------------------------------------------------------------------------------------------
91
92 //result1
93 //AddResult("");//add results here
94
95 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
96 m_ResultSetQuantity[0] = 0;//-1 = do nothing
97 m_ResultSetHealth[0] = -1;//-1 = do nothing
98 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)
99 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)
100 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)
101 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
102 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
103
104 //----------------------------------------------------------------------------------------------------------------------
105 }

References m_Name.

◆ Init() [101/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAK101.c.

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 }

References m_Name.

◆ Init() [102/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAK10130Mag.c.

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 }

References m_Name.

◆ Init() [103/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAK74.c.

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 }

References m_Name.

◆ Init() [104/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAK7430Mag.c.

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 }

References m_Name.

◆ Init() [105/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAK74HndgrdBlack.c.

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 }

References m_Name.

◆ Init() [106/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAK74HndgrdCamo.c.

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 }

References m_Name.

◆ Init() [107/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAK74WoodBttstckBlack.c.

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 }

References m_Name.

◆ Init() [108/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAK74WoodBttstckCamo.c.

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 }

References m_Name.

◆ Init() [109/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAKFoldingBttstck.c.

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 }

References m_Name.

◆ Init() [110/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAKMDrumMag.c.

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 }

References m_Name.

◆ Init() [111/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAKMPalm30Mag.c.

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 }

References m_Name.

◆ Init() [112/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAKPlasticBttstck.c.

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 }

References m_Name.

◆ Init() [113/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAKRailHndgrd.c.

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 }

References m_Name.

◆ Init() [114/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAKS74U.c.

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 }

References m_Name.

◆ Init() [115/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAKS74UBttstck.c.

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 }

References m_Name.

◆ Init() [116/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAKWoodBttstckBlack.c.

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 }

References m_Name.

◆ Init() [117/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintAKWoodBttstckCamo.c.

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 }

References m_Name.

◆ Init() [118/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintB95.c.

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 }

References m_Name.

◆ Init() [119/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintBallisticHelmet.c.

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 }

References m_Name.

◆ Init() [120/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintCMAG10.c.

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 }

References m_Name.

◆ Init() [121/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintCMAG20.c.

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 }

References m_Name.

◆ Init() [122/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintCMAG30.c.

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 }

References m_Name.

◆ Init() [123/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintCMAG40.c.

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 }

References m_Name.

◆ Init() [124/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintCz527.c.

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 }

References m_Name.

◆ Init() [125/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintCz527CamoBlack.c.

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 }

References m_Name.

◆ Init() [126/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintCz527CamoGreen.c.

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 }

References m_Name.

◆ Init() [127/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintDarkMotohelmet.c.

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 }

References m_Name.

◆ Init() [128/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintFirefighterAxe.c.

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 }

References m_Name.

◆ Init() [129/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieAttBlack.c.

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 }

References m_Name.

◆ Init() [130/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieAttGreen.c.

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 }

References m_Name.

◆ Init() [131/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieAttGreenMossy.c.

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 }

References m_Name.

◆ Init() [132/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieBushragBlack.c.

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 }

References m_Name.

◆ Init() [133/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieBushragGreen.c.

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 }

References m_Name.

◆ Init() [134/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieBushragGreenMossy.c.

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 }

References m_Name.

◆ Init() [135/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieHoodBlack.c.

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 }

References m_Name.

◆ Init() [136/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieHoodGreen.c.

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 }

References m_Name.

◆ Init() [137/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieHoodGreenMossy.c.

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 }

References m_Name.

◆ Init() [138/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieSuitBlack.c.

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 }

References m_Name.

◆ Init() [139/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieSuitGreen.c.

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 }

References m_Name.

◆ Init() [140/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieSuitGreenMossy.c.

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 }

References m_Name.

◆ Init() [141/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieTopBlack.c.

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 }

References m_Name.

◆ Init() [142/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieTopGreen.c.

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 }

References m_Name.

◆ Init() [143/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGhillieTopGreenMossy.c.

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 }

References m_Name.

◆ Init() [144/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGorkaHelmet.c.

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 }

References m_Name.

◆ Init() [145/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintGorkaHelmetComplete.c.

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 }

References m_Name.

◆ Init() [146/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintM4A1.c.

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 }

References m_Name.

◆ Init() [147/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintM4CQBBttstck.c.

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 }

References m_Name.

◆ Init() [148/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintM4MPBttstck.c.

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 }

References m_Name.

◆ Init() [149/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintM4MPHndgrd.c.

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 }

References m_Name.

◆ Init() [150/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintM4OEBttstck.c.

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 }

References m_Name.

◆ Init() [151/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintM4PlasticHndgrd.c.

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 }

References m_Name.

◆ Init() [152/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintM4RISHndgrd.c.

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 }

References m_Name.

◆ Init() [153/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintMosin.c.

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 }

References m_Name.

◆ Init() [154/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintMosinCamoBlack.c.

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 }

References m_Name.

◆ Init() [155/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintMosinCamoGreen.c.

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 }

References m_Name.

◆ Init() [156/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintMotohelmet.c.

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 }

References m_Name.

◆ Init() [157/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintRuger1022.c.

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 }

References m_Name.

◆ Init() [158/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintSawedoffMosin.c.

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 }

References m_Name.

◆ Init() [159/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintSawedoffMosinCamoBlack.c.

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 }

References m_Name.

◆ Init() [160/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintSawedoffMosinCamoGreen.c.

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 }

References m_Name.

◆ Init() [161/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintSKS.c.

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 }

References m_Name.

◆ Init() [162/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PaintZSh3PilotHelmet.c.

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 }

References m_Name.

◆ Init() [163/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PatchItem.c.

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 }

References m_Name.

◆ Init() [164/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PeelPotato.c.

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 }

References m_Name.

◆ Init() [165/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PokeHolesBarrel.c.

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 }

References m_Name.

◆ Init() [166/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PourLiquid.c.

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, "Vodka"); //you can insert multiple ingredients this way
32 InsertIngredient(0, "WaterPouch_ColorBase"); //you can insert multiple ingredients this way
33 InsertIngredient(0, "Barrel_ColorBase"); //you can insert multiple ingredients this way
34
35 m_IngredientAddHealth[0] = 0;// 0 = do nothing
36 m_IngredientSetHealth[0] = -1; // -1 = do nothing
37 m_IngredientAddQuantity[0] = 0;// 0 = do nothing
38 m_IngredientDestroy[0] = false;//true = destroy, false = do nothing
39 m_IngredientUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this ingredient
40
41 //ingredient 2
42 InsertIngredient(1, "Pot"); //you can insert multiple ingredients this way
43 InsertIngredient(1, "CanisterGasoline"); //you can insert multiple ingredients this way
44 InsertIngredient(1, "Canteen"); //you can insert multiple ingredients this way
45 InsertIngredient(1, "WaterBottle"); //you can insert multiple ingredients this way
46 InsertIngredient(1, "Vodka"); //you can insert multiple ingredients this way
47 InsertIngredient(1, "WaterPouch_ColorBase"); //you can insert multiple ingredients this way
48 InsertIngredient(1, "Barrel_ColorBase"); //you can insert multiple ingredients this way
49
50 m_IngredientAddHealth[1] = 0;// 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_IngredientUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this ingredient
55 //----------------------------------------------------------------------------------------------------------------------
56
57 //result1
58 //AddResult("");//add results here
59
60 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
61 m_ResultSetQuantity[0] = -1;//-1 = do nothing
62 m_ResultSetHealth[0] = -1;//-1 = do nothing
63 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)
64 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)
65 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)
66 m_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
67 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
68 }

References m_Name.

◆ Init() [167/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PrepareChicken.c.

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_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, "DeadChicken_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, "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, "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, "SKS_Bayonet");
57 InsertIngredient(1, "BoneKnife");
58 InsertIngredient(1, "Screwdriver");
59
60 m_IngredientAddHealth[1] = -12;// 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 AddResult("Bone");//add results here
68
69 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
70 m_ResultSetQuantity[0] = 2;// -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 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] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
77
78 //----------------------------------------------------------------------------------------------------------------------
79 }

References m_Name.

◆ Init() [168/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PrepareFish.c.

4 {
5
6 }

◆ Init() [169/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PrepareRabbit.c.

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_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, "DeadRabbit"); //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, "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, "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, "SKS_Bayonet");
57 InsertIngredient(1, "BoneKnife");
58 InsertIngredient(1, "Screwdriver");
59
60 m_IngredientAddHealth[1] = -12;// 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 //result3
68 AddResult("Bone");//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_ResultUseSoftSkills[0] = false;// set 'true' to allow modification of the values by softskills on this result
77 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
78
79 //result4
80 AddResult("RabbitPelt");//add results here
81
82 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
83 m_ResultSetQuantity[1] = -1;// -1 = do nothing
84 m_ResultSetHealth[1] = -1;// -1 = do nothing
85 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)
86 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)
87 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)
88 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
89 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
90
91 //----------------------------------------------------------------------------------------------------------------------
92 }

References m_Name.

◆ Init() [170/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file PurifyWater.c.

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, "Vodka"); //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 InsertIngredient(1, "Cauldron"); //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 }

References m_Name.

◆ Init() [171/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 5 of file RefuelTorch.c.

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 }

References m_Name.

◆ Init() [172/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file RepairElectric.c.

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 }

References m_Name.

◆ Init() [173/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file RepairEpoxy.c.

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 }

References m_Name.

◆ Init() [174/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file RepairEyePatch.c.

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 }

References m_Name.

◆ Init() [175/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file RepairPlanks.c.

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] = 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, "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 }

References m_Name.

◆ Init() [176/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file RepairWithPliers.c.

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 }

References m_Name.

◆ Init() [177/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file RepairWithRags.c.

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 }

References m_Name.

◆ Init() [178/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file RepairWithTape.c.

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 }

References m_Name.

◆ Init() [179/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SawoffB95.c.

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 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, "B95"); //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, "Hacksaw"); //you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = -20;// 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 /*
46 //result1
47
48 AddResult("SawedoffB95");//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] = 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)
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] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58
59 */
60 //----------------------------------------------------------------------------------------------------------------------
61 }

References m_Name.

◆ Init() [180/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SawoffFAMAS.c.

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 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, "FAMAS"); //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, "Hacksaw"); //you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = -20;// 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
46 //result1
47 /*
48 AddResult("SawedoffMosin9130");//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] = 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)
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] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58 */
59
60 //----------------------------------------------------------------------------------------------------------------------
61 }

References m_Name.

◆ Init() [181/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SawOffIzh18.c.

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 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, "Izh18"); //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, "Hacksaw"); //you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = -20;// 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
46 //result1
47 /*
48 AddResult("SawedoffIzh18");//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] = 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)
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] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58 */
59
60 //----------------------------------------------------------------------------------------------------------------------
61 }

References m_Name.

◆ Init() [182/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SawOffIzh18Shotgun.c.

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 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, "Izh18Shotgun"); //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, "Hacksaw"); //you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = -20;// 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
46 //result1
47 /*
48 AddResult("SawedoffIzh18");//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] = 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)
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] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58 */
59
60 //----------------------------------------------------------------------------------------------------------------------
61 }

References m_Name.

◆ Init() [183/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SawoffMagnum.c.

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 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, "Magnum"); //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, "Hacksaw"); //you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = -20;// 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
46 /*
47 //result1
48
49 AddResult("SawedoffMagnum");//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] = 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)
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] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
59
60
61 //----------------------------------------------------------------------------------------------------------------------
62 */
63 }

References m_Name.

◆ Init() [184/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SawoffMosin.c.

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 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, "Mosin9130"); //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, "Hacksaw"); //you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = -20;// 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
46 //result1
47 /*
48 AddResult("SawedoffMosin9130");//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] = 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)
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] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58 */
59
60 //----------------------------------------------------------------------------------------------------------------------
61 }

References m_Name.

◆ Init() [185/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SawoffMosinPainted.c.

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 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, "Mosin9130_Black"); //you can insert multiple ingredients this way
28 InsertIngredient(0, "Mosin9130_Green"); //you can insert multiple ingredients this way
29 InsertIngredient(0, "Mosin9130_Camo"); //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] = false;// set 'true' to allow modification of the values by softskills on this ingredient
36
37 //ingredient 2
38 InsertIngredient(1, "Hacksaw"); //you can insert multiple ingredients this way
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 /*
50 AddResult("SawedoffMosin9130_");//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] = 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)
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] = -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] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
60 */
61
62 //----------------------------------------------------------------------------------------------------------------------
63 }

References m_Name.

◆ Init() [186/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SawoffShotgunIzh43.c.

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 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, "Izh43Shotgun"); //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, "Hacksaw"); //you can insert multiple ingredients this way
37
38 m_IngredientAddHealth[1] = -20;// 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
46 //result1
47 /*
48 AddResult("SawedoffIzh43Shotgun");//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] = 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)
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] = 0;// value == -1 means do nothing; a value >= 0 means this result will transfer item propertiesvariables, attachments etc.. from an ingredient value
58 */
59
60 //----------------------------------------------------------------------------------------------------------------------
61 }

References m_Name.

◆ Init() [187/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SawWoodenLog.c.

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 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, "WoodenLog"); //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, "Hacksaw"); //you can insert multiple ingredients this way
37 InsertIngredient(1, "HandSaw"); //you can insert multiple ingredients this way
38 InsertIngredient(1, "WoodAxe"); //you can insert multiple ingredients this way
39 InsertIngredient(1, "Hatchet"); //you can insert multiple ingredients this way
40 InsertIngredient(1, "FirefighterAxe"); //you can insert multiple ingredients this way
41
42 m_IngredientAddHealth[1] = -10;// 0 = do nothing
43 m_IngredientSetHealth[1] = -1; // -1 = do nothing
44 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
45 m_IngredientDestroy[1] = false;// false = do nothing
46 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
47
48 //----------------------------------------------------------------------------------------------------------------------
49
50 //result1
51 AddResult("Firewood");//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] = 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)
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
62 //result2
63 AddResult("Firewood");//add results here
64
65 m_ResultSetFullQuantity[1] = false;//true = set full quantity, false = do nothing
66 m_ResultSetQuantity[1] = -1;//-1 = do nothing
67 m_ResultSetHealth[1] = -1;//-1 = do nothing
68 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)
69 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)
70 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)
71 m_ResultUseSoftSkills[1] = false;// set 'true' to allow modification of the values by softskills on this result
72 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
73
74 //result3
75 AddResult("Firewood");//add results here
76
77 m_ResultSetFullQuantity[2] = false;//true = set full quantity, false = do nothing
78 m_ResultSetQuantity[2] = -1;//-1 = do nothing
79 m_ResultSetHealth[2] = -1;//-1 = do nothing
80 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)
81 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)
82 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)
83 m_ResultUseSoftSkills[2] = false;// set 'true' to allow modification of the values by softskills on this result
84 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 //----------------------------------------------------------------------------------------------------------------------
85 }

References m_Name.

◆ Init() [188/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SharpenBroom.c.

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 }

References m_Name.

◆ Init() [189/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SharpenLongStick.c.

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 }

References m_Name.

◆ Init() [190/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SharpenMelee.c.

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 }

References m_Name.

◆ Init() [191/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SharpenStick.c.

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, "WoodenStick"); //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("Ammo_SharpStick");//single result
70
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 }

References m_Name.

◆ Init() [192/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SplitBroom.c.

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 }

References m_Name.

◆ Init() [193/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SplitFirewood.c.

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, "Firewood"); //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 InsertIngredientEx(1, "Hacksaw", "FirewoodSplit_Saw");
37 InsertIngredientEx(1, "HandSaw", "FirewoodSplit_Saw");
38 InsertIngredientEx(1, "Pickaxe", "FirewoodSplit_Axe");
39 InsertIngredientEx(1, "WoodAxe", "FirewoodSplit_Axe");
40 InsertIngredientEx(1, "Hatchet", "FirewoodSplit_Axe");
41 InsertIngredientEx(1, "FirefighterAxe", "FirewoodSplit_Axe");
42
43 m_IngredientAddHealth[1] = -4;// 0 = do nothing
44 m_IngredientSetHealth[1] = -1; // -1 = do nothing
45 m_IngredientAddQuantity[1] = 0;// 0 = do nothing
46 m_IngredientDestroy[1] = false;// false = do nothing
47 m_IngredientUseSoftSkills[1] = true;// set 'true' to allow modification of the values by softskills on this ingredient
48
49 //----------------------------------------------------------------------------------------------------------------------
50
51 //result1
52 AddResult("WoodenStick");//add results here
53
54 m_ResultSetFullQuantity[0] = false;//true = set full quantity, false = do nothing
55 m_ResultSetQuantity[0] = 3;//-1 = do nothing
56 m_ResultSetHealth[0] = -1;//-1 = do nothing
57 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)
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 //----------------------------------------------------------------------------------------------------------------------
65 }

References m_Name.

◆ Init() [194/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SplitLongWoodenStick.c.

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 }

References m_Name.

◆ Init() [195/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file SplitStones.c.

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 }

References m_Name.

◆ Init() [196/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file Test.c.

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 }

References InsertIngredient(), and m_Name.

◆ Init() [197/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file UpgradeTorchWithLard.c.

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 }

References m_Name.

◆ Init() [198/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file UpgradeTorchWithLiquidFuel.c.

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 }

References m_Name.

◆ Init() [199/199]

override void RecipeBase::Init ( )
inlineprivate

Definition at line 3 of file WriteLetter.c.

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 }

References m_Name.

◆ InsertIngredient()

void RecipeBase::InsertIngredient ( int index,
string ingredient )
inlineprivate

Definition at line 128 of file RecipeBase.c.

129 {
131 }

References InsertIngredientEx().

Referenced by CraftDrysackBag::Init(), CraftWitchHoodCoif::Init(), and Init().

◆ InsertIngredientEx()

void RecipeBase::InsertIngredientEx ( int index,
string ingredient,
string soundCategory )
inlineprivate

Definition at line 133 of file RecipeBase.c.

134 {
136 ptr.Insert(ingredient);
138 }

References m_Ingredients, and m_SoundCategories.

Referenced by InsertIngredient().

◆ IsInstaRecipe()

bool RecipeBase::IsInstaRecipe ( )
inlineprivate

Definition at line 166 of file RecipeBase.c.

167 {
168 return m_IsInstaRecipe;
169 }

References m_IsInstaRecipe.

◆ IsItemInRecipe()

bool RecipeBase::IsItemInRecipe ( string item)
inlineprivate

Definition at line 586 of file RecipeBase.c.

587 {
588 for (int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
589 {
591
592 for (int x = 0; x < ptr.Count(); x++)
593 {
594 if (ptr.Get(x) == item) return true;
595 }
596 }
597 return false;
598 }

References m_Ingredients, MAX_NUMBER_OF_INGREDIENTS, and x.

◆ IsRecipeAnywhere()

bool RecipeBase::IsRecipeAnywhere ( )
inlineprivate

Definition at line 84 of file RecipeBase.c.

85 {
87 }

References m_AnywhereInInventory.

Referenced by CheckRecipe().

◆ OnSelected() [1/2]

void RecipeBase::OnSelected ( ItemBase item1,
ItemBase item2,
PlayerBase player )
inlineprivate

Definition at line 487 of file RecipeBase.c.

488 {
489
490 }

◆ OnSelected() [2/2]

override void RecipeBase::OnSelected ( ItemBase item1,
ItemBase item2,
PlayerBase player )
inlineprivate

Definition at line 59 of file LoadMagazine.c.

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 RecipeBase::OnSelectedRecipe ( ItemBase item1,
ItemBase item2,
PlayerBase player )
inlineprivate

Definition at line 476 of file RecipeBase.c.

477 {
478 if (item1 == NULL || item2 == NULL)
479 {
480 Error("CheckRecipe: recipe invalid, at least one of the ingredients is NULL");
481 //Debug.Log("recipe invalid, at least one of the ingredients is NULL","recipes");
482 return;
483 }
485 }
ScriptConsoleEnfScriptTab ScriptConsoleTabBase OnSelected()

References Error(), and OnSelected().

◆ PerformRecipe()

void RecipeBase::PerformRecipe ( ItemBase item1,
ItemBase item2,
PlayerBase player )
inlineprivate

Definition at line 493 of file RecipeBase.c.

494 {
495 if (item1 == NULL || item2 == NULL)
496 {
497 Error("PerformRecipe: recipe invalid, at least one of the ingredients is NULL");
498 Debug.Log("PerformRecipe: at least one of the ingredients is NULL", "recipes");
499 }
500 /*
501 m_IngredientsSorted[0] = item1;
502 m_IngredientsSorted[1] = item2;
503 */
504
505 /*
506 Debug.Log("PerformRecipe Ingredient 1: "+ToString(item1.Ptr().GetType()),"recipes");
507 Debug.Log("PerformRecipe Ingredient 2: "+ToString(item2.Ptr().GetType()),"recipes");
508 */
510 {
513
516
518
520
521
523 }
524 else
525 Debug.Log("CheckRecipe failed on server", "recipes");
526 }
void SpawnItems(ItemBase ingredients[], PlayerBase player, array< ItemBase > spawned_objects)
Definition RecipeBase.c:173
void DeleleIngredientsPass()
Definition RecipeBase.c:324
void Do(ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
Definition RecipeBase.c:545
void ApplyModificationsIngredients(ItemBase sorted[], PlayerBase player)
Definition RecipeBase.c:335
void ApplySoftSkillsSpecialty(PlayerBase player)
Definition RecipeBase.c:528
void ApplyModificationsResults(ItemBase sorted[], array< ItemBase > results, ItemBase result, PlayerBase player)
Definition RecipeBase.c:231
bool CheckRecipe(ItemBase item1, ItemBase item2, PlayerBase player)
Definition RecipeBase.c:455

References ApplyModificationsIngredients(), ApplyModificationsResults(), ApplySoftSkillsSpecialty(), CheckRecipe(), DeleleIngredientsPass(), Do(), Error(), Debug::Log(), m_IngredientsSorted, m_Specialty, and SpawnItems().

◆ RemoveIngredient()

void RecipeBase::RemoveIngredient ( int index,
string ingredient )
inlineprivate

Definition at line 140 of file RecipeBase.c.

141 {
143 for (int i = 0; i < ptr.Count(); i++)
144 {
145 if (ptr[i] == ingredient)
146 {
147 ptr.Remove(i);
148 m_SoundCategories[index].Remove(i);
149 return;
150 }
151 }
152 }

References m_Ingredients, and m_SoundCategories.

◆ SetID()

void RecipeBase::SetID ( int id)
inlineprivate

Definition at line 556 of file RecipeBase.c.

557 {
558 m_ID = id;
559 }

References m_ID.

◆ SpawnItems()

void RecipeBase::SpawnItems ( ItemBase ingredients[],
PlayerBase player,
array< ItemBase > spawned_objects )
inlineprivate

Definition at line 173 of file RecipeBase.c.

174 {
175 //vector item_position = player.GetPosition() + ( player.GetDirection() * 1 );
176 //Debug.Log("SpawnItems called","recipes");
177 spawned_objects.Clear();//just to make sure
178 EntityAI object = NULL;
179
180 for (int i = 0; i < m_NumberOfResults; i++)
181 {
183
184 if (m_ResultInheritsColor[i] != -1)
185 {
187 //string class_name = item.GetType();
188 string color = item.ConfigGetString("color");
191 }
192
193 if (m_ResultToInventory[i] == -1)
194 {
195 Debug.Log(" = " + m_ResultToInventory[i].ToString(), "recipes");
196 /*
197 InventoryLocation inv_loc = new InventoryLocation;
198 if (player.GetInventory().FindFirstFreeLocationForNewEntity(item_to_spawn, FindInventoryLocationType.ANY, inv_loc))
199 {
200 object = SpawnItemOnLocation(item_to_spawn, inv_loc, false);
201 }
202 */
203 object = player.GetInventory().CreateInInventory(item_to_spawn);
204 }
205 else if (m_ResultToInventory[i] >= 0)
206 {
207 /*
208 object = player.SpawnEntityOnGroundOnCursorDir(item_to_spawn, 0.5);
209
210 ItemBase item_swap_with = ingredients[m_ResultToInventory[i]];
211 player.SwapEntities(true, item_swap_with, EntityAI.Cast(object));
212 */
213 }
214 else if (m_ResultToInventory[i] == -2)
215 object = player.GetInventory().CreateEntityInCargo(item_to_spawn);
216 if (!object)
217 {
218 //spawning in inventory failed, spawning on the ground instead.....
219 object = player.SpawnEntityOnGroundOnCursorDir(item_to_spawn, m_ResultSpawnDistance[i]);
220 if (!object)
221 Error("failed to spawn entity " + item_to_spawn + " , make sure the classname exists and item can be spawned");
222 }
223 spawned_objects.Insert(ItemBase.Cast(object));
224 //Debug.Log("spawning item "+item_to_spawn,"recipes");
225 object = null;
226 }
227
228 }

References Error(), Debug::Log(), m_ItemsToCreate, m_NumberOfResults, m_ResultInheritsColor, m_ResultSpawnDistance, m_ResultToInventory, and ToString().

Referenced by PerformRecipe().

◆ TransferItemsToNew()

void RecipeBase::TransferItemsToNew ( PlayerBase player,
ItemBase barrel_old,
ItemBase barrel_new )
inlineprivate

Definition at line 91 of file PokeHolesBarrel.c.

92 {
93 //TODO bugfix, only drops items now
95 //player.m_UpdateInventoryForced = true;
96 //player.SetSynchDirty();
97 }

Member Data Documentation

◆ m_AnimationLength

float RecipeBase::m_AnimationLength = 1
private

Definition at line 22 of file RecipeBase.c.

Referenced by GetLengthInSecs(), CraftDrysackBag::Init(), and CraftWitchHoodCoif::Init().

◆ m_AnywhereInInventory

bool RecipeBase::m_AnywhereInInventory
private

Definition at line 26 of file RecipeBase.c.

Referenced by IsRecipeAnywhere().

◆ m_ID

int RecipeBase::m_ID
private

Definition at line 20 of file RecipeBase.c.

Referenced by GetID(), and SetID().

◆ m_IngredientAddHealth

float RecipeBase::m_IngredientAddHealth[MAX_NUMBER_OF_INGREDIENTS]
private

◆ m_IngredientAddQuantity

float RecipeBase::m_IngredientAddQuantity[MAX_NUMBER_OF_INGREDIENTS]
private

◆ m_IngredientDestroy

bool RecipeBase::m_IngredientDestroy[MAX_NUMBER_OF_INGREDIENTS]
private

◆ m_Ingredients

◆ m_IngredientSetHealth

float RecipeBase::m_IngredientSetHealth[MAX_NUMBER_OF_INGREDIENTS]
private

◆ m_IngredientsSorted

ItemBase RecipeBase::m_IngredientsSorted[MAX_NUMBER_OF_INGREDIENTS]
private

Definition at line 12 of file RecipeBase.c.

Referenced by CheckIngredientMatch(), CheckRecipe(), PerformRecipe(), and RecipeBase().

◆ m_IngredientsToBeDeleted

ref array<ItemBase> RecipeBase::m_IngredientsToBeDeleted = new array<ItemBase>
private

Definition at line 17 of file RecipeBase.c.

Referenced by ApplyModificationsIngredients(), and DeleleIngredientsPass().

◆ m_IngredientUseSoftSkills

bool RecipeBase::m_IngredientUseSoftSkills[MAX_NUMBER_OF_INGREDIENTS]
private

◆ m_IsInstaRecipe

bool RecipeBase::m_IsInstaRecipe
private

Definition at line 24 of file RecipeBase.c.

Referenced by CraftDrysackBag::Init(), CraftWitchHoodCoif::Init(), and IsInstaRecipe().

◆ m_Items

ItemBase RecipeBase::m_Items[MAX_NUMBER_OF_INGREDIENTS]
private

Definition at line 10 of file RecipeBase.c.

Referenced by CheckIngredientMatch().

◆ m_ItemsToCreate

string RecipeBase::m_ItemsToCreate[MAXIMUM_RESULTS]
private

Definition at line 6 of file RecipeBase.c.

Referenced by AddResult(), and SpawnItems().

◆ m_MaxDamageIngredient

float RecipeBase::m_MaxDamageIngredient[MAX_NUMBER_OF_INGREDIENTS]
private

Definition at line 32 of file RecipeBase.c.

Referenced by CheckConditions(), CraftDrysackBag::Init(), and CraftWitchHoodCoif::Init().

◆ m_MaxQuantityIngredient

float RecipeBase::m_MaxQuantityIngredient[MAX_NUMBER_OF_INGREDIENTS]
private

Definition at line 30 of file RecipeBase.c.

Referenced by CheckConditions(), CraftDrysackBag::Init(), and CraftWitchHoodCoif::Init().

◆ m_MinDamageIngredient

float RecipeBase::m_MinDamageIngredient[MAX_NUMBER_OF_INGREDIENTS]
private

Definition at line 31 of file RecipeBase.c.

Referenced by CheckConditions(), CraftDrysackBag::Init(), and CraftWitchHoodCoif::Init().

◆ m_MinQuantityIngredient

float RecipeBase::m_MinQuantityIngredient[MAX_NUMBER_OF_INGREDIENTS]
private

Definition at line 29 of file RecipeBase.c.

Referenced by CheckConditions(), CraftDrysackBag::Init(), and CraftWitchHoodCoif::Init().

◆ m_Name

string RecipeBase::m_Name
private

Definition at line 18 of file RecipeBase.c.

Referenced by GetName(), CraftDrysackBag::Init(), CraftWitchHoodCoif::Init(), and RecipeBase().

◆ m_NumberOfResults

int RecipeBase::m_NumberOfResults
private

Definition at line 21 of file RecipeBase.c.

Referenced by AddResult(), ApplyModificationsResults(), RecipeBase(), and SpawnItems().

◆ m_PercentageUsed

float RecipeBase::m_PercentageUsed = 0.05
private

Definition at line 3 of file CraftTannedLeather.c.

◆ m_ResultInheritsColor

int RecipeBase::m_ResultInheritsColor[MAXIMUM_RESULTS]
private

Definition at line 47 of file RecipeBase.c.

Referenced by CraftDrysackBag::Init(), CraftWitchHoodCoif::Init(), and SpawnItems().

◆ m_ResultInheritsHealth

int RecipeBase::m_ResultInheritsHealth[MAXIMUM_RESULTS]
private

◆ m_ResultReplacesIngredient

int RecipeBase::m_ResultReplacesIngredient[MAXIMUM_RESULTS]
private

◆ m_ResultSetFullQuantity

bool RecipeBase::m_ResultSetFullQuantity[MAXIMUM_RESULTS]
private

◆ m_ResultSetHealth

float RecipeBase::m_ResultSetHealth[MAXIMUM_RESULTS]
private

◆ m_ResultSetQuantity

float RecipeBase::m_ResultSetQuantity[MAXIMUM_RESULTS]
private

◆ m_ResultSpawnDistance

float RecipeBase::m_ResultSpawnDistance[MAXIMUM_RESULTS]
private

Definition at line 44 of file RecipeBase.c.

Referenced by RecipeBase(), and SpawnItems().

◆ m_ResultToInventory

int RecipeBase::m_ResultToInventory[MAXIMUM_RESULTS]
private

Definition at line 45 of file RecipeBase.c.

Referenced by CraftDrysackBag::Init(), CraftWitchHoodCoif::Init(), and SpawnItems().

◆ m_ResultUseSoftSkills

bool RecipeBase::m_ResultUseSoftSkills[MAXIMUM_RESULTS]
private

◆ m_SoundCategories

ref array<string> RecipeBase::m_SoundCategories[MAX_NUMBER_OF_INGREDIENTS]
private

Definition at line 8 of file RecipeBase.c.

Referenced by GetSoundCategory(), InsertIngredientEx(), RecipeBase(), and RemoveIngredient().

◆ m_Specialty


The documentation for this class was generated from the following files: