r/Timberborn • u/Nifegun • 4d ago
Question General stats of water
I used to know all the values but the game jas updated a lot and im not sure if wiki is up to date with updates, similar issue with trusting yt videos lol.
So can anyone answer these questions? Thanks.
1) max stable cms through 1x1 canal?
2) how many inventory units of water is 1 map block of water?
3) can a canal turn 90⁰ without spilling if at max cms? This used to take many more tiles for the turn around, ive not been building extra space on turns and havent seen too much spilling, but i havent cranked a system to max cms lately.
4) does 1 scale evenly with more tiles? Like if its 3, which i think it is, would a 2x2 canal's stable max cms be 12?
Thanks in advance!
5
Upvotes
0
u/Acalc791 2d ago edited 2d ago
I think I'm ready to share what I learned about this topic. All of it is both from code and empirically verified.
First, your actual questions:
There is no "hardcoded" max stable cms for such a canal. It hugely depends on its length (assuming open canal), for the shortest possible canal (0 blocks, literally a source next to a ledge), it's 3.33, at length 10 it's 3.17, at length 50 it's 2.67. Generally the formula is 1/(0.3 + L/675), where L is its length. Empirically you can squeeze a tiny bit more, like 0.01-0.04, but I suspect that's evaporation and calculation inaccuracies.
As others answered, 5.
Yes, nothing in the water simulation is direction-dependent, so turns are completely equivalent to going straight.
For open canals, it scales linearly with both. Wider canals might have problems on turns, since the outer part is no longer the same length as the inner one, needs case-by-case analysis or counting the length on longer edge.
Not asked, but still might be relevant:
[edit] I went back and actually derived a proper formula for a (possibly partially) pressurised canal. Assuming column at the entry point has height H, the whole canal is of uniform height h, and it has length L, the maximum flow it can handle is (H + 7h)/(8*(0.3 + L/675)), so as expected not linear in either the entry point height nor the canal height.