I have a mod idea and I don't know if it's possible.
(On the simplest terms) I want to add a valve item to pipes. The valve can close and open a pipe line.
Here's a practical example. Let's say I'm using a mod where a building can accept different energy fluids for its' operation. Let's say a Factory can accept either Oil or Gas for energy source. If I had a valve like that I could control the pipe network better and route whichever energy source I have more to the factory! This valve can basically act like a filtered splitter or filtered inserter but for the pipe networks.
Now, I tried to use pumps for that. And, indeed, it should work because when pump is on, it only allows liquid in one direction and it can be turned off from signal network. But it doesn't work in cases where I want to route two different liquids through the same pipe! (like in the picture)
So herein lies my question: if you have any experience with mods at all, do you know if it's possible? Maybe something even along the lines of "destroying" a pipe link and "rebuilding" it according to a switch?
I actually asked this on reddit /factorio sub and they couldn't answer so you're like my last hope before I might need to spend hours researching Factorio mod-making only to discover that it's not possible!
Few points to consider:
[*]I can already do it manually. I can route different liquids through same pipes by manually destroying and rebuilding pipe links. I just have to be sure that the pipe line I'm connecting to is completely empty from the previous liquid before I connect it. Which is fine because the mod can just not allow the valve to open if there's a chance of liquid contamination.
[*]Over at reddit they told me that by using bots it's already possible to connect two pipelines together even if they have different liquids. I don't know how much that helps but it might be worth sharing.
Again, I'm a good programmer and I can do everything myself (even graphics) I would just prefer to know if it's possible at all before I start getting into it. THANKS!!
Pipe Valve and Routing
Place to post guides, observations, things related to modding that are not mods themselves.
Return to “Modding discussion”
Jump to
- General
- ↳ Releases
- ↳ News
- ↳ General discussion
- ↳ Multiplayer
- ↳ Find Servers / Tools / Guides
- ↳ Show your Creations
- ↳ Videos
- ↳ Combinator Creations
- ↳ Mechanical Throughput Magic (circuit-free)
- ↳ Railway Setups
- ↳ Energy Production
- ↳ Medium/Big/Gigantic Sized Structures
- ↳ Fan Art
- ↳ Gameplay Help
- ↳ Spread the Word
- ↳ Off topic
- ↳ This Forum
- ↳ Celebration Party
- Support
- ↳ Gameplay Help
- ↳ Discover Factorio Wiki
- ↳ Discover Others Creations
- ↳ Discover Mods
- ↳ Discover Tools Around Factorio
- ↳ Technical Help
- ↳ Bug Reports
- ↳ Resolved for the next release
- ↳ Assigned
- ↳ Not a bug
- ↳ Pending
- ↳ 1 / 0 magic
- ↳ Duplicates
- ↳ Minor issues
- ↳ Desyncs with mods
- ↳ Won't fix.
- ↳ Resolved Problems and Bugs
- Factorio Direction
- ↳ Ideas and Suggestions
- ↳ Outdated/Not implemented
- ↳ Frequently Suggested / Link Collections
- ↳ Implemented Suggestions
- ↳ Implemented in 2.0
- ↳ Development Proposals
- ↳ Balancing
- Contributions
- ↳ Mods
- ↳ Download mods
- ↳ Mod portal Discussion
- ↳ Mods
- ↳ Mod Packs / Libs / Special Interest
- ↳ 5dim's mod
- ↳ Angels Mods
- ↳ Atomic Power
- ↳ Bob's mods
- ↳ DyWorld
- ↳ F.A.R.L
- ↳ Fentus Challenge & Tool Mods
- ↳ Logistic Train Network
- ↳ MoMods
- ↳ Reika's Mods
- ↳ Resource Spawner Overhaul
- ↳ Yuoki Industries
- ↳ PyMods
- ↳ Questions, reviews and ratings
- ↳ Modding Discussions
- ↳ Modding discussion
- ↳ Modding help
- ↳ Ideas and Requests For Mods
- ↳ Modding interface requests
- ↳ Implemented mod requests
- ↳ Already exists
- ↳ Won't implement
- ↳ Documentation Improvement Requests
- ↳ Resolved Requests
- ↳ Development tools
- ↳ Tools
- ↳ Mod and installation managers
- ↳ Cheatsheets / Calculators / Viewers
- ↳ Development tools
- ↳ Special interest mods and libraries
- ↳ Modding Development
- ↳ Multiplayer / Dedicated Server
- ↳ Multiplayer Board
- ↳ Archive
- ↳ Maps and Scenarios
- ↳ Translations
- ↳ Texture Packs
- ↳ Fan Art
- ↳ Wiki Talk
- ↳ To be sorted
- ↳ Campaign / Scenario suggestions