Hi!
I'm trying to see how much space is left in a storage-tank.
Is there a way to get the value of the fluid_box.base_area value set in the datas file.
Or is there a way to know the current capacity of a fluidbox? Seem like there is no way to get that information.
For an assembler I can check the recipe ingredient and multiply by two, but for the storage-tank there no recipe only the prototype.
Thanks
How to get storage-tank capacity?
-
- Filter Inserter
- Posts: 311
- Joined: Sat Jan 09, 2016 1:11 am
- Contact:
-
- Filter Inserter
- Posts: 311
- Joined: Sat Jan 09, 2016 1:11 am
- Contact:
Re: How to get storage-tank capacity?
I'm ok with the hack for now, king of just want it to work
Haven't really had any luck with interface requests anyway.
Thanks!
Haven't really had any luck with interface requests anyway.
Thanks!
-
- Filter Inserter
- Posts: 311
- Joined: Sat Jan 09, 2016 1:11 am
- Contact:
Re: How to get storage-tank capacity?
Oh I hadn't realyse just how hackish that thing is.. and that I needed to require the mod :\
-
- Filter Inserter
- Posts: 311
- Joined: Sat Jan 09, 2016 1:11 am
- Contact: