I'm doing a load of stuff with fluids at the moment, and I'm stumped on what the following prototype properties mean - any one know the answers?
fluid_box.base_area - I assume this means 'capacity' and defaults to 1?
fluid_box.base_level - seen on entities that produce or consume fluid, my guess is that -1 = input, 1 = output but no idea what anything between those values would be...?
flow_length_in_ticks - seen on storage tanks and a few other places, I have no idea what "flow length" means.
Any help greatly appreciated
fluid questions...
- aubergine18
- Smart Inserter
- Posts: 1264
- Joined: Fri Jul 22, 2016 8:51 pm
- Contact:
fluid questions...
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
Re: fluid questions...
base area 1 = volume 10
if fluid tank base area 250 = 2.5k volume
normal iron pipe base area : 1 = volume : 10
I don't know it has Default
base level
level -1 = input / 1 = output
if fluid tank base area 250 = 2.5k volume
normal iron pipe base area : 1 = volume : 10
I don't know it has Default
base level
code example - oil refinery
level -1 = input / 1 = output