Prospector

by Mylon

Adds prospecting to enrich ore patches. Extends the lifetime of ore patches with some investment, but comes with the drawback of making mining slower.

Content
10 months ago
0.14 - 1.1
3.05K
Mining

Changelog

Version: 1.0.32
Date: 2023-06-07
  Changes:
    - Added an exception to RP Warfare's slag turret's slag patches.
Version: 1.0.31
Date: 2020-12-19
  Changes:
    - Added support for Deadlock's Stacked mining.  Stacked ores deplete and can be upgraded.
  Bugfixes:
    - Fixed an error introduced causing depleted ores to not correctly transform into placeholders.
Version: 1.0.30
Date: 2020-12-18
  Bugfixes:
    - Fixed an error introduced in the last update preventing placeholders from upgrading.
Version: 1.0.29
Date: 2020-12-17
  Bugfixes:
    - Extra check for prospecting altered ores (specifically Stacked Mining)
Version: 1.0.28
Date: 2020-11-24
  Changes:
    - Updated for Factorio 1.1
Version: 1.0.27
Date: 2020-10-25
  Changes:
    - Refactored code to streamine extendability.  (Procedurally generated tiers soon?)
  Bugfixes:
    - Placeholder ores are now marked as not minable.  Certain mods, like AAI Vehicles: Miner, respect this flag to prevent mining.
    - Prospectors no longer delete oil in Krastorio2.
Version: 1.0.26
Date: 2020-08-21
  Changes:
    - Added compatability for Tiberium Dawn
Version: 1.0.25
Date: 2020-07-02
  Bugfixes:
    - Prospectors now ignore infinite resources.
Version: 1.0.24
Date: 2020-06-30
  Bugfixes:
    - Fixed a script error if a surface becomes invalid.
Version: 1.0.23
Date: 2020-06-11
  Bugfixes:
    - Fixed an error when upgrading resources.
Version: 1.0.22
Date: 2020-06-10
  Changes:
    - Removed dummy entity.  Visualization added directly to Prospector.
    - Prospector now shows working radius on mouseover instead of only during building.
    - Fixed Prospector-2's radius being slightly larger than the indicated range.
Version: 1.0.21
Date: 2020-05-26
  Changes:
    - Added script_raised_built for upgraded ores
    - Added script_raised_destroyed for upgraded ores
  Bugfixes:
    - Added an extra check to prevent upgrading non-upgradable ores.
Version: 1.0.20
Date: 2020-05-15
  Changes:
    - Adjusted tier 2 and tier 3 mining times to be multipliers on the existing mining time.  Prospecting modded ores no longer has the potential to make them mine faster!
Version: 1.0.19
Date: 2020-05-15
  Changes:
    - Increased cost of second tier of prospecting to 200 packs
    - Prospector 1 energy usage increased by 50%
    - Prospector 2 energy usage increased by 50%
    - Prospector 2 radius increased to 25 tiles.
    - Base ore amount changed from 50% to 66.7%.
    - Tier 2 ore amount changed from 100% (cumulative) to 133.3% (cumulative)
    - Tier 3 ore amount changed from 300% (cumulative) to 400% (cumulative)
Version: 1.0.18
Date: 2020.05.10
  Bugfixes:
    - Fixed incorrect icon sizes
Version: 1.0.17
Date: 2020.04.19
  Bugfixes:
    - Fixed an incompatabiity with Krastorio2
Version: 1.0.16
Date: 2020.04.19
  Bugfixes:
    - Fixed an incompatabiity with Krastorio2
Version: 1.0.15
Date: 2019.12.06
  Bugfixes:
    - Fixed a crash if ores didn't have an HR version specified
Version: 1.0.13
Date: 2019.11.26
  Bugfixes:
    - Fixed crash if ore wasn't spawned via normal means
    - Added support for script_raised ores.
Version: 1.0.12
Date: 2019.11.24
  Changes:
    - Added support for on_script_built (e.g. built by Bluebuild)
Version: 1.0.11
Date: 2019.10.09
  Changes:
    - Tweaked placeholder resources to be more clear how to upgrade them.
    - Reduced the amount by which non-prospected resources are nerfed.  Fully prospected ores now yield double resourced compared to vanilla ores, but this is offset by the need to prospect and slower mining times.
Version: 1.0.10
Date: 2019.09.29
  Bugfixes:
    - Fixed bug where a prospector mk 2 would cause an error when there was nothing left to prospect
    - Fixed bug where Prospect mk 1 would fail to start if only placeholder ores were in range.
    - Placeholder resources no longer block newly placed miners from mining.
Version: 1.0.9
Date: 2019.09.23
  Changes:
    - Deeper ores take more time to mine as intended.  +75% for tier 2 and +150% for tier 3.
  Bugfixes:
    - Prospector mk2 recipe had the wrong localization name.
Version: 1.0.8
Date: 2019.09.09
  Added:
    - Added support for Industrial Revolution
    - Prospector now shows valid prospecting radius when placing.
    - Prospector shows a warning icon when there's no valid ores in its radius to upgrade.
  Removed:
    - Tier 2 and tier 3 miners removed.  The original intent was to make veins and seams require higher powered miners but this is no longer possible with hardness removed.
Version: 1.0.7
Date: 2019.09.03
  Added:
    - Prospectors now generate an alert for the force when there's no longer any valid ore in their range.
  Bugfixes:
    - Went back to using old internal tracking for resource spawn amount as initial_amount was not what I thought it was.
    - Placeholder veins (future seams) waiting to be upgraded no longer can be mined.
Version: 1.0.6
Date: 2019.09.03
  Bugfixes:
    - Fixed a possible crash if a resource did not have an initial_amount (such as when created by script)
    - Prospectors now return the correct version when mined
Version: 1.0.5
Date: 2019.09.03
  Bugfixes:
    - Finite fluid resources could cause a crash when depleted
Version: 1.0.4
Date: 9. 3. 2019
  Changed:
    - Updated for 0.17
  Bugfixes:
    - Mining a prospector mk 2 no longer returns a prospector mk 1.
    - Ore now reads the initial_amount value and should be more future proof with other mods that modify ore like RSO.
Version: 1.0.3
Date: 8. 3. 2018
  Changed:
    - Adjusted the values of higher tier ores and mining drills.  Should make it possible to mine higher tier angelbob ores with the Mk 1 drill.
  Bugfixes:
    - When starting a new game or converting a save, very small ore amounts will no longer cause a crash to main menu.
Version: 1.0.2
Date: 28. 2. 2018
  Bugfixes:
    - Added tint to Prospector and Prospector mk 2 entities as intended.
Version: 1.0.1
Date: 16. 12. 2017
  Changed:
    - Updated for 0.16