Starbound

Starbound

193 ratings
bk3k Pipes flow
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.050 MB
16 Aug, 2016 @ 3:37am
2 Jan, 2018 @ 11:22am
2 Change Notes ( view )

Subscribe to download
bk3k Pipes flow

Description
With this simple mod, pipes don't block liquid flow. Sort of like you'd expect but with some limitations.
I'd rather they only took from the end of the pipe, but pipes are just blocks so I don't think there is a fancy way to implement as much. Keep blocks to the sides of the pipes, and it will look natural. Your plumbing just became easy. You could even make pressure push liquids up pipes if you need to move liquids up instead of down.

People have otherwise done this with objects, but that involves LUA scripting on one object to remove liquids one place, find another object connected to pipes etc, signal that other object to create liquids. Point is that's more CPU intensive than it needs to be when you can just do this instead.

And as an added benefit you can flood your tenants at will :P while no one can complain about their house being broken... because the pipes are actually blocks.

I changed this for both heavy pipe and sewer pipe. This should not conflict with anything. A person with their own mod pipes could EASILY do the same by replicating what I did.

Also note that with this mod, liquids will drain out the background if these pipes are that background layer. So it could be a "poor man's drain" without requiring you to leave a whole in your house etc... a fact you may especially enjoy for under-ocean bases. But if that isn't desirable, you may need to adjust your design accordingly.

I might note I have a block that does the opposite(blocks ONLY liquid flow) in my blocks and objects mod
http://cs2bus.com/sharedfiles/filedetails/?id=757860462
The block can also be painted to become completely invisible too. They won't block the passage of players/npcs/projectiles/etc, just liquids. So you could have pipes that seemingly aren't surrounded yet keep the liquid contained. That may be an illusion, but a functional illusion.


Check out my other mods too
http://cs2bus.com/id/bk3000/myworkshopfiles/?appid=211820&p=1&numperpage=30

For those that prefer to download from the official Starbound Forums
http://community.playstarbound.com/resources/authors/bk3k.395551/
66 Comments
MeeM Kade 4 Jul, 2022 @ 1:36pm 
where are these made
Reika 14 Jul, 2020 @ 1:00pm 
"Also note that with this mod, liquids will drain out the background if these pipes are that background layer. So it could be a "poor man's drain" without requiring you to leave a whole in your house etc... a fact you may especially enjoy for under-ocean bases"

Does that not also mean that pipe backgrounds below sea level will leak and flood the room?
bk3000  [author] 19 Jan, 2019 @ 5:02am 
Yes the pipe blocks will act like no block is there as far as liquids are concerned. But for everything else, there will still be a collision. So the player can still stand on pipes, can't walk through them, can't shoot through them, etc.
Boltte man 19 Jan, 2019 @ 1:03am 
ah, so what you've done is basically turn the pipe blocks into as if there were no background tiles there but of course another background tile behind that so the water doesn't just *disappear* into the nothingness so instead it just travels down the pipe blocks and to whatever it finishes at?
bk3000  [author] 18 Jan, 2019 @ 7:54pm 
Objects technically don't have collisions either. Although many items have collisions via adding metamaterial tiles. So they have the same limitations. But they can do things (with scripting) like destroying liquids from one spot, and spawning it in another. But that's more for a pump than a pipe.
Boltte man 18 Jan, 2019 @ 10:09am 
Oh...I'm an idiot then......I must have somehow missed that top part of the description....:steamfacepalm: hahahahaha ...

I see....what if you make the pipes not be tiles but like furniture where you just place it down? Maybe edit the pipes such that it's no longer perceived as a tile but as an interactable object? Would that change anything?
bk3000  [author] 18 Jan, 2019 @ 8:55am 
Ah that is answered at the top of the description.
>With this simple mod, pipes don't block liquid flow. Sort of like you'd expect but with some limitations.
>I'd rather they only took from the end of the pipe, but pipes are just blocks so I don't think there is a fancy way to implement as much. Keep blocks to the sides of the pipes, and it will look natural.

The engine itself doesn't let you set collisions on only part of a tile. The pipes are all or nothing.

I had thought about making a tool that you could click on the pipes, and it would put a custom block that is invisible, doesn't allow liquids to pass, and doesn't block anything else. It would determine where that block is needed. But as is, the mod isn't adding new assets and that has server implications.

If I add that, this mod would then be adding new assets including new blocks. I do have a block like that already in my "blocks and objects" mod. Very see-through normally and can be painted invisible.
Boltte man 17 Jan, 2019 @ 11:56pm 
I think I need to illustrate my question with a MS Paint drawing.....

https://i.postimg.cc/L6GW9yVJ/Untitled.png

The grey is the background tiles, yellow = solid blocks, blue = water, green = border of example, black are the pipe blocks
bk3000  [author] 17 Jan, 2019 @ 11:12am 
@Boltte
It won't teleport water, no. Assuming I understand the question properly.

The simple way to look at it is this - liquids will behave the same as though there is no block at all. But as for everything else, they will treat the pipes like blocks.

A draining effect occurs when there is no block in the background, right? The same thing will occur if that background tile is a pipe because liquids act like no block is there at all.
Boltte man 17 Jan, 2019 @ 8:08am 
so this will drain water even if the drain hole is blocked by another block? For example only have having water on top of the pipes bu the pipe openings themselves are blocked by a block or lead elsewhere not meant for the water that it's gone through?