The main code for this mod is simply:
Code: Select all
-- Adjust mining drills
print(data.raw["mining-drill"]["basic-mining-drill"].mining_speed)
data.raw["mining-drill"]["basic-mining-drill"].mining_speed = 0.05
data.raw["mining-drill"]["basic-mining-drill"].energy_usage = "9kW"
print(data.raw["mining-drill"]["burner-mining-drill"].mining_speed)
data.raw["mining-drill"]["burner-mining-drill"].mining_speed = 0.035
data.raw["mining-drill"]["burner-mining-drill"].energy_usage = "30kW"
FYI: here is the original thread in game balance: https://forums.factorio.com/forum/vie ... =16&t=8983