I'm trying to compute the storage capacity of fluid wagons. (I'd also like to do this for pumps and pipes.)
I saw some other posts on here with hackarounds via data.lua, I'm hoping for something more direct.
Access fluid-box via EntityPrototype
-
- Inserter
- Posts: 46
- Joined: Fri Aug 19, 2016 2:48 pm
- Contact:
Re: Access fluid-box via EntityPrototype
I've added LuaEntityPrototype::fluid_capacity read for the next version of 0.15.
If you want to get ahold of me I'm almost always on Discord.
-
- Inserter
- Posts: 46
- Joined: Fri Aug 19, 2016 2:48 pm
- Contact: