-- if big-mining-drill exists, modify it. if data.raw.item["big-mining-drill"] then data.raw["mining-drill"]["big-mining-drill"].resource_searching_radius = 0.49 + settings.startup["some-big-mining-drill-size"].value data.raw["mining-drill"]["big-mining-drill"].mining_speed = settings.startup["some-big-mining-drill-speed"].value end