2 if data.raw.item["electric-mining-drill"] then
3 data.raw["mining-drill"]["electric-mining-drill"].resource_searching_radius = 0.49 + settings.startup["some-electric-mining-drill-size"].value
4 data.raw["mining-drill"]["electric-mining-drill"].mining_speed = settings.startup["some-electric-mining-drill-speed"].value
7 -- if big-mining-drill exists, modify it.
8 if data.raw.item["big-mining-drill"] then
9 data.raw["mining-drill"]["big-mining-drill"].resource_searching_radius = 0.49 + settings.startup["some-big-mining-drill-size"].value
10 data.raw["mining-drill"]["big-mining-drill"].mining_speed = settings.startup["some-big-mining-drill-speed"].value