Page 1 of 1

Production statistics per surface

Posted: Wed May 26, 2021 6:47 pm
by DarkShadow44
TL;DR
Allow showing the (production) statistics per surface.

Not sure if the data is already in the game or if there's just the global data. If it already exists, this is only a UI feature.

What ?
Take the following window:
Screenshot_20210526_204013.png
Screenshot_20210526_204013.png (282.82 KiB) Viewed 4211 times
It would be nice to filter those statistics (mainly production, maybe fluids and others) per surface.
This would only show the production/consumption on this surface.
Why ?
There is a popular mod called Space Exploration which adds planets and inter planetary logistics. Those are implemented as surfaces.
It would be useful to see what a certain planet produces/consumes to further optimize the factory. Just global statistics don't show the full picture here.

Re: Production statistics per surface

Posted: Wed Jun 09, 2021 11:03 am
by Yenz
That would be so awesome to have in my last Space Exploration run! Really good suggestion.

Re: Production statistics per surface

Posted: Thu Jun 10, 2021 6:18 pm
by PanTobi
Yeee, i want it too !...

btw. where is my InfoPrint that allows You to select part of factory and see details like power usage, production, size etc.???

Factorio Devs are lazy AF xD

Re: Production statistics per surface

Posted: Fri Jun 18, 2021 10:59 pm
by NotRexButCaesar
PanTobi wrote:
Thu Jun 10, 2021 6:18 pm
btw. where is my InfoPrint that allows You to select part of factory and see details like power usage, production, size etc.???
There is: https://mods.factorio.com/mod/RateCalculator by Raiguard.
PanTobi wrote:
Thu Jun 10, 2021 6:18 pm
Factorio Devs are lazy AF xD
:?

Re: Production statistics per surface

Posted: Thu Oct 07, 2021 3:02 am
by blazespinnaker
+1

Re: Production statistics per surface

Posted: Fri Mar 11, 2022 4:25 am
by Vxsote
Playing my first SE run-through now; came here to make exactly this suggestion.

Re: Production statistics per surface

Posted: Fri Mar 11, 2022 6:42 am
by Pi-C
Not every surface is meant to be used by players. For example, miniMAXIme has surfaces for storing dummy and preview characters. So statistics should be turned off for surfaces without buildings, or mods should be able to exempt surfaces from the stats view.

Re: Production statistics per surface

Posted: Fri Mar 11, 2022 7:23 pm
by DarkShadow44
I'd probably make it opt-in.

Re: Production statistics per surface

Posted: Sun Mar 13, 2022 5:51 am
by ssilk
DarkShadow44 wrote:
Fri Mar 11, 2022 7:23 pm
I'd probably make it opt-in.
What? The surfaces? The statistics? That needs a bit more flesh :)

Re: Production statistics per surface

Posted: Sun Mar 13, 2022 8:45 am
by ickputzdirwech
ssilk wrote:
Sun Mar 13, 2022 5:51 am
DarkShadow44 wrote:
Fri Mar 11, 2022 7:23 pm
I'd probably make it opt-in.
What? The surfaces? The statistics? That needs a bit more flesh :)
I can think of two ways to approach this:

1. A parameter for surface creation so modders can tell the game whether they want a separate statistic or not. They could probably even take player input into account. Either by a setting or by asking for every surface creation. The disadvantage of this is that you probably couldn’t revise your decision later.

2. All surfaces have their own statistic. The statistic GUI has tabs for each of them and for all of them together. There is however an option to group some surfaces together. The tab list could then look something like this:

Planet 1 - Planet 2 - Planet 3 - Moons - Others - All

I would prefer the second option because it gives the player full control.

Re: Production statistics per surface

Posted: Sun Mar 13, 2022 10:55 am
by ssilk
With mods like Factorissimo you can have hundreds of surfaces (for every sub-factory).

So you need to tell on surface-creation which surface should be the surface, that “counts”.

Re: Production statistics per surface

Posted: Sun Mar 13, 2022 11:26 am
by ickputzdirwech
Yeah, didn’t consider Factorissimo. I was more thinking about SpaceExploration. So maybe a combination of both?

On surface creation the modder is able to define whether the statistics should be added to another surface (for things like Factorissimo) and in the statistics GUI the player can group multiple surfaces together (for things like SpaceExploration).

Re: Production statistics per surface

Posted: Sun Mar 13, 2022 3:45 pm
by Pi-C
Some flags might be useful, something like surface.from_mod (string) + surface.hide_from_statistics, surface.private (Boolean). The private flag would mean that it's meant for use by surface.from_mod only and other mods shouldn't mess with it, while the hide_from_statistics flag would tell the game to ignore the surface. As it is now, you must know the naming schemes used by other mods in order to tell if you can do stuff with a surface or should ignore it.

Re: Production statistics per surface

Posted: Sun Mar 13, 2022 7:45 pm
by DarkShadow44
ssilk wrote:
Sun Mar 13, 2022 5:51 am
DarkShadow44 wrote:
Fri Mar 11, 2022 7:23 pm
I'd probably make it opt-in.
What? The surfaces? The statistics? That needs a bit more flesh :)
Sorry, I meant like ickputzdirwech's option 1. Have a flag for the surface that modders can add that will add said surface into the statistics view.
For best results, I would probably allow the flag to be changed even after surface creation, so you could make a small mod that edits the shown surfaces.

Not sure you want to have all Factorissimo surfaces visible, maybe some sort of grouping would be needed...
Anyways, something like "current surface" would definitely be useful. So, no matter the surface you're on, you could see the statistics for exactly this one.