Starbound

Starbound

30 ratings
Liquid Pressure Displays, Pump, and Drain
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.109 MB
2 Nov, 2022 @ 9:06am
16 Dec, 2022 @ 1:37am
12 Change Notes ( view )

Subscribe to download
Liquid Pressure Displays, Pump, and Drain

Description
Requires the following mods:

This mod does the following:
  • adds in 4 new items for liquid processing:
    • Liquid Pressure Gauge (`bardez_liquid_compression_sensor`), an analog needle-display gauge that graphically ticks a needle to indicate pressure of foreground liquid in front of the sensor. It wires output similar to power networks, and its metadata contains the amount of liquid detected, which can be connected to and emitted to the display.
    • Liquid Pressure Display (`bardez_liquid_compression_display`), a series of digital displays supporting digits up to 99,999 of the amount of liquid detected in the 1x1 block in front of a connected Liquid Pressure Gauge. This tells you how compressed a liquid in an area is!
        Comes in various display sizes:
        • 1x1, 1 digit (`bardez_liquid_compression_display_1x1`)
        • 1x2, 2 digits (`bardez_liquid_compression_display_1x2`)
        • 1x3, 3 digits (`bardez_liquid_compression_display`) NOTE: keeping item name same for backwards compatibility for old subscribers
        • 1x4, 4 digits (`bardez_liquid_compression_display_1x4`)
        • 1x5, 5 digits (`bardez_liquid_compression_display_1x5`)
    • Liquid Capturing Drain (`bardez_liquid_drain`), which is both a drain and a container. It is a wirable object compatible with item transfer networks, too! It will drain liquid in front of it when `on` and move that liquid into its container inventory.
    • Quantum Liquid Multiplier (`bardez_liquid_compressor`), a wirable object that when `on`, will take a pressurized liquid in front of it an emit it back out on the side, with a slight multiplier. While this potentially makes it a cheat item, it is balanced with existing Frackin' Universe items and crafting requirements, so it isn't too OP IMO. It is a neat alternative to the liquid drip mechanics of infinite X liquids in the base game.
  • Integrates with the Frackin' Universe research tree
    • Adds the Quantum Liquid Multiplier to the madness tree
    • Adds the rest to the electronics tree

Check out the pump in action:


Boring Stuff:
Source on GitHub[github.com]


Attributions: This mod utilizes the Item Transfer Network code from Frackin' Universe (FU), as well as a derivitive of FU's power sensor display (I think; this mod was scripted by me 2 years ago for personal use), all written by their various authors/respective contributors/etc.
6 Comments
Fayabella 24 Apr @ 12:17am 
Exactly! Very fun to play around with. I have accidentally flooded three entire space stations with various fluids to the point where they were several times more dense than a black hole per tile... and, before i installed this mod, i manually pressurized several hundred thousand units of beer and flooded a planet, which is why I wanted this mod (the pressure display would have been fun)
Bardez  [author] 15 Apr @ 6:29pm 
So Fracking removed the liquid drip infinite mixture cheat/bug. I loved that quirk, so I made these. I ended up splitting out functionality into madness thatbdoes the whacky stuff.

Practically, say you want an explosove pressure for whatever reason. It's fun, I dunno. These help measure that.

With my madness mod, there is a quantum bullshit gizmo that sucks in 1.0 liquid and spawns 1.001 in its place. But when you have 4 pressure, it spawns 4.004 or what have you. It creates a pressurized feedback loop that ends up multiplying your liquids.

Liquid iron? Infinite iron.

Or maybe you want a pressurized lava trap to screw around with, dunno. I use these in combo with the infinite generation to extract materials. But share for anyone to play around with however they choose.
Fayabella 21 Mar @ 12:05am 
Hold on, I have a question, if that's okay. I see you use world.liquidAt() to get how much fluid there is in a tile, but for me that function only returns a number between 0 and 1 representing fluid height... and that's what the starbound docs say as well. How exactly did you get yours to return the actual amount of fluid per tile? I've been stumped on this for hours (I'm trying to make pressurized fluids give players the appropriate FU extreme pressure debuffs.)
Fayabella 15 Mar @ 9:08pm 
sure it may not have a *practical* use but i genuinely love playing with fluids in starbound and compressing them to inconceivable levels and then accidentally flooding a friend's space station with coconut milk. i made a 20 digit display and also a version of the 5 wide display that doesnt have an upper limit (converts to scientific notation instead, can display any number the game can handle internally) and it was pretty fun. all in all i love this mod for allowing me to do awful awful things with starbound's fluid system and also flooding (and then draining) three seperate space stations on "accident"
EGC_Sheogorath 23 Mar, 2023 @ 10:13am 
I second kenanthebarbarian. I like the idea of new additions to a factory, base, and so forth. What application does this mod have?

Is it just thematic? Does it result in a superior bi-product or something?

I feel like Starbound can benefit from a Factorio-ish optional system.
kenanthebarbarian 16 Dec, 2022 @ 6:28am 
You're making some interesting additions for FU. I'm failing to envision the practical application of these tanks. What is the best way to use them?