Page 1 of 1

New Mod to make life... ...different

Posted: Tue Feb 21, 2017 2:08 pm
by lamenters
Hello,

I love factorio but am a complete coding bolthead.

However, I wondered if someone could construct a mod for me, it's a very simple one.

That you may put only pumpjacks on oil and put only drilling machines on ores. That is to say, you may not put anything else on ore or oil patches; no belts, no electricity poles etc. All the things required to run pumpjacks and mining machines must be off ore.

That's it.

Thanks

Re: New Mod to make life... ...different

Posted: Tue Feb 21, 2017 4:03 pm
by darkfrei

Re: New Mod to make life... ...different

Posted: Wed Feb 22, 2017 11:17 am
by lamenters
Hi @darkfrei,

Thank-you for your suggestion but this is not quite what I am looking for.

That only allows you to build in certain areas, agreed, but I am just looking for a mod that prevents non mining equipment from being built on ore and oil patches.

Thanks

Re: New Mod to make life... ...different

Posted: Wed Feb 22, 2017 5:38 pm
by DedlySpyder
Just wondering, but why? Sounds like it would just make mining ore much more tedious because you could only mine around the edges

Re: New Mod to make life... ...different

Posted: Wed Feb 22, 2017 6:54 pm
by Yoyobuae
DedlySpyder wrote:Just wondering, but why? Sounds like it would just make mining ore much more tedious because you could only mine around the edges
Could fill cars, then drive them away. :D

Re: New Mod to make life... ...different

Posted: Wed Feb 22, 2017 9:33 pm
by darkfrei
Something like this?
Code

Re: New Mod to make life... ...different

Posted: Wed Feb 22, 2017 9:57 pm
by Strategic Sage
It seems to me that for this kind of thing it would be a lot easier to just not do it than to code it that way. I.e., if you don't want to be able to build anything on ore ... don't build it there :).

Re: New Mod to make life... ...different

Posted: Fri Feb 24, 2017 3:24 pm
by lamenters
BryanSw wrote:It seems to me that for this kind of thing it would be a lot easier to just not do it than to code it that way. I.e., if you don't want to be able to build anything on ore ... don't build it there :).
Yes, that is absolutely what you can do but it takes real discipline.

Why do it? Because if you have lots of large but low value ore patches, it makes base design an awful lot more complex.

EDIT: Spelling

Re: New Mod to make life... ...different

Posted: Fri Feb 24, 2017 5:17 pm
by darkfrei
lamenters wrote:
BryanSw wrote:It seems to me that for this kind of thing it would be a lot easier to just not do it than to code it that way. I.e., if you don't want to be able to build anything on ore ... don't build it there :).
Yes, that is absolutely what you can do but it takes real discipline.

Why do it? Because if you have lots of large but low value ore patches, it makes base design an awful lot more complex.

EDIT: Spelling
You can download the mod higher.

Re: New Mod to make life... ...different

Posted: Wed Apr 19, 2017 2:53 pm
by lamenters
The above mod looks fine. (My apologies for the late reply, a death in the family)

I shall try it out tonight and let you all know.

Does it work with bob's mods and angel's mods?

Looking at the code, I would think not but TBH, I know nothing about it.

Thanks

Re: New Mod to make life... ...different

Posted: Wed Apr 19, 2017 3:30 pm
by darkfrei
The code define types, not names of entities. It means, it must working​ with all mods, when here is no bug. Code was not enough tested and make backup before installing.

UPD: https://mods.factorio.com/mod/dont-build-on-ores