Recipe change not put into effect
Posted: Sun Jun 10, 2018 1:49 pm
I'm trying to change vanilla recipes using data-final-fixes.lua but some of the recipes show up unchanged in game.
i've tried in data-updates.lua with the same result.
i cant see any pattern to why these recipes.
is there a common rookie mistake that could cause this?
if its something complex then i can work around by creating new recipes for them instead, itd be nice to understand the problem though.
heres some of the failing recipes:
and some of the changes that are working fine:
i've tried in data-updates.lua with the same result.
i cant see any pattern to why these recipes.
is there a common rookie mistake that could cause this?
if its something complex then i can work around by creating new recipes for them instead, itd be nice to understand the problem though.
heres some of the failing recipes:
Code: Select all
data.raw.recipe["express-transport-belt"].ingredients = {{"transport-belt",1},{"copper-plate",6},{type="fluid", name="lubricant", amount=5}}
data.raw.recipe["burner-mining-drill"].ingredients = {{"iron-gear-wheel",3},{"raw-wood",3}}
data.raw.recipe["electric-mining-drill"].ingredients = {{"burner-mining-drill",4},{"electronic-circuit",4}}
data.raw.recipe["assembling-machine-2"].ingredients = {{"assembling-machine-1",1},{"electronic-circuit",3},{"iron-gear-wheel",5}}
data.raw.recipe["steel-plate"].ingredients = {{type="fluid", name="crude-oil", amount=30},{"iron-ore",3}}
data.raw.recipe["steel-plate"].category = "crafting-with-fluid"
data.raw.recipe["sulfuric-acid"].ingredients = {{type="fluid", name="sugar-syrup", amount=10}}
data.raw.recipe["electronic-circuit"].ingredients = {{"copper-plate",1},{"iron-ore",1}}
data.raw.recipe["advanced-circuit"].ingredients = {{"electronic-circuit",1},{"repair-pack",1}}
Code: Select all
data.raw.recipe["fast-transport-belt"].ingredients = {{"transport-belt",2},{"copper-cable",7},{"express-transport-belt",1}}
data.raw.recipe["express-underground-belt"].ingredients = {{"fast-underground-belt",2},{"express-transport-belt",8},{"iron-gear-wheel",8}}
data.raw.recipe["express-underground-belt"].category = "crafting"
data.raw.recipe["pumpjack"].ingredients = {{"electronic-circuit",5},{"iron-gear-wheel",5},{"pipe",5},{"offshore-pump",1}}
data.raw.recipe["assembling-machine-1"].ingredients = {{"stone",10},{"raw-wood",2}}
data.raw.recipe["assembling-machine-3"].ingredients = {{"electronic-circuit",5},{"iron-gear-wheel",5},{"pipe",5},{"steel-plate",5}}
data.raw.recipe["engine-unit"].ingredients = {{"stone",1},{"iron-plate",1}}
data.raw.recipe["electric-engine-unit"].ingredients = {{"iron-ore",3},{type="fluid", name="crude-oil", amount=30},{type="fluid", name="lubricant", amount=10}}