I'm trying to redefine receips of vanilla items by setting the new receip in a data.lua file. This works fine for some items, for others not.
Success example iron-gear-wheel
Code: Select all
data.raw.recipe["iron-gear-wheel"].expensive.ingredients =
{
{"iron-plate", 10},
{"copper-plate", 2}
}
Code: Select all
data.raw.recipe["steam-engine"].expensive.incredients =
{
{"iron-gear-wheel", 50},
{"pipe", 15},
{"iron-plate", 150}
}
Inside the game, in the creafting menu, both items are highlighted as modified by my mod. But only the receip for the iron gear wheel contains the new values.