Don't build on ores


You can't build the factory on ores, you are need to remove it before. Compatible with all mods, works in multiplayer and costs no extra UPS. (added 'resource-layer' collision mask to some buildings).

15 days ago
0.17 - 2.1
696

Changelog

Version: 2.1.1
Date: 2026-08-25
  By:
    - darkfrei
  Bugfixes:
    - Update to Factorio 2.0 and 2.1, which reworked the collision masks. The mod called a removed function and could not be loaded at all.
    - Fixed that mod_exceptions did the opposite of what it promised: instead of leaving a prototype alone it forced the collision layer onto it, even when the prototype was on the blacklist.
  Changes:
    - Added the new prototype types of 2.0 that match the ones already covered: selector combinator, display panel, fusion reactor, fusion generator, lightning attractor, agricultural tower and cargo landing pad.
    - The helper function is no longer global, it cannot collide with other mods anymore.
    - The log lines are sorted, they no longer depend on the mod loading order.
    - Removed settings.lua, it contained only commented out code.
Version: 1.2.12
Date: 2022-06-02
  Bugfixes:
    - Updated code to better preserve default masks of some entities
Version: 1.2.11
Date: 2020-11-26
  Changes:
    - Update to 1.1
Version: 1.2.3
Date: 2020-09-26
  Changes:
    - Update to 1.0
    - Added exceptions for LTN compatibility
Version: 0.2.2
Date: 2020-05-20
  Changes:
    - Added support for entity Ship loading pump from the mod Cargo Ships
    - Added exceptions for all entities with entity.mod_exceptions = {["dont-build-on-ores"] = true}
Version: 0.2.1
Date: 2020-05-12
  Changes:
    - Added support for Klonan's Teleporter
Version: 0.2.0
Date: 2020-03-22
  Changes:
    - Port to 0.18
Version: 0.1.2
Date: 2019-07-17
  Changes:
    - fixed issue with offshore pumps
Version: 0.1.1
Date: 2019-06-30
  Changes:
    - added support for all mods, that adds their prototypes on data-updates; now the script will be started in the data-final-fixes
Version: 0.1.0
Date: 2019-06-29
  Changes:
    - port from version for [0.14] to [0.17]