This mod alters existing pipes. You will need another mod to add new pipes.
What?
NPT allows pipes to only connect to pipes of the same material, including underground pipes! Pipe weaving is now possible!
Please report any bugs here or on github
Compatability
Should be compatible with most mods that adds unique pipes, if something breaks, let me know.
By default, NPT completely replaces the connection categories defined by other mods. If you wish to add compatibility on your own, you have a few options:
- Add the
prototype.npt_compat = {}
table to your prototype (pipe, pipe to ground, tank, crafting machine, etc) - Add
npt_compat.mod = "your-mod-name"
REQUIRED FOR SMOOTH COMPATABILITY - Add
npt_compat.ignore = true
if you don't want NPT to do anything to that entity - Add
npt_compat.tag = "custom-tag"
for NPT to make all entities with the same tag connect. For example,mod = "test-mod"
andtag = "foo"
means that any entities with thetest-mod
andfoo
tags will connect. This means that two different mods with the sametag
will not connect, so if you want them to connect,mod
andtag
must be the same. This is often easier and better than usingoverride
- Add
npt_compat.override = "custom-category"
to override what the connection_category is for all of the normal connections of that entity - Add
npt_compat.override_underground = "custom-category"
to override what the connection_category is for all of the underground connections of that entity
Known compatibility:
If you wish to add compatibility with a mod, talk to me on here or discord so we can sort it out.
History
This is a complete rebuild of the 1.1 version using connection_category, a new feature in the 2.0 modding API. Old versions used scripting and a ton of filler entities. The old code won't be useful... at least here :)
The old version is a revamp of Incompatible Pipes by sticklord. It was rebuilt from the ground up for 1.1.