Page 1 of 1

[2.0.5] Recipe prototype example code uses "result"

Posted: Fri Oct 18, 2024 12:24 pm
by Hornwitser
One of the example code for the RecipePrototype in the docs is

Code: Select all

{
  type = "recipe",
  name = "iron-plate",
  category = "smelting",
  energy_required = 3.5,
  ingredients = {{type = "item", name = "iron-ore", amount = 1}},
  result = "iron-plate"
}
However the result property has been removed so this does not work. The results property can probably be marked mandatory now, since the game doesn't load if the recipe has no results.

Re: [2.0.5] Recipe prototype example code uses "result"

Posted: Fri Oct 18, 2024 12:30 pm
by boskid
Thanks for the report. This is fixed for 2.0.6