[2.0.5] Recipe prototype example code uses "result"

Hornwitser
Fast Inserter
Fast Inserter
Posts: 214
Joined: Fri Oct 05, 2018 4:34 pm
Contact:

[2.0.5] Recipe prototype example code uses "result"

Post 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.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 3103
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

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

Post by boskid »

Thanks for the report. This is fixed for 2.0.6
Post Reply

Return to “Resolved Requests”