Configurable Custom Electric Mining Drill


Adds a custom Electric Mining Drill for which mining speed & area size + module slots can be configured. Energy use, pollution rate - and optionally recipe cost - scale with mining speed to preserve game balance. Non-cheaty option for simpler uranium mining. Support for custom ore categories. Partially based on the mod "Instant Mining Drill" by darkfrei.

Content
2 days ago
1.1
439
Mining Cheats

Changelog

Version: 0.6.4
Date: 2024-05-13
  Changes:
    - Simple uranium mining option: Compacted code related to graphics assets for Centrifuge pipe
      connections.
Version: 0.6.3
Date: 2024-05-12
  Changes:
    - Simple uranium mining option: Fixed visual glitches related to pipe connections for the
      Centrifuge. A small issue with the west connection remains (don't know what to do about it).
    - Improved some code, especially in relation to simple uranium mining.
    - Changed file structure, improved formatting.
Version: 0.6.2
Date: 2023-07-22
  Changes:
    - Fixed changelog to be readable in-game again.
Version: 0.6.1
Date: 2023-07-22
  Changes:
    - Resolved conflict with Industrial Revolution 3 by restructuring mod and changing some load 
      orders: Moved custom resource category code back to entity.lua, no longer using 
      data-final-fixes.lua. Tested and works with IR3 and SE separately.
Version: 0.6.0
Date: 2023-07-20
  Changes:
    - Upon request, added option to configure amount of module slots, since they don't break game
      balance in any way that I am concerned about. Set range to 0-20 (can actually go higher, but
      UI changes, adding a scrolling window).
    - Removed options to turn off custom colour and sound, in order to tidy up game settings.
      Mod conflicts seem unlikely anyway and the changes seem inoffensive. May add options back in
      if anyone complains about it.
    - Clarified description in settings.
Version: 0.5.1
Date: 2023-07-19
  Changes:
    - Improved checks on resource categories so the table remains unchanged, while non-applicable
      entries in the text-field are ignored without causing trouble.
    - Improved explanations in code.
    - Updated description in settings.
    - Tidied up.
Version: 0.5.0
Date: 2023-07-19
  Changes:
    - Upon request, created an option to manually type in the ID of custom resource categories that
      the mining drill should be able to mine (alongside "basic-solid"), in a comma-separated list.
      If the category doesn't exist, it will be created! (A temporary hack to avoid some weird mod 
      conflicts.)
    - Allowed greater values for some settings, for the sake of some mods.
  To-do:
    - Improve checks on input.
Version: 0.4.2
Date: 2023-07-18
  Changes:
    - Cleaned up some code, added code description and beautified layout.
    - Added lower bound of 0.01 to mining speed factor, just in case.
Version: 0.4.1
Date: 2023-07-12
  Changes:
    - Added my own username to MIT-license.
Version: 0.4.0
Date: 2023-07-12
  Changes:
    - Added option for faster (higher pitched) sound effect for custom mining drill.
    - Changed options for recipe cost scaling to better cover the spectrum of 1 to 0.
    - Improved some code for recipe cost scaling, function remains the same.
    - Changed locale description to be a bit more helpful. Fixed typos.
    - Updated item icon (improved color change method, very small change).
Version: 0.3.0
Date: 2023-07-10
  Changes:
    - Updated graphics. The Custom Electric Mining drill can now receive a nice orange colour to
      better differentiate it from its vanilla variant (well, a bit...). Carefully edited to only
      affect the right parts.
    - Added an option for enabling/disabling the custom colour.
    - Updated the thumbnail with said colour.
  Notes:
    - It took a lot of effort to change the hue of just the yellow parts, even with rough layer
      masking and adjustment of the yellow color spectrum. Writing the replacing code for it was
      tedious as well. Was it worth the effort? Not really! :-) But at least I learned from it.
Version: 0.2.1
Date: 2023-07-09
  Changes:
    - Updated thumbnail
Version: 0.2.0
Date: 2023-07-07
  Changes:
    - Took code from "Instant Mining Drill" v.1.1.1 by darkfrei pertaining to simple uranium
      mining and put it straight into this mod! Applied it to my own custom mining drill instead.
      Also added missing descriptions.
      This allows mining of uranium without sulfuric acid, moving the need to a later stage instead.
      Useful for avoiding uranium blocking the mining of other nearby resources.
    - Double-checked MIT-license. Everything seems to be in order.
    - Updated list of incompatible mods.
    - Updated description.
Version: 0.1.1
Date: 2023-07-06
  Changes:
    - Initial release.
    - Added a custom electric mining drill.
    - Added options to configure its base mining speed by a value and mining area size by a factor.
    - Added automatic scaling of its power consumption as well as pollution rate, to preserve
      game balance.
    - Added recipe which includes 1 Electric Mining Drill plus extra materials as ingredients.
    - Added several scaling options for recipe cost + crafting time according to mining speed.
    - Added an option to make the custom drill a direct upgrade to the electric drill.
    - Made a thumbnail.
    - Painstakingly modified colors of an icon and added it to the game. Green! Seems good enough.
  Notes:
    - Mod should generally not conflict with similar mods, since a separate entity was added
      rather than modifying an existing one. Aside from the upgrade option, settings and changes
      only apply to this entity.
  To-do:
    - Do some more testing and expand on the list of (in)compatible mods.
    - Maybe improve icon for the custom mining drill, making it more visually distinctive.
    - Maybe change graphics of custom mining drill (I don't wanna...).
    - Maybe add more functionality like ore filters (I must be out of my mind...)