How can this be accomplished?
I've tried a few things in both data.lua and prototypes/items.lua, but none seem to work.
(Though they did add a yellow label to the Iron ore's tooltip with my mod's name, not sure what's that about.)
Here's everything that I've tried:
Code: Select all
data.raw.resource["iron-ore"].autoplace.mining_speed = 1
data.raw.resource["iron-ore"].autoplace["mining-speed"] = 1]
data.raw.resource["iron-ore"].autoplace.speed = 1
data.raw.resource["iron-ore"].mining_speed= 1
data.raw.resource["iron-ore"]["mining-speed"] = 1
data.raw.resource["iron-ore"].speed = 1