522 {
523 if (item1 == NULL || item2 == NULL)
524 {
525 Error(
"PerformRecipe: recipe invalid, at least one of the ingredients is NULL");
526 Debug.
Log(
"PerformRecipe: at least one of the ingredients is NULL",
"recipes");
527 }
528
530 {
533
536
538
540 }
541 else
542 {
543 Debug.
Log(
"CheckRecipe failed on server",
"recipes");
544 }
545 }
bool CheckRecipe(ItemBase item1, ItemBase item2, PlayerBase player)
void DeleleIngredientsPass()
void Do(ItemBase ingredients[], PlayerBase player, array< ItemBase > results, float specialty_weight)
void ApplyModificationsResults(ItemBase sorted[], array< ItemBase > results, ItemBase result, PlayerBase player)
void ApplyModificationsIngredients(ItemBase sorted[], PlayerBase player)
ItemBase m_IngredientsSorted[MAX_NUMBER_OF_INGREDIENTS]
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.
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
void Error(string err)
Messagebox with error message.