Infinity chest prod/cons use their force's LuaFlowStatistics

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

quyxkh
Smart Inserter
Smart Inserter
Posts: 1031
Joined: Sun May 08, 2016 9:01 am
Contact:

Infinity chest prod/cons use their force's LuaFlowStatistics

Post by quyxkh »

Right now I'm iterating over inventories at longish intervals (to keep overhead down), to create/consume items and update a "benchmark" force's flow statistics, but it occurs to me that infinity chests could do this _much_ more efficiently.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14856
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Infinity chest prod/cons use their force's LuaFlowStatistics

Post by Rseding91 »

The chest is a creative/scenario item not meant for normal gameplay. It was never intended to effect production stats because it doesn't produce or consume anything - it spawns and deletes items.
If you want to get ahold of me I'm almost always on Discord.
quyxkh
Smart Inserter
Smart Inserter
Posts: 1031
Joined: Sun May 08, 2016 9:01 am
Contact:

Re: Infinity chest prod/cons use their force's LuaFlowStatistics

Post by quyxkh »

It's certainly your call, I'm happy with that, and promise not to continue past this: while I agree the infinity chests aren't for normal gameplay, that means if they're present the gameplay is therefore not normal, right? Besides just farting around, the main reason I test setups is to get performance metrics, how fast does the map run, how much gets delivered and where, do any bottlenecks show up when I leave it at game speed 128 overnight, whatever.

So it seems to me it'd never interfere with normal gameplay and in not-normal gameplay I've found my scripted version of it useful. But since I've got that working pretty well I knew going in this was going to be pretty low on your priority list at best.
Post Reply

Return to “Ideas and Suggestions”