I'm modding some upgraded electric-mining-drills for 0.15, and I thought an easy way to gate them initially is with specific levels of infinite technology "mining productivity", but the following code claims "mining-productivity-3 not found" when the mod is loaded at Factorio launch...
Code: Select all
table.insert(data.raw["technology"]["mining-productivity-3"].effects, {type = "unlock-recipe",recipe = "my-electric-drill-2"})
table.insert(data.raw["technology"]["mining-productivity-7"].effects, {type = "unlock-recipe",recipe = "my-electric-drill-3"})
Thanks.