flikme71us

Member
I'm putting in some new cooking recipes, I've got everything running but in game before I eat the recipe it doesnt say You have not learned this recipe when you go to the new recipes in the skillet, how can i fix this if somebody has the time to explain it,
 
#cooking recipes defined in DefCooking.cs

index = AddCraft(typeof(Hamburger), 1044498, 1125202, 45.0, 95.0, typeof(BreadLoaf), 1024155, 1, 1044253);
AddRes(index, typeof(RawRibs), 1044485, 1, 1044253);
AddRes(index, typeof(Lettuce), 1023184, 1, 1044253);
SetNeedHeat(index, true);
AddRecipe(index, (int)CookRecipes.Hamburger);

also recipes defined here at the top:
#region Recipes
public enum CookRecipes
{
// magical
RotWormStew = 500,
GingerbreadCookie = 599,

DarkChocolateNutcracker = 600,
MilkChocolateNutcracker = 601,
WhiteChocolateNutcracker = 602,

ThreeTieredCake = 603,
BlackrockStew = 604,
Hamburger = 605,
HotDog = 606,
Sausage = 607,

GrilledSerpentSteak = 608,
BBQDinoRibs = 609,
WakuChicken = 610
}
#endregion
 
Last edited:
Thanks RedBeard, I'll jump on in a bit and take another look at the script, I think I got the region recipe part right, but think I missed something on the top part you posted, tyvm
 
#cooking recipes defined in DefCooking.cs

index = AddCraft(typeof(Hamburger), 1044498, 1125202, 45.0, 95.0, typeof(BreadLoaf), 1024155, 1, 1044253);
AddRes(index, typeof(RawRibs), 1044485, 1, 1044253);
AddRes(index, typeof(Lettuce), 1023184, 1, 1044253);
SetNeedHeat(index, true);
AddRecipe(index, (int)CookRecipes.Hamburger);

also recipes defined here at the top:
#region Recipes
public enum CookRecipes
{
// magical
RotWormStew = 500,
GingerbreadCookie = 599,

DarkChocolateNutcracker = 600,
MilkChocolateNutcracker = 601,
WhiteChocolateNutcracker = 602,

ThreeTieredCake = 603,
BlackrockStew = 604,
Hamburger = 605,
HotDog = 606,
Sausage = 607,

GrilledSerpentSteak = 608,
BBQDinoRibs = 609,
WakuChicken = 610
}
#endregion
hmmmm not sure if i did this right but it's still not showing the you havnt learned this recipe,
 

Attachments

  • DefCooking.cs
    37.6 KB · Views: 3

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back