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).

1 year, 8 months ago
0.17 - 1.1
615

g Wonderful mod, just what I want!

3 years ago

Wish I had known this sooner… how did I miss it?! ("Too many" mods, 's why)

Anyway, one small but after some (shallow-ish) investigation apparently (and sadly) unsolvable problem (for me, anyway) is that it appears you cannot make rails unbuildable on resources.

Which is something I'd like. :-(

I am thinking of a run with big miners (the bucket wheel excavators mod), but limited so they only mine what they cover, and only miners (no belts, no poles, nothing) allowed on ores. I can of course try to just obey these restrictions, but mod help is of course very welcome :D

3 years ago

I can add some "hardcore" option, see the code in the data-final-fixes.lua
What types of entities must be allowed? Biters? Vehicles? Walls?

The mod makes it automatically, so the disallow list:

local mustbemasked =
{
"container",
"furnace",
"boiler",
"generator",
-- "transport-belt",
-- "mining-drill",
-- "inserter",
-- "pipe",
-- "offshore-pump",
-- "electric-pole",
"radar",
-- "lamp",
-- "pipe-to-ground",
"assembling-machine",
"lab",
"wall",
-- "splitter",
-- "underground-belt",
-- "loader",
"ammo-turret",
-- "player-port",
"solar-panel",
"train-stop",
"rail-signal",
"rail-chain-signal",
"gate",
"land-mine", -- for Klonan's Teleporter
-- "logistic-robot",
-- "construction-robot",
"logistic-container",
"rocket-silo",
"roboport",
"accumulator",
"beacon",
"storage-tank",
"pump",
"arithmetic-combinator",
"decider-combinator",
"constant-combinator",
"power-switch",
"programmable-speaker",
"electric-energy-interface",
"reactor",
"heat-pipe",
"electric-turret",
"fluid-turret",
"artillery-turret"
}

New response