Mining Drill Resource Drain


Replace mining productivity with resource drain mechanism

Tweaks
9 hours ago
2.0
127
Owner:
Stargateur
Source:
https://github.com/StargateurFactorio...
Homepage:
N/A
License:
zlib
Created:
27 days ago
Latest Version:
0.14.0 (9 hours ago)
Factorio version:
2.0
Downloaded by:
127 users

Key Features

  • Add Mining Efficiency technology that reduce the ore consumed by all mining drills
  • 7 levels
  • Reaching the max level effectively multiplies ore yield by ×100
  • Each level improve efficiency by 2
  • Quality does not affect the resource drain percentage
  • Quality affect the speed of drills: speed = base_speed * (1 + (QualityLevel * 0.3)) (Default vanilla)
  • Quality affect energy usage energy = base_energy * (1 + (QualityLevel * 0.3)) (Default vanilla)
  • Quality affect mining radius
  • Quality affect module slot count up to 9 for legendary.
  • All Mining drills have a starting 100% resource drain

Gameplay Impact

  • Solves the issue where mining productivity makes output rate of drills insane
  • Mining drills must actually work - ore patches size matter
  • Makes extra oil mining outpost relevant in late game
  • Makes productivity modules in mining drills meaningful
    • Design proper beaconed mining setups
    • Productivity is multiplicative with resource drain. At max level and +100% productivity that would results in ×200 total ore. So legendary module + legendary big mining drill would give +225% prod that result in max x325 total ore. So max with this mod alone is equivalent to +32500% productivity.

Stats

Comparison cost between Mining Efficiency and Mining Production.

Mining Efficiency Level cumulative Mining Production Level cumulative
1 729 10 137 500
2 7 290 40 2 050 000
3 66 339 80 8 100 000
4 597 780 160 32 200 000
5 5 380 749 320 128 400 000
6 48 427 470 640 512 800 000
7 435 847 959 1000 1 251 250 000

It's less but I nerfed base mining drain of big mining drill and quality doesn't increase mining drain so I feel that normal it's cost less. I still need testing to see if I need to lower it again.

Technical Notes

  • Removes the vanilla Mining Productivity technology by default
  • UPS impact is almost zero
    • Only runs on research completion (O(n))
    • Or when an entity is built (O(1))
  • This version is close to what I want for 1.0.0, tested a bit.

Known issue

  • Special Mining drills are not hidden: https://forums.factorio.com/viewtopic.php?t=132058
    Also, if they were hidden you would not be able to use planner so... in the end while this annoyed me at first, this issue force me to have better idea for the mod, improving icons, localization text, help the user to understand what is what and so user can use planner upgrade way more easily. The noise of not hide mining drills is minimal.

Commands - Migration failure - All my drills have disappear HELP - I want to uninstall this mod

  • /mdrd_unresearch_all
    Useful to remove this mod
  • /mdrd_downgrade_all
    Useful to temporary remove this mod
  • /mdrd_upgrade_all
    To use after mdrd_downgrade_all
  • /mdrd_info

Mods Pairing

Links

Extra

  • Dev time used: 3 big days