Access fluid-box via EntityPrototype

Post Reply
Theanderblast
Inserter
Inserter
Posts: 45
Joined: Fri Aug 19, 2016 2:48 pm
Contact:

Access fluid-box via EntityPrototype

Post by Theanderblast »

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.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13204
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Access fluid-box via EntityPrototype

Post by Rseding91 »

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.

Theanderblast
Inserter
Inserter
Posts: 45
Joined: Fri Aug 19, 2016 2:48 pm
Contact:

Re: Access fluid-box via EntityPrototype

Post by Theanderblast »

Thanks!

Post Reply

Return to “Implemented mod requests”